Support » Plugin: Awesome Flickr Gallery » link to flickr is generated in to img>alt parametr

  • Resolved 2046

    (@o-o)


    <img class="afg-img" title="hereKafe na triko - Přerov" src="http://farm3.static.flickr.com/2916/14486995224_f70a59d889_m.jpg" alt="Kafe na triko - Přerov • <a style="font-size:0.8em;" href="http://www.flickr.com/photos/117428623@N02/14486995224/" target="_blank">View on Flickr</a>">

    the code above shows how the link to flicker page is generated. As you can see the link is generated in to alt parameter inside img tag.

    the code that generates it is in index.php of the Awesome f.. plugin.
    Can you fix that?

    thx

    https://wordpress.org/plugins/awesome-flickr-gallery-plugin/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ronak Gandhi

    (@ronakg)

    That’s how it’s supposed to work. Can you elaborate on what’s the problem?

    Hello,

    the problem is that the link is generated into the alt tag, instead of “around” the img tag, so that the img is a clickable link to flicker

    alt="Kafe na triko - Přerov • <a style="font-size:0.8em;" href="http://www.flickr.com/photos/117428623@N02/14486995224/" target="_blank">View on Flickr</a>"

    I don’t think that the html link has anything to do in alt attribute 😉 If that is the intention, what is it for then?

    Plugin Author Ronak Gandhi

    (@ronakg)

    That’s how the link is shown on colorbox slideshow. Colorbox is configured to take the text defined in alt to be shown as caption.

    I see..
    I thought that the thumbnail supposed to be a link.. (which is something I wanted 🙂 )
    .. but anyway.. what if people use something else then the embeded colorbox (many people use tuned up lightbox already)?
    Just a common question .. as I hacked your plugin to my needs anyway ;D

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘link to flickr is generated in to img>alt parametr’ is closed to new replies.