I just set up Ghost on my own server with the theme Casper. I added a publication cover image and feature images to some imported posts. However, I noticed that the images are all kept in their original size. I assumed Ghost would resize them automatically, so I didn’t think about it when uploading the images that they are all several MB heavy each.
Is there any setting or extension/plugin that optimizes/downsizes uploaded images automatically? Or is that something you are expected to do yourself? Just curious how it’s supposed to work.
Resizing of body content is handled by Ghost. Resizing of featured images and cover image would be handled by the theme (well, the theme directs Ghost to make additional sizes, and them uses a srcset to make the browser retrieve the right one). I’m looking at a Casper demo and it looks like srcsets are there, so I’d be interested to see a link to your site, if you think that isn’t happening.
(It’s also possible to turn off image resizing. But you’d have done that deliberately – it’s not a default.)
Okay, I see. So it makes an additional size for smaller resolutions.
I had thrown in some 3 MB .png images that were 1500 px wide. The feature images in Casper are only max 1200 px wide though, so 1500 px is a bit unnecessary. And .jpg would be much more space efficient compared to .png.
Now I manually resized my feature images and reuploaded them. 1200 px wide and .jpg with 70% quality, brought them down to about 90-130 KB each.
I have changed theme to Source now though. And I manually resized all feature images. And I also removed the publication cover image. So my setup if a bit different from what I originally posted. But my site is at https://www.danopcode.com/. I guess it’s as best as it can be now, I suppose.
1 Like