• Resolved ACEkin

    (@acekin)


    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:

    https://goo.gl/sN6Sd7

    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]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ACEkin

    (@acekin)

    Now that I’m thinking of it, it may be a welcome addition of the alttext and description fields can be concatenated with a special separator the user picks. So, my suggestion is to add a section in the settings that will allow the users to pick:

    1. The alttext or description content to use as the image title (at least this one)
    2. Option to concatenate the above with a separator like “-” or “|” (optional and nice)

    Cemal

    Plugin Contributor Imagely

    (@imagely)

    @acekin – Although a good possibility for a future update we generally leave these changes to the displays as something accomplished fairly easily with a custom template for the display type in question.

    The ideas being described in the linked article would be well suited as a custom Basic Thumbnails template which can easily survive future updates.

    Thanks!

    – Cais.

    Thread Starter ACEkin

    (@acekin)

    Thanks, Cais. Will a custom template handle how the title is shown when it was displayed in a lightbox? If it does, I would like a pointer to how to design a custom template.

    Cemal

    Plugin Contributor Imagely

    (@imagely)

    @acekin – Based on the link you provided regarding changing the output and the following article about creating custom templates (although written for Pro templates the premises are the same for Basic templates): https://www.imagely.com/docs/pro-gallery-templates/

    I believe you will be able to accomplish what you are looking for.

    Thanks!

    – Cais.

    Thread Starter ACEkin

    (@acekin)

    Thank you, I will look into it.

    Cemal

    Plugin Contributor Imagely

    (@imagely)

    @acekin – You’re welcome.

    – Cais.

    Thread Starter ACEkin

    (@acekin)

    Cais, truth be told, the changes are beyond my pay grade! I still think it is more elegant to solve these parametrically, it is not a style issue at all. That said, as a user, a long time user of NextGEN Gallery free version, I cannot complain much. Just give my honest feedback.

    Cemal

    Plugin Contributor Imagely

    (@imagely)

    @acekin – We always appreciate your input and feedback.

    – Cais.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Image title from the alttext/title field’ is closed to new replies.