• Hello, is there any way to retrive and insert the alt text info dynamically from the image to the generated html code?
    The alt tag is completely missing as general behaviour or if it is set in a php function as ‘$attributes’ is not dynamic but a fixed string, as in this example:
    (php code)’alt’ => ‘alt_text_by_hand’ –> (html result) “…alt=”alt_text_by_hand” srcset=”http://…”
    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author stefanledin

    (@stefanledin)

    Hi!
    The plugin isn’t supported anymore I’m afraid :/ But there are a few ways to work with attributes on the <img>. Maybe you could use filters or the rwp_img() function.
    Take a look at the documentation and see if it helps you!

    Good luck 🙂

    Thread Starter blu900

    (@blu900)

    Thank You. All the best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic ‘alt=’ tag missing in HTML code’ is closed to new replies.