coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: lordprodigy on February 16, 2006, 09:06:12 PM

Title: modify alt text on thumbnails
Post by: lordprodigy on February 16, 2006, 09:06:12 PM
I know some mods for 1.3.2 but not sure if its the same for 1.4.x.. so how can I change the content of the alt text on thumbnails?

Currently when you let your mouse over a thumb, the alt text is:

- The file name
- The file size
- The dimensions
- The Date

And I would like to change it to:

- Category
- Album name
- File name
- Date

How can I do that?

Thanks a lot in advance!

Title: Re: modify alt text on thumbnails
Post by: Joachim Müller on February 17, 2006, 07:37:31 AM
the cpg1.3.x mods should apply, only the code has moved from displayimage.php to theme.php. If you don't have the code in your copy of theme.php, you'll have to copy the section over from the sample theme (as usual when modifying your theme).
Title: Re: modify alt text on thumbnails
Post by: lordprodigy on February 17, 2006, 05:20:11 PM
Thank you GauGau. To be honest with you, I am a little confused. Im not quite sure how to do it, so if you have some code to show me, would be very much appreciated. its not rush...

thanks a lot.
Title: Re: modify alt text on thumbnails
Post by: vesa49 on April 05, 2006, 01:25:13 PM
Is it posible to get alt text on thumbnails from textfile and if so, how to do it