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

Adding File names below thumbnail and large images
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=311
Page 1 of 1

Author:  kevinpez [ 15. May 2006, 23:08 ]
Post subject:  Adding File names below thumbnail and large images

I simply would like to have the gallery display the file names below the images in both the thumbnails and the larges images. Is there a simply way of accomplishing that? My file names all have numbers in them so the use file name config variable doesn’t suit me. Plus I need them to appear in the thumbnails view as well.

Author:  TinyWebGallery [ 15. May 2006, 23:32 ]
Post subject: 

below the images on the big images is no problem - you can do this in the config.

you have:

$show_captions = true;
$autodetect_filenames_as_captions=true;
$autodetect_filenames_as_captions_number=3;

change 3 to e.g. 20 - then the filename is printed for sure.

Below th thumbnails - i's there as tooltip. To show it below the thumb you only have to modify the code a little bit because all data is already there!

inc/index.inc.php - printThumbnails it where you should look!

Have fun using TWG.
/Michael

Author:  TinyWebGallery [ 15. May 2006, 23:54 ]
Post subject: 

I just tested this local and included it in my build.

If you know that he filenames are shorter then the width of the thumbs it looks o.k. - but otherwise ... I think tooltip is enough ;).

I'll upload this with the next small release of 1.4.1 - but I don't know when it will be ready - I'll add some bonus features for registered users right now ;).

/Michael

Author:  kevinpez [ 24. May 2006, 22:53 ]
Post subject:  Text bellow thumbnails

I'm sorry editing that file it seems is way out of my league, If there is some way you could spell it out for me, or maybe provide me with the file that you used. If you can't, thank you I understand. you've made one heck of a web gallery it's the best I've see thus far and I think I've tried them all by now.

Author:  Guest [ 24. May 2006, 22:54 ]
Post subject: 

BTW my email is kevinpez@msn.com

Author:  TinyWebGallery [ 25. May 2006, 01:40 ]
Post subject: 

Hi,

I uploaded my lates version already-

check out $show_caption_on_thumbs

if you like if - please register .

Thanks,
Michael

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