• Resolved jamiek47

    (@jamiek47)


    Hi,

    When uploading image WordPress is automatically filling in the title tag from the image file name.

    I want the alt tag filled instead though so I tried your plugin but nothing is being filled in the alt tag field?

    Thanks,
    Jamie

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dan

    (@birmingham)

    Hi Jamie, instead of needing to content manage two separate fields, this plugin is based on the recommendation that you just give the image a title and that’s enough. No need to duplicate that info in the database for a separate alt field, which would usually be identical to the image’s title in the image library. Just write the main title of the image manually, then insert it into a post or page, and so long as this plugin is active, it will insert alt text into the html of that image on that post or page at the point of inserting the image. It will utilise the image’s main title. This saves space in the database, and makes it easier to manage image names and alts because you only need to edit in one place per image, like what could be done prior to WordPress 4.7

    • This reply was modified 6 years, 12 months ago by Dan.
    Thread Starter jamiek47

    (@jamiek47)

    Hi Dan,

    Ah, ok. I just tested that and by removing the alt tag and having an image title tag but the source code just shows an empty alt tag.

    I’d also just like to use alt tags rather than title and alts.

    Plugin Author Dan

    (@birmingham)

    Did you test by giving it a title=”” attribute? If so, this is not what i am referring to. I’m referring to the main title/name you give to label an image with when you upload it into wordpress. This is all it needs, the alt text is generated from this.

    Thread Starter jamiek47

    (@jamiek47)

    Yes, that field is filled in automatically but it still doesn’t show :S

    Plugin Author Dan

    (@birmingham)

    Which theme are you using? I will test it and try to replicate the situation

    Thread Starter jamiek47

    (@jamiek47)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not working?’ is closed to new replies.