WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. thibotus01
    Member
    Posted 2 years ago #

    Hi,

    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?

    http://wordpress.org/extend/plugins/flickr-api/

  2. brightfunction
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Actually, I think this should be:

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.