Display image title in the Lightbox pop-up

This topic has 14 replies, 3 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp

  • Avatar: devodrome
    devodrome
    Participant
    March 11, 2015 at 17:48

    Hello,

    I noticed that neither the alt text nor the image title is displayed in the Lightbox gallery thumbnails and pop-up (even though all the gallery images have the fields Title, Caption, Alt text and Description filled out).

    Displaying the image title/caption on the gallery thumbnails and pop-up image is very useful because it gives the user a quick and important information regarding the currently displayed image.

    Thanks,
    Victor

    Please, contact administrator
    for this information.
    13 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 12, 2015 at 17:19

    Hello,

    We’ll fix it in our future update. Meanwhile you can resolve it in the file idstore/woocommerce/single-product/product-image.php, find the line 37 and after the code src="<?php echo etheme_get_image( $imgId, $mainWidth, $mainHeight, $crop ) ?>" add this line alt="<?php echo get_post_meta($imgId, '_wp_attachment_image_alt', true)?>"

    Please take our apologies for inconveniences.

    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 12, 2015 at 17:56

    Hello Eva,

    The original line 37 from idstore/woocommerce/single-product/product-image.php is the following:

    <img class="attachment-shop_single wp-post-image" src="<?php echo etheme_get_image( $imgId, $mainWidth, $mainHeight, $crop ) ?>" alt="<?php the_title(); ?>" />

    and I changed it to:

    <img class="attachment-shop_single wp-post-image" src="<?php echo etheme_get_image( $imgId, $mainWidth, $mainHeight, $crop ) ?>" alt="<?php echo get_post_meta($imgId, '_wp_attachment_image_alt', true)?>" />

    but I did not notice any difference in the front-end: the tooltips of the image gallery thumbnails are still missing, and neither the title/caption is displayed in the image pop-up.

    Could you please check the modified file on our website, and let me know if I patched the code correctly? Also check the product page for the front-end changes (see the url in the private section).

    Thanks,
    Victor

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    March 12, 2015 at 18:12

    Hello,

    Please provide us with FTP credentials.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 12, 2015 at 18:24

    Here they are:

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    March 17, 2015 at 13:38

    Hello,

    Sorry for a delay, but we can’t connect to FTP account with the credentials you provided.
    Please check them.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 17, 2015 at 15:58

    Hello Eva,

    Rest assured that I tested the FTP credentials before posting them here. Also, I have just tried to connect with the credentials I gave you, and it connects OK.

    Do you use FileZilla?

    Did you set Encryption to “Require implicit FTP over TLS”?

    What is the error message you get?

    Also, I wanted to let you know that I do not receive notifications when you reply on the topics I opened (“Notify me of follow-up replies via email” is on).

    Thanks,
    Victor

    Avatar: devodrome
    devodrome
    Participant
    March 17, 2015 at 21:04

    Hello Eva,

    Did you manage to log in?

    Thanks,
    Victor

    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 18, 2015 at 16:50

    Yes we tried to login and was unable enter ftp. Please check the credentials you gave us before.

    With best regards
    Brian Johnson

    Avatar: devodrome
    devodrome
    Participant
    March 18, 2015 at 16:56

    Hi Brian,

    What FTP client do you use? Could you try connecting with FileZilla? Also, please be sure that Encryption is set to “Require implicit FTP over TLS”.

    What error message do you get?

    Thanks,
    Victor

    Avatar: Eva
    Eva Kemp
    Support staff
    March 18, 2015 at 18:15

    Hello,

    Now I’m able to connect to FTP. Thank you.
    This query requires additional customization and should be fixed in future theme update.

    Please take our apologies for inconveniences.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: devodrome
    devodrome
    Participant
    March 18, 2015 at 18:18

    Hello,

    So, is there nothing you can help me with at this point? Should I just wait for the next theme update? When is the next update planned to be released?

    Thank,
    Victor

    Avatar: devodrome
    devodrome
    Participant
    March 18, 2015 at 18:20

    As you can see there are several issues I reported, so I hope you will be able to fix them soon (whether through the official update or directly on my website).

    Avatar: Eva
    Eva Kemp
    Support staff
    March 18, 2015 at 21:32

    Hello,

    We’ve notified our developers.
    You can monitor our site for new updates.

    Thank you for your patience and understanding.

    Regards,
    Eva Kemp.

  • Viewing 14 results - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.