Alt text not pulling through to product images

This topic has 16 replies, 4 voices, and was last updated 10 years, 1 months ago ago by Eva Kemp

  • Avatar: craigmcdermott
    craigmcdermott
    Participant
    August 19, 2014 at 14:00

    I look after the site http://www.countrywaygunshop.co.uk. I’ve added alt text to all images in the media gallery however this is not pulling through to the product pages.

    Is this something that can be changed by settings in the blanco theme setup or is it something that requires code adjustments to the theme files?

    Thanks in advance

    15 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 19, 2014 at 15:26

    Hello,

    Please provide us with wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: craigmcdermott
    craigmcdermott
    Participant
    August 19, 2014 at 15:37

    Added 🙂

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 19, 2014 at 16:00

    Hello,

    As I see you have old versions of WordPress and the theme. Please update them to the latest versions.
    https://www.8theme.com/demo/docs/blanco/index.html#!/upgrade

    Don’t forget to create back up of the files before the update.

    Regards,
    Eva Kemp.

    Avatar: craigmcdermott
    craigmcdermott
    Participant
    August 27, 2014 at 09:30

    Hi Eva, I have updated WordPress and the Theme now but i am still experiencing the issue where alt tags are not pulled through to the frontend. I’m also having some issues where product images get too big for the container when changing variations.

    Thanks

    Craig

    Avatar: Eva
    Eva Kemp
    Support staff
    August 27, 2014 at 14:25

    Hello,

    I’ve regenerated thumbnails. Please check your product images for variations.
    Concerning the alternative text issue try to deactivate 3rd-party plugins. Perhaps some is causing the problem.

    Regards,
    Eva Kemp.

    Avatar: craigmcdermott
    craigmcdermott
    Participant
    August 27, 2014 at 20:35

    hi eva, are you able to maybe suggest which plugins would affect the alt text? I’ve disabled all the ones i would have thought would affect it and no change.

    Thanks

    Craig

    Avatar: Eva
    Eva Kemp
    Support staff
    August 29, 2014 at 10:16

    Hello,

    Sorry for a long delay.
    There is a bug in the theme with alt text for images. We’ll fix it in our future update. Meanwhile you can resolve it in the file blanco/woocommerce/single-product/product-image.php, find the line 41 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: jedijonny
    jedijonny
    Participant
    November 4, 2014 at 15:52

    I am experiencing the same thing with the Legenda theme. No ALT tags for the product or the gallery images also none for the thumbs on the category pages or store page.

    We have removed 3rd party plugins but no change.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    November 4, 2014 at 16:48

    Hello @jedijonny,

    There is also a bug in Legenda theme.
    It will be fixed in the next update.

    Please take our apologies for inconveniences.
    Regards,
    Eva Kemp.

    Avatar: craigmcdermott
    craigmcdermott
    Participant
    November 13, 2014 at 18:22

    Is there a work around for this at the moment? Maybe some code you can provide to modify a file?

    Thanks

    Craig

    Avatar: Eva
    Eva Kemp
    Support staff
    November 13, 2014 at 20:14

    Hello @craigmcdermott,

    Sorry, but currently there is no work around for Legenda theme and our developers are working on it.
    This issue will be fixed in the next update.

    Please take our apologies for inconveniences.
    Thank you for your understanding and patience.

    Regards,
    Eva Kemp.

    Avatar: kingtidemedia
    kingtidemedia
    Participant
    November 24, 2014 at 02:57

    H there,
    I’m looking for a work around to add ALT tags to the product images also.
    Please notify me also if you find it
    Thanks…

    Avatar: Eva
    Eva Kemp
    Support staff
    November 24, 2014 at 11:16

    Hello @kingtidemedia,

    For Blanco theme you need edit the file blanco/woocommerce/single-product/product-image.php, find the line 41 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)?>"

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: kingtidemedia
    kingtidemedia
    Participant
    November 27, 2014 at 01:39

    Hello,
    Thanks for the response, I was wondering if the above code has been tested on legenda theme?

    src="<?php echo etheme_get_image( $imgId, $mainWidth, $mainHeight, $crop ) ?>"
    add this alt="<?php echo get_post_meta($imgId, '_wp_attachment_image_alt', true)?>"

    Avatar: Eva
    Eva Kemp
    Support staff
    November 27, 2014 at 12:28

    Hello @kingtidemedia,

    Sorry, but it wasn’t tested in Legenda theme.
    Developers will include the fix in the next update of Legenda.

    Sorry for inconveniences.
    Thank you.
    Regards,
    Eva Kemp.

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

The issue related to '‘Alt text not pulling through to product images’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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