Tagged: image size
-
AuthorPosts
-
February 7, 2014 at 10:39 pm #221059
Hi there,
For the life of me I can’t figure out why some images chop the tops and bottoms off, and some images extend the slider to show you the whole photo in all it’s glory.
In this slideshow as a great example:
Photo #2 is chopped off;
Photo #3 shows the whole thing and resizes;
Photo #6 is chopped off again – bigtime.Any insight?
Warm thanks from a wintery gallery,
DrewFebruary 8, 2014 at 6:56 am #221154Hi,
Can you post the link to your website please?
Regards,
JosueFebruary 9, 2014 at 10:34 pm #221413Can’t believe I left that out. :)
http://new.cultivatedesign.ca/portfolio-item/residential-design-winter/
February 9, 2014 at 10:44 pm #221421Hey!
It happens because some of the images don’t have a same aspect ratio, try uploading them with homogeneous width and height.
Cheers!
JosueFebruary 9, 2014 at 10:47 pm #221424Josue, just to understand better – notice how photo #3 is showing the full image? Well, that photo is very similar in size to #2 and #6. The slide show just won’t be homogeneous because some are portrait and some landscape. Can you help me understand why #3 is resizing effectively, while #2 and #6 are not?
Thanks,
DrewFebruary 10, 2014 at 2:47 am #221477Hey!
The theme crops down the image to a certain width and height, in this case you can find the thumbnail size on functions.php. Look for this code:
$avia_config['imgSize']['gallery'] = array('width'=>710, 'height'=>575 ); // images for portfolio entries (2,3 column)
I guess photo #2 and #6 are large images and wp crops them to the size specified above while #3 is a small one and wp didn’t crop it. You can tell wp not to crop an image by specifying the crop parameter to false. Replace the code above with this:
$avia_config['imgSize']['gallery'] = array('width'=>710, 'height'=>575, 'crop' => false ); // images for portfolio entries (2,3 column)
You need to regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/
If you are not comfortable with the above function you can use a plugin like http://wordpress.org/extend/plugins/simple-image-sizes/ to manually crop certain thumbnail size. You can also follow Josue’s suggestion to use images with the same ratio or dimension.
Best regards,
Ismael -
AuthorPosts
- The topic ‘What's with Winter? Photo Sizes in Easy Slider’ is closed to new replies.