change product image tag from image file name to product title

#44156
  • Resolved Simona Vasileva
    Rank Math free

    Currently (I think after the latest update of rank math) the <title> tag of all product images is showing the image file name, instead of the product title, as it was before… This is causing all my product images to have number in the title instead of product names, which is not OK for me…
    Can I somehow change that to be the product title again?
    you can see an example here:
    https://www.justkidding.bg/wp-content/uploads/2019/07/5684-1.jpg

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I cannot seem to reproduce the issue on my end. Here is a screenshot:
    Screenshot

    Can you confirm that you have enabled the Add missing TITLE attributes option via Rank Math > General Settings > Images > Add missing TITLE attributes?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi Michael and thank you for your answer.

    I think we are not talking about the same thing… I investigated further and found out, that the issue I’m talking about is actually considered as improvement, which came with version 1.0.42 [Apr 14th, 2020] (see screenshot from the plugin version change log).

    Improved: Changed ALT text’s default value to use the filename instead of the post’s title. One can change the setting to any other variable

    So basically, what I’m asking is how to change the setting to other variable, as I want to make it as it was before and to use the post title rather than the filename.
    screenshot change log

    Alberto
    Rank Math business

    Hello,

    I have attached a screencast where I show you how you can change the alt text to any variable you want (including to the post title variable): https://i.rankmath.com/TOMoEP

    Looking forward to helping you. Thank you.

    Thank you, Alberto! This is what I needed πŸ™‚

    Todd
    Rank Math free

    Hello Simona,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘change product image tag from image file name to product title’ is closed to new replies.