Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter steve.pritchard

    (@stevepritchard)

    I think I’ve got to the bottom of this problem – it’s resulting from a clash between the theme I’m using (clean-retina) and the plugin.

    The stylesheet for clean-retina includes:

    img {
    max-width:100%;
    height:auto;
    vertical-align:top;
    }

    and these styles get applied to the IMGs produced by the flickr-photostream plugin. The “max-width:100%;” property is being mis-interpreted by IE8, and means that the images don’t appear.

    I think that clean-retina sets max-width for mobile devices – see http://davidwalsh.name/image-max-width

    If I modify jquery.justifiedgallery.min.css to include:

    .justifiedGallery .jg-image img {
    border: none;
    margin: 0;
    padding: 0;
    display: none;
    max-width: none;
    }

    then the plugin seems to work ok on IE7 & IE8 & IE8 compatibility mode.

    (i.e. the height and width aren’t needed on the DIV jg-image as I originally thought)

    I encountered this problem too, however I managed to resolve it by modifying the plugin code (dub-facebook-albums.php) as per http://wordpress.org/support/topic/plugin-called-via-shortcode-appears-at-the-wrong-place-on-post

    i.e. in the function dub_fa_display(), added ob_start(); at the top and at the bottom:

    $output_string=ob_get_contents();;
        ob_end_clean();
        return $output_string;

    This seems to fix the problem, i.e. the output appears where I put the tag.

    Could this please be fixed in the plugin code.

Viewing 2 replies - 1 through 2 (of 2 total)