Forums

Flash Gallery
Image thumbnails not sizing correctly (6 posts)

  1. Robert Ying
    Member
    Posted 5 months ago #

    Although I've been running flash-gallery on this for some time, it seems to have started messing up the thumbnail resizing. Thumbnails are currently set to 150x150 in the Media settings, and I updated to 1.4.1--I'm not sure what I'm doing wrong now.

    url: http://lynbrookvertigo.com/photo-album

    http://wordpress.org/extend/plugins/flash-gallery/

  2. ulfben
    Member
    Posted 5 months ago #

    For some reason your wp_get_attachment_image_src does not return the correct (thumbnail) URL. I can't see why it shouldn't though.

    Have you tried re-generating all your thumbnails?

  3. Robert Ying
    Member
    Posted 5 months ago #

    I've tried regenerating a few times, which doesn't seem to have made a difference, so I'm not too sure how to go forward.

  4. Robert Ying
    Member
    Posted 5 months ago #

    Alright, temporary fix:
    $path_parts = pathinfo($thumb);
    $thumb = str_replace('.'.$path_parts['extension'], '-150x150.'.$path_parts['extension'], $thumb);

    Not dynamic at all, but whatever.

  5. ulfben
    Member
    Posted 5 months ago #

    I can't for the life of me see why your thumbnail paths doesn't work. All of my installations kept on humming. :/

    If you figure something out, please let us know.

  6. Robert Ying
    Member
    Posted 5 months ago #

    Yeah, I'll investigate more in 2012 (6 more hours!); the problem doesn't seem to be with your plugin so much as the WordPress API call.

    I think that it's missing metadata in the database, or something, but for now my str_replace hack works.

Reply

You must log in to post.

About this Plugin

About this Topic