Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

help for understanding the image caption feature
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3212
Page 1 of 1

Author:  Euroduck [ 16. Jan 2012, 15:45 ]
Post subject:  help for understanding the image caption feature

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

Author:  TinyWebGallery [ 16. Jan 2012, 16:31 ]
Post subject:  Re: help for understanding the image caption feature

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

Author:  Euroduck [ 16. Jan 2012, 19:55 ]
Post subject:  Re: help for understanding the image caption feature

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

Author:  Euroduck [ 16. Jan 2012, 22:39 ]
Post subject:  Re: help for understanding the image caption feature

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?

Author:  TinyWebGallery [ 16. Jan 2012, 23:09 ]
Post subject:  Re: help for understanding the image caption feature

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

Author:  Euroduck [ 18. Jan 2012, 01:25 ]
Post subject:  Re: help for understanding the image caption feature

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:

Author:  TinyWebGallery [ 18. Jan 2012, 10:56 ]
Post subject:  Re: help for understanding the image caption feature

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

Author:  Euroduck [ 18. Jan 2012, 14:09 ]
Post subject:  Re: help for understanding the image caption feature

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?

Author:  TinyWebGallery [ 18. Jan 2012, 14:28 ]
Post subject:  Re: help for understanding the image caption feature

you can have a custom config.php in each folder. See the summary howto.

- Michael

Author:  Euroduck [ 18. Jan 2012, 15:40 ]
Post subject:  Re: help for understanding the image caption feature

"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).

Author:  TinyWebGallery [ 18. Jan 2012, 15:49 ]
Post subject:  Re: help for understanding the image caption feature

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

Author:  Euroduck [ 19. Jan 2012, 16:16 ]
Post subject:  Re: help for understanding the image caption feature

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?

Author:  TinyWebGallery [ 19. Jan 2012, 16:39 ]
Post subject:  Re: help for understanding the image caption feature

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

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/