Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 08:10

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: 16. Jan 2012, 15:45 
Offline

Joined: 16. Jan 2012, 15:25
Posts: 11
Hi Michael,

1st : Thanks for the great mail support.

2nd: I have some questions, maybe interesting for other users too.

I am installed TWG ver. 1.8.7 running on Apache server.

a.) Your forum search does not search for "image.txt" as "image" is removed from search string automatically, even though it is put into quotes.

b.) The data from "image.txt" is not shown in "INFO" tab and not shown below or nearby the image... regardless if in slideshow or detailview mode.

I have following lines in "my_config.php"
$image_file_is_multi = true;
$image_txt_position= 'bottom';

Than I made a folder with around 270 images and one videofile.
Now the first 2 lines in my image.txt are :

m4h0det2010_small.flv= Video "Hinter den Kulissen der Degustation" von Karin K.
picture-0001.jpg= © Uwe S.

But below the image there is only the filename displayed. (Btw. is there any option to not show the filename?)

I thought, the data from image.txt is put below each image?
If not, is there any way to do so, without reading the image's meta data from ITPC?

Thanks a lot.

BR
Gregor
http://www.euro-ducks.de

_________________
Euro-Ducks Frankfurt, der Rhein-Main Entenstammtisch
www.euro-ducks.de


Top
 Profile  
 
PostPosted: 16. Jan 2012, 16:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

a) you maybe should post this at the phpbb forum as feature request ;).

b) Please read http://www.tinywebgallery.com/de/faq.php#h51 to understand which different type of captions do exist (image.txt is no real caption! it is additional info to an image and can be displayed additional to the caption).

Best, Michael


Top
 Profile  
 
PostPosted: 16. Jan 2012, 19:55 
Offline

Joined: 16. Jan 2012, 15:25
Posts: 11
Hi Michael.
LOL.
I thought the search filter is configured by yourself....

Okay I will check howto51...and come back to you if not satisfied.
Thanks.
Cheers
Gregor

_________________
Euro-Ducks Frankfurt, der Rhein-Main Entenstammtisch
www.euro-ducks.de


Top
 Profile  
 
PostPosted: 16. Jan 2012, 22:39 
Offline

Joined: 16. Jan 2012, 15:25
Posts: 11
Okay, I went through howto51 and it seems the most convenient way to have image captions is using the image's filename.

But than I may not add detailed data, like given in my example before. :(
If understood it right, the data from "image.txt" is used in addition to the captions, but why is is not visible in my gallery?
Did I miss some setting?

_________________
Euro-Ducks Frankfurt, der Rhein-Main Entenstammtisch
www.euro-ducks.de


Top
 Profile  
 
PostPosted: 16. Jan 2012, 23:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I actually use IPTC most of the time because this can be easily added by tools and extracted by TWG. But captions from filenames are fine as well.

For image.txt as property file you can download my example from the demo (USA) to get a working example.
Data from image.txt is only not shown at the slideshow and should be shown like in the demo.

Best, Michael


Top
 Profile  
 
PostPosted: 18. Jan 2012, 01:25 
Offline

Joined: 16. Jan 2012, 15:25
Posts: 11
Okay.
I got your point...
I will try it for some galleries.

Is there any way to disable the display of filename as caption?
As most of the images have "crypted" filenames...which shouldn't be visible for visitors.
Or to make it more detailed...
How can I disable the caption from filename function for certain galleries?

Thanks.

BTW:. did you receive the translation of how2#38? I sent it via different mail address..just in case you wondered who sent it... :wink:

_________________
Euro-Ducks Frankfurt, der Rhein-Main Entenstammtisch
www.euro-ducks.de


Top
 Profile  
 
PostPosted: 18. Jan 2012, 10:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you can simply disable the caption. It's a configuration option. There are also some more options e.g. that the caption is not shown if it contains more than x numbers...

Yes I got the translation. Many thanks for this. I will add this to the FAQ on the weekend.

Best,
Michael


Top
 Profile  
 
PostPosted: 18. Jan 2012, 14:09 
Offline

Joined: 16. Jan 2012, 15:25
Posts: 11
Yes, I can set the $autodetect_filenames_as_captions=false; ... but this is global setting in my config...
My questions was, if it's possible to enable "filenames_as_captions" for some folders only.
(I wrote galleries before, but correct would be folders)
e.g.
/pictures/imagefolder1/ : captions = yes
/pictures/imagefolder2/ : captions = no

Or do I need to activate the autodetection and set the $autodetect_filenames_as_captions_number=4; add than e.g. 5 numbers to filenames which shouldn't be shown?...

hmm. maybe that is the way to handle it... but it need to be 5 connected numbers?

_________________
Euro-Ducks Frankfurt, der Rhein-Main Entenstammtisch
www.euro-ducks.de


Top
 Profile  
 
PostPosted: 18. Jan 2012, 14:28 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you can have a custom config.php in each folder. See the summary howto.

- Michael


Top
 Profile  
 
PostPosted: 18. Jan 2012, 15:40 
Offline

Joined: 16. Jan 2012, 15:25
Posts: 11
"Wer lesen kann - is klar im Vorteil" :)

Thanks.

Different question:
The bottom.htm should be shown below the images, as shown in your scheme http://www.tinywebgallery.com/de/faq.php#h3
But in my case its shown at the position of footer.htm...

Maybe the spelling is not correct? Because in your how2#3 you write "bootom.htm" twice (inside the description table).

_________________
Euro-Ducks Frankfurt, der Rhein-Main Entenstammtisch
www.euro-ducks.de


Top
 Profile  
 
PostPosted: 18. Jan 2012, 15:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The spelling is wrong. Semms the translator has a type here and I did not correkt it.

do you have a left.htm or right.htm?

Because if not is looks really the same.

- Michael


Top
 Profile  
 
PostPosted: 19. Jan 2012, 16:16 
Offline

Joined: 16. Jan 2012, 15:25
Posts: 11
Just a short follow-up question related to the config.php I can put in a image folder...

I just need to write down the values which are different from the config.php and my_config.php in main folder?
e.g.
Code:
<?php
$enable_maximized_view=false;
$autodetect_filenames_as_captions= true;
$remove_x_chars_from_filename=2;
$autodetect_filenames_as_captions_number='3';
?>


And one more:
Is it possible to have maximized view to know the image size (in unregistered version), as some smaller images in fullscreen view are really ugly...
Or is it necessary to register TWG to use the lightbox feature which is able to do so...
I already use "prettyPhoto", which uses the lighbox technology, in some parts of our site... would it be possible to use this instead of your lighbox feature?

_________________
Euro-Ducks Frankfurt, der Rhein-Main Entenstammtisch
www.euro-ducks.de


Top
 Profile  
 
PostPosted: 19. Jan 2012, 16:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
yes.

About maximized view. Currently small images are resized no matter what.
In 1.9 I have on my todo list that you can specify a max factor.

Or use the lightbox. Using a different Lighbox is a lot of work because it is fully integrated and register TWG is for sure the easier task ;).

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy