WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Album
[resolved] Smaller thumbs not showing - otherwise album works (13 posts)

  1. Roger Ingraham
    Member
    Posted 1 year ago #

    I used the widget in my footer and chose the smaller thumbs which are the appropriate size for my footer.

    I am able to click on the blank images in my widget and it brings up the lightbox with the images from the album, but i'm missing the thumbs.

    Would love to solve this because I like the plugin.

    R

    http://wordpress.org/extend/plugins/facebook-albums/

  2. Roger Ingraham
    Member
    Posted 1 year ago #

    Also, If I switch up to "small" thumbs, which are too large, then the thumbs show up...

  3. mglaman
    Member
    Plugin Author

    Posted 1 year ago #

    Hey @Roger,

    Can you link me to your site? Its a CSS issue, this will help me diagnose. Widget did not get a lot of love with previous updates and something might not have transitioned over well.

  4. Roger Ingraham
    Member
    Posted 1 year ago #

    http://www.siriuscommunity.org/wp/

    It's in the footer that I'm trying to use it currently.

  5. raybewright
    Member
    Posted 1 year ago #

    it looks like something is not coming through the php file. the background url doesn't seem to be populating.

    I replaced this on line 145:
    $html .= '<div class="image size-'. self::$options['size'] .'" style="background-image: url(' . self::_clean_url($img['images'][self::$options['size']]['source']) . ')">&nbsp;</div>';

    with

    $html .= '<div class="image size-'. self::$options['size'] .'" style="background-image: url('. self::_clean_url($img['source']) . ')">&nbsp;</div>';

    This is from the line above with the href is. I doubt this is ideal as it's pulling a large image to create a tiny thumbnail, but it's working for now.

  6. mglaman
    Member
    Plugin Author

    Posted 1 year ago #

    Hey thanks, I've been busy with work projects and I'll dedicate some time this weekend to fix this

  7. mglaman
    Member
    Plugin Author

    Posted 1 year ago #

    If you'd like, download the Development Version of the plugin and give it a whirl for me - http://downloads.wordpress.org/plugin/facebook-albums.zip - it fixes thumbnail resolutions by bumping to the next largest size for the thumbnail URL.

    That way users don't have to download the full image.

  8. thinsafetypin
    Member
    Posted 1 year ago #

    I was having this same issue and the development version seems to have partially fixed it for me. You can see what the site is doing here: Recording Studio

  9. mglaman
    Member
    Plugin Author

    Posted 1 year ago #

    @thinsafetypin

    Thanks for the link! I feel the issue has to do with odd sized images that do not match the thumbnail size. Can you provide the link to your album URL so I can debug what URLs are being returned?

    I have to build in a validator to ensure there is a thumbnail source URL, but need to see *how* to do so

  10. thinsafetypin
    Member
    Posted 1 year ago #

    Sure, no problem! Facebook Album

  11. mglaman
    Member
    Plugin Author

    Posted 1 year ago #

    Hey @thinsafetypin could you try out the dev version of the plugin http://downloads.wordpress.org/plugin/facebook-albums.zip and see if this resolves the issue?

    Basically if a picture smaller it only makes so many thumbnails, so I had to create a function to cycle through thumbnail sizes just in case the default is missing.

    Screenshot from local dev: http://glamanate.com/wp-content/uploads/2013/08/Screen-Shot-2013-08-08-at-9.23.50-PM.png

  12. thinsafetypin
    Member
    Posted 1 year ago #

    Hooray! It worked!

  13. mglaman
    Member
    Plugin Author

    Posted 1 year ago #

    Awesome - I should have an official release next week with this rolled in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.