Flickr API
link to image doesn't work (3 posts)

  1. thibotus01
    Posted 4 years ago #


    When I specify the link to the image, it seems to doesn't work.
    link="b" for example.

    I only have the gallery displayed. No active link.

    Also how do I display the gallery correctly (one image per line, not really nice in PLAIN HTML mode) ? Do I need to create class of CSS specified in the output code?


  2. brightfunction
    Posted 3 years ago #

    Links to images were not working for me either so I had a look at the code and spotted a bug in the plugin file flickr.php on line 685:

    if ( $link = '-' ) $link = '';

    This needs to be changed as follows and then the image links work:

    if ( $link == '-' ) $link = '';

    The bug was effectively changing what you had selected and defaulting to have no link.

    I hope this helps!

  3. Cliff Seal
    Posted 3 years ago #

    Actually, I think this should be:

    if ( $link != '-' ) $link = '';

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Flickr API
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.