Image Resize Issue (same image, 2 different installations, same server, same settings, 2 different sizes)
Permalink
I have a weird situation. We have Concrete5 8.5.1 installed on a Cent OS 7 VPS. We are in the process of changing the design, so we've copied our site over to a new cPanel account on the same server. Same version of PHP 7.1 and everything. Installed the Theme (Pixel 2) and started work on it. Its been a couple months, but we just realized that images uploaded to the development site are resizing on upload to be much, much larger than on the live site.
On the dev site, a 259.6kb image is being blown up to 624.53kb. On the live site that same image is being resized to 253.50kb. I've made sure all System & Settings > Image Options, Thumbnails & Thumbnail options settings to be the same, but this keeps happening. Any thoughts or recommendations?
On the dev site, a 259.6kb image is being blown up to 624.53kb. On the live site that same image is being resized to 253.50kb. I've made sure all System & Settings > Image Options, Thumbnails & Thumbnail options settings to be the same, but this keeps happening. Any thoughts or recommendations?
At a guess, when you cloned the site maybe you cleared the thumbnails cache and the over-sized thumbnails have not been recreated on the second site.
Thanks for the reply, but these are for new images being uploaded. I did clear the cache though just to eliminate this and uploaded the PNG again, but no luck.
Any differences for the Thumbnail options and Image options between the sites?
Initially, yes but minor, but we later changed both sites to match exactly and it still happens.
Different versions of GD or ImageMagik?
I wish. They are both on the same server, sharing the same version of Apache and PHP and identical cPanel configurations.
How are you displaying the images and how are you uploading them?
Uploading via Filemanager. Used in a blog post as the thumbnail. Here are screen shots of the Filemanager after upload.
So we found that if we place a height in for the large thumbnail instead of the null (automatic) value, this fixes the issue. The odd thing is, the uploaded image dimensions are still the same, but the file size is matching up to the old website now.