WordPress.org

Forums

Awesome Flickr Gallery
[resolved] link to flickr is generated in to img>alt parametr (5 posts)

  1. 2046
    Member
    Posted 1 year ago #

    <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/

  2. Ronak Gandhi
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. 2046
    Member
    Posted 1 year ago #

    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?

  4. Ronak Gandhi
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. 2046
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Awesome Flickr Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic