WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Browsing photos with arrow keys Gallery thumbnail sizes

[Resolved] Browsing photos with arrow keys Gallery thumbnail sizes

  • Hey there! I love the whole idea of this pluggin, it is saving me so much time when it comes to updating my website!

    I got 2 little “problems” though.

    First of all, I don’t know if there is a problem with my actual wordpress template or the plugin itself, but I can’t use the arrow key to browse through the photos in the gallery. When I press on the right or left arrow, the picture in pretty photo fades out and fades in back, instead of switching picture.

    My second problem is concerning the size of the gallery’s thumbnails. The actual thumbnails are currently something like 130 px wide x 80 px tall. I would like the pictures to be way bigger. Something like 400 px wide by 200 tall.

    Thank you very much.

    Nick

    http://wordpress.org/extend/plugins/facebook-photo-fetcher/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author justin_k
    Participant

    @justin_k

    >>First of all, I don’t know if there is a problem with my actual wordpress template or the plugin itself

    …Then try disabling your theme…

    >>I would like the pictures to be way bigger.

    Not currently a supported feature, so you’ll have to search the Facebook API and edit the plugin source yourself. If you solve it, feel free to submit a patch and I’ll include it in the plugin for others. The function you’ll be interested in is fpf_fetch_album_content(), in _output_gallery.php. It’s fully commented.

    Hey Guys,

    Found a temp solution for this problem. Just wanna start by saying thanks first for such a great plugin I’ve used it a couple times on different projects here and there. Anyways, opening up _output_gallery.php and going down to where you can see where the gallery is actually be generated and output to the page there is:

    $link = '<a rel="' . htmlspecialchars($album->link) . '" class="fbPhoto" href="'.$photo->source . '" title="'.$caption_with_br.' " ><img src="' . $photo->picture. '" alt="" /></a>';

    The above code is around line 258. I couldn’t exactly find out where the images were being resized in the plugin, but for now I just changed the URL that is in the img tag so instead of having $photo->picture just use $photo->source so you get the full size of the image and then you can use CSS to scale it down to a desired size. Hope this helps thanks again for a great plugin!

    j2zo – I tried it, but I still get the 130px wide thumbnails. How do you get the large thumbnails when you do it?

    j2zo – Sorry! It works, I forgot that I had to refresh the page it was on by hitting update to regenerate the code. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Browsing photos with arrow keys Gallery thumbnail sizes’ is closed to new replies.