FoundationPress icon indicating copy to clipboard operation
FoundationPress copied to clipboard

Automatic Resizing of images

Open FrankLauda opened this issue 5 years ago • 1 comments

Hi,

I've got a problem with the original image src size. I'm not sure why but the original image size seem to be a set size. So image the image is larger than this set size I'm getting image pixelation.

So, in this case, the "intrinsic size" is always 1024px wide. So from what I can tell this is maximum image width. But I've set this size to be 'fp-large' which is 1200px wide. So why is the image not rendering at this size? The original uploaded image size is about 1300px wide. I've attached a screenshot which shows what's happening. Screen Shot 2019-07-08 at 8 35 53 am

FrankLauda avatar Jul 07 '19 22:07 FrankLauda

Hi Frank

Check the library --> responsive-images.php file. There's a function there that limits the size of full width images. I remember having a similar issue a while ago and I think I resolved it by commenting out that function.

ns-rx avatar Aug 09 '19 13:08 ns-rx