WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Photo Fetcher
[resolved] Browsing photos with arrow keys + Gallery thumbnail sizes (5 posts)

  1. wrecktom
    Member
    Posted 1 year ago #

    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/

  2. justin_k
    Member
    Plugin Author

    Posted 1 year ago #

    >>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.

  3. j2zo
    Member
    Posted 1 year ago #

    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!

  4. maziarom
    Member
    Posted 8 months ago #

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

  5. maziarom
    Member
    Posted 8 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.