• Spudfather

    (@davidwalkerphotography)


    I have recently gone through and added new titles and alternative text descriptions to all my images, however the alt text did not translate through to the source code.

    I found this article that suggests why that is the case (though I cant see why the title can update but not the alt tag) and says that images should be re-inserted into a page for the changes to take affect.

    https://wordpress.org/support/topic/image-descriptions-and-alt-text-not-fed-into-html-source-file?replies=3

    My images are used in a gallery, so I have removed them all from that gallery and re-added them from the media library. However this still is not showing any alt text in my source code.

    Any suggestions how to fix this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is the issue specific to your theme?

    Thread Starter Spudfather

    (@davidwalkerphotography)

    I am not sure, how would I go about testing that?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try switching to the twentyfifteen/fourteen theme

    Thread Starter Spudfather

    (@davidwalkerphotography)

    Thank you.

    I just tried that, but my galleries are specific to my theme so once switched over to twentyfourteen there is nothing for me to check. I hadn’t realised that before, I guess it is a theme issue then?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is it only the images on the Gallery that have this problem?

    Thread Starter Spudfather

    (@davidwalkerphotography)

    That is correct. This is my website.
    The alt text is there on the three images on the home page. But there is none for any of the images on my gallery.

    http://events.photographerinessex.com/

    The theme is Tripos by Cosmothemes if that is of any use.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m not sure what you mean, they have the alt text, for example:

    <img width="200" height="300" alt="London fashion week photography by David Walker Photography, Essex Wedding Photography" src="http://events.photographerinessex.com/wp-content/uploads/sites/2/2015/02/Essex-Event-Photography-069-200x300.jpg" class="alignnone wp-image-96 size-medium">

    Highlighting:

    alt="London fashion week photography by David Walker Photography, Essex Wedding Photography"

    I think it sounds like a theme issue to me especially if your galleries are a function of the theme. Tripod, right?

    It’s also a commercial product and you might be better raising a support question with the theme dev.

    http://codex.wordpress.org/Forum_Welcome#Commercial_Products

    Thread Starter Spudfather

    (@davidwalkerphotography)

    Andrew, are those taken from my home page? If so, those ones do work. But if you then go to the portfolio page where the bulk of my images are, there is no alt text. Just taking one image as an example.


    <img style=”opacity:0;” src=”” data-big=”
    http://events.photographerinessex.com/wp-content/uploads/sites/2/2015/02/Essex-Event-Photography-083.jpg&#8221; data-title=”Youth Club at Village Green Festival” data-description=”” alt=”” />

    That is correct Martcol, I have taken this up with the themes support but yet to get a reply. When I first raised this question here I had not worked out that it was likely a theme related issue.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes that was taken from one of the 3 images on the Home page (that was linked in the prior post). When I go to your portfolio page I see the theme issue.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘alt text not in html code’ is closed to new replies.