• Hi,

    I’ve setup Flickr Gallery in my client’s WP1.5 installation, and I think I have everything working fine EXCEPT, when viewing a gallery, when I click on the “previous photo” link, I get this error:
    'An error occurred. Here is the response from Flickr:

    <?xml version="1.0" encoding="utf-8" ?>
    <rsp stat="fail">
    <err code="1" msg="Photo not found" />
    </rsp>

    And here is the response after passing through the parser:

    array (
    'rsp' =>
    array (
    'err' =>
    array (
    'code' => '1',
    'msg' => 'Photo not found',
    ),
    'photo' =>
    array (
    'description' => '',
    ),
    ),
    )'

    The gallery page is : https://turncoatserenade.com/wp/gallery.php

    I guess, if I can make it where that link doesn’t appear on the first image, that would be cool… I’m not sure how to do that however.

    Thanks for any help!

    -Chad

Viewing 2 replies - 1 through 2 (of 2 total)
  • Chad, good catch. I use this plugin on my site and had never noticed the problem before! Anyway, try this:

    Find this:

    $output .= "<div class=\"flickr-nav\"><p>";

    and right below, add this:

    if ($prev == 'server') $prev = $photo;

    That fixed it for me.

    Thread Starter superwick

    (@superwick)

    That works. Thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Flickr Gallery 0.7 WP1.5, previous photo link error.’ is closed to new replies.