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

    (@ronakg)

    Yes it is possible with a minor code change.

    You have to edit the file index.php in the plugin and add the line mentioned below at line #348.

    $photo_page_url = ‘http://www.flickr.com/photos/’ . $user_id . ‘/’ . $photo[‘id’];

    Then you disable slideshow from Advanced Settings page of the plugin.

    That should work for you.

    Thread Starter dt10111

    (@dt10111)

    Outstanding! Thank you very much!

    When you get time, you should add that option in the admin panel. Your gallery is, in my opinion, by far the best Flickr gallery. And I have tried a lot of plugins. But I do like keeping in some social networking functionality, so this is perfect!

    newbie question – is there a way to get the flickr page to open up into a new window? (like the “_blank” function on an ahref link)

    LOVE that this links to the actual flickr page, SO much more useful to me than other flickr-gallery plugins. Keep up the great work!

    Plugin Author Ronak Gandhi

    (@ronakg)

    Just modify the line #349 of file index.php in the plugin to look like this –

    $disp_gallery .= "<a $class $rel $click_event href='$photo_page_url' target='_blank' " .

    Thanks, worked like a charm!

    actually, in the most recent updates, neither of these fixes works anymore. Any ideas on how to get them working again?

    Thanks.

    Plugin Author Ronak Gandhi

    (@ronakg)

    It should still work, the line nos might have got changed. Just find the right lines and apply the same changes.

    Thread Starter dt10111

    (@dt10111)

    I tried putting it where it seemed to fit. It did work in that it created the flickr link, but broke some other stuff.

    yup, I did the same thing. I replaced the line with “$photo_page_url” with the newer code and it breaks.

    Plugin Author Ronak Gandhi

    (@ronakg)

    In the latest version, the new line should be added before line #370.

    The line #370 is this –

    $disp_gallery .= "<a $class $rel $click_event href='{$photo_page_url}' title='{$photo['title']}'>" .
                    "<img class='afg-img' src='{$timthumb_script}{$photo_url}{$timthumb_params}' alt='{$photo_title_text}'/>" .
                    "</a>";

    The new line that makes link to Flickr, should always be before this line mentioned above.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Awesome Flickr Gallery] Link to Flickr Page’ is closed to new replies.