• Resolved jmargel

    (@jmargel)


    I have about 1,000 images in about 150 galleries. All my images uploaded with the title, however the description is blank. When using the template=caption shortcode, it will only show if the description is filled in.

    Is there a way to set it so that it will display the Alt & Title Text instead of the description?

    https://wordpress.org/plugins/nextgen-gallery/

    [Moderator Note: No bumping. If it’s that urgent after waiting just 1 hour, please consider hiring someone instead.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jmargel

    (@jmargel)

    I solved it by running an update query. This is what I used: UPDATE wp_ngg_pictures SET description = alttext

    Plugin Contributor photocrati

    (@photocrati)

    @jmargel – Thanks for the update. I expect if this is the approach you want to continue with you will need to run that MySQL query after every upload of images. Another method to consider is to create your own custom template, based on the “caption” template and change the output from the description to the Alt & Title data instead.

    This example may be of help: https://cloudup.com/i49mJ4tAgGL

    Thanks, again!

    – Cais.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image Title and Caption’ is closed to new replies.