I’d like to see the ability to automatically generate good jpg/webp thumbnails for both uploaded (embedded) images, as well as article banners.
I’ve many times hit the issue of someone uploading a huge, oversized png for the article banner, which ends up being very slow to load especially on the default theme’s article index page (which only needs a small thumbnail).
That is really must needed feature for ghost. When user upload the featured image or any other images in post then it should automatically resize as thumbnail, mediam, large, full size etc. Otherwise pages taking extra time where need a very smal size picture like post thumbs.
in the follwoing image, there i need 310x207px image for the post thumb but there i am using 1080x720px image. So obviously its causing site speed issue.
A quick first step—since developing the full resizing system can take time—would be to just add an “Upload post thumbnail” field similar to the current “Upload post image” field.
This is just adding a field like the existing one, so for the time being we could use optional thumbnails on index pages in this manual way, falling back to the full sized image like now only if there is not an uploaded thumbnail. Later, an also optional automated resizing functionality could be added to this new field.
Ghost is about blogging, not image transformation so let’s not lose Ghost devs into image transf algo, etc. There are plenty services on the Web that deal with these issues pretty well.
However, Ghost responsibility would be to allow the theme devs to use these vendors with the more flexibility as possible to fulfill the needs. Recently, I suggested to include a context key to storage adapter calls so from any adapter, we could know which image type is being handled and thus being applied context-based transformations.
Maybe, a context key with some kind of tags to narrow down ever deeper the transformations to apply would be nice.
I knew the need about it because I was building my theme thinking about some SEO aspects and figured out that the community also asked for it so there is it.
My problem right now is that the build is not passing the tests because a weird issue with theme’s tests, if someone can help me with that (just point me in the right direction to solve it and I’ll do myself) we can probably get this solution merged