Image title from the alttext/title field
-
NextGEN Gallery seems to take the image title from the description field. Can this be made an option as filling two fields with the same information is tedious? I found a “fix” on this site:
and validated that it works. The very first image in the gallery on the page I linked has only the first field (alttext/title) is filled and the image title properly shows. The rest of the images have both fields filled, just in case! To make this possible I changed the line 45 in the index.pho mentioned in the above site to:
title=”<?php echo esc_attr($image->alttext)?>”
However, I know this solution will disappear as the next update to NGG is rolled out. A permanent solution will be welcome in the form of a pair of radio buttons that will allow the user to pick which field to feed the mage title.
Thanks,
Cemal
The page I need help with: [log in to see the link]
- The topic ‘Image title from the alttext/title field’ is closed to new replies.