Support » Plugin: WordPress NextGen GalleryView » [Plugin: WordPress NextGen GalleryView] thumbnail "crop to fill" distorted

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

    (@cbryantaxiomadcom)

    I checked out your site. Your thumbnails look fine. How did you get your thumbnails fixed?

    Well I came up with a solution but it didn’t completely fix the problem. The problem was that something was offsetting the landscape thumbnails, they didn’t fit the wrapper.

    Now I’m not very good with jquery, so my solution is probably not the best one. All I did was made sure the thumbnail would start aligned left inside the wrapper. So I just added 'left':0+'px', to the thumbnail section (I believe line 555) of the jquery file

    // Scale each filmstrip image if necessary and position it within the image wrapper
    			$('img',j_frames).each(function(i){
    				$(this).css({
    				'opacity':opts.frame_opacity,
    				'height':img_h[i%item_count]*frame_img_scale[i%item_count]+'px',
    				'width':img_w[i%item_count]*frame_img_scale[i%item_count]+'px',
    				'position':'relative',
    				'top':Math.min(0,(opts.frame_height-(frame_img_scale[i%item_count]*img_h[i%item_count]))/2)+'px',
    				'left':0+'px',

    So the thumbnails now fill the entire wrapper, but if you look closely at the thumbnails of the landscape oriented images you’ll see they’re still distorted. They fill the wrapper height but squish to fit into the width.

    I’m still open to suggestions to better fix the problem…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress NextGen GalleryView] thumbnail "crop to fill" distorted’ is closed to new replies.