[Support request] Auto Alt Text from Image Title, Possible?

Home Forums Support Auto Alt Text from Image Title, Possible?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1386502
    litesprint

    Hi,

    This isn’t directly related to GP itself, but I figured I’d ask. Turns out, until WP 4.7, the image title was also used as the alt text for images that didn’t have alt text specified. This is now no longer the case. Is there a way to get this back? Even if it just shows the image title as the alt text on front end, that’d suffice.

    #1386869
    David
    Staff
    Customer Support

    Hi there,

    its not easy – there are several plugins and lots of code snippets around that do something similar eg.

    https://www.damiencarbery.com/2018/07/set-image-alt-field-on-upload-and-on-use/

    But they all seem to progmatically add them on upload, add attachment to page or on front end load. Which could increase server queries to no end.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.