I think, though I'm not 100% sure (I'd have to dig around searching old forum posts)
/modules/core/classes/GalleryTemplate.class
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Can you post a link to a page on your site where you want this change made?
So you just want to append the word Pictures to the existing alt tag?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Hope you understand my mind (sorry for my English)
Thank you!
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2009-09-11 17:26
Edit photo.tpl and add the stuff in bold. It's best to make a local directory and copy photo.tpl into that and make the changes on that file. If you ever upgrade or reinstall your changes will be overwritten if you don't do that.
Posts: 16504
I think, though I'm not 100% sure (I'd have to dig around searching old forum posts)
/modules/core/classes/GalleryTemplate.class
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
I checked and don't see that form.
Posts: 16504
Ah, dug up this old thread:
http://gallery.menalto.com/node/36533
http://sourceforge.net/tracker/index.php?func=detail&aid=1198718&group_id=7130&atid=357130
Forgot you can edit the templates for this, you probably just want to edit /themes/YourTheme/templates/album.tpl and photo.tpl
http://codex.gallery2.org/Gallery2:Editing_Templates
If you wanted to make other changes to that globally, you'd edit: /modules/core/classes/GalleryPhotoItem.class and
GalleryDerivativeImage.class
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
I'm sorry, but I'm newbie.
Can you tell me how to edit from:
I want this for images on photo pages only.
Thank you!
Posts: 16504
Can you post a link to a page on your site where you want this change made?
So you just want to append the word Pictures to the existing alt tag?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
http://www.car-pictures.us/audi/r8/Audi_R8_V10_5_2_FSI_quattro_01.jpg.html
View source you will see:
I want to change to:
... not only for this image.
Hope you understand my mind (sorry for my English)
Thank you!
Posts: 16504
Edit photo.tpl and add the stuff in bold. It's best to make a local directory and copy photo.tpl into that and make the changes on that file. If you ever upgrade or reinstall your changes will be overwritten if you don't do that.
http://codex.gallery2.org/Gallery2:Editing_Templates
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 421
Thank nivekiam,
I changed success
Many thanks!