Skip to content

Random images ALT text

@sven - Is it possible to implement the ALT text for the images which are pulled in this option: "Insert random images related to the article"?

The alt text could use either one keyword or anchor text.

Thanks

Comments

  • SvenSven www.GSA-Online.de
    that alt text can be modified when editing content_search.dat
    You can use any macro you like in it.
  • londonseolondonseo London, UK
    @sven - am not sure what to edit in content_search.dat - I use my own urls for images
  • SvenSven www.GSA-Online.de
    usually you see there ...

    alt="%search%"

    and you can change it to whatever you like.
  • royalmiceroyalmice WEBSITE: ---> https://asiavirtualsolutions.com | SKYPE:---> asiavirtualsolutions
    @sven

    will the following work - alt="%random_anchor_text%"
  • SvenSven www.GSA-Online.de
    yes
  • I did not know this. Awesome.

    Similarly is it possible to add image descriptions as well as alt tags mainly for WordPress images?
  • SvenSven www.GSA-Online.de
    @JudderMan sorry I don't know what you mean? How does that syntax look like?
  • royalmiceroyalmice WEBSITE: ---> https://asiavirtualsolutions.com | SKYPE:---> asiavirtualsolutions
    @Sven

    So lets say I have a  project about cats, and in the project folder txt list containing a 1000 urls to cat images. which I want to embedded randomly in my article and also add a project related image ALT meta tag based on the anchor text of the project, and for additional randomness add 4 different opening (target ) instruction and 4 random image sizes

    Am i on the right path with the following

    \n\n{<a href="%url%" target="{_blank|_self|_parent|_top}"><img src="%spinfile-C:\Users\Administrator\Dropbox\Cat_Project\My_Cat_Image_links.txt%" width="{300|350|400|450}" align="right" alt="%random_anchor_text%" /></a>}\n\n
  • edited April 2016
    image

    Below the alt is the image description. It's not a major thing to do, so don't push any updates or spend time on it, unless it's really easy and quick.

    Thanks
  • SvenSven www.GSA-Online.de
    @royalmice yes looks ok to me.
    @JudderMan ok but thats something you want me to script in wordpress engine? Sorry this screenshot doesnt ell me much.
  • londonseolondonseo London, UK
    @sven - i renamed all the alt="%search%" to alt="%random_anchor_text%" and no alt text is shown in the images posted.
  • SvenSven www.GSA-Online.de
    keep in mind that there is a cache for that (projectname.rnd_content). You might want to delete the entries from there or wait a bit.
  • royalmiceroyalmice WEBSITE: ---> https://asiavirtualsolutions.com | SKYPE:---> asiavirtualsolutions
    Great, thanks @sven
Sign In or Register to comment.