Viewing 2 replies - 1 through 2 (of 2 total)
  • thumbnails distortion is a known issue. will be fixed in the next version.

    I hope future versions involve a proper thumbnail resize, but until then I’ve hacked my way around this using CSS.

    I wanted my thumbnails to be 220px wide and 145px height so i created a container for them.

    CSS:

    .imgContainer { position: relative; float: left; overflow: hidden; width:220px; height: 145px; text-align: center; margin: 0 3px 3px 3px; }
    .imgContainer img { width:220px; }

    PHP:

    foreach($fb_photos->data as $photo) {
    $return .= "<div class='imgContainer'><a href='{$photo->source}' title='{$photo->name}' ><img src='{$photo->source}' class='sohailfbthumb' /></a></div>";

    It may be a complete hack, but it avoids the horrible thumbnail distortion that was happening!

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

The topic ‘[Plugin: Embed Facebook] album thumbnail distortion’ is closed to new replies.