I’m setting up my first ghost site, and I really like it so far! This is my site: https://121gigawatts.org
One issue I ran into, and which has already been asked once or twice on this forum, is how to configure image compression.
I’m unhappy with the JPEG pixelated artifacts on my hero banner particularly on the “GIGAWATTS” font. The original actually has a rather homogenous colour, there’s no texture to it:
I’ve seen you guys raise this issue already on sharp’s GitHub (sorry, I can only post 3 links in my first post). There you mention that "The more granular configuration will be available if users find a need for it eventually. " so I was wondering what my options are here.
As a side note: I find the way you guys handle this forum quite strange. I linked 2 instances of the same question above. In both cases, instead of sharing the solution on the forum, you guys ask the original poster to contact you via e-mail. That kind of defeats the purpose of having a forum in the first place, doesn’t it? And it makes every new customer have to go through asking the same question again :(
Alright! I went ahead and manually resized my image to the w2000, w1000, and w600 presets, put them into my forked casper theme in /assets/images, created a custom CSS class just like .responsive-header-img in header-background.hbs, and used direct links to my resized assets. See here: Use custom hero banner only for home page · zoltanmaric/121gigawatts@14cfb94 · GitHub
I’d still like to hear what you guys think about this approach, and if you can suggest some improvements :) Thanks!
Hi John, I found a way to make this work for this particular image by making it part of my theme, sure. However, the underlying issue still exists, and still affects any image that a user adds to their blog post: the image will be compressed with 80% quality by default, which often causes visible artifacts on the resulting image, and there’s no way to affect the target compression quality
I am also looking for an option about the image quality/compression. The default quality for JPEG files is 80% which is way too low for me. It has been a while now and I don’t see any other possibility than uploading png files images in order to preserve the image quality…