Better image/file management & optimisation

We’ve made a lot of progress with better image support in Ghost this year. That said, this issue has become a bit of a dumping ground for just about anything related to media, up to and including the kitchen sink :upside_down_face:

I’m going to run through the main things that have been talked about and wrap this topic up, because the majority of them have been completed at this stage. If anyone wants to start new, more specific, ideas topics after this - that’s absolutely fine!


Things that have been done & shipped

  • :white_check_mark: New editor/image uploader
  • :white_check_mark: Image output size control
  • :white_check_mark: Image re-usability with simple copy/paste
  • :white_check_mark: New image caption support
  • :white_check_mark: New dynamic image gallery cards
  • :white_check_mark: Automatic image compression & optimisation
  • :white_check_mark: Dynamic responsive image sizes
  • :white_check_mark: Drag/drop image re-ordering
  • :white_check_mark: Cloudinary integration guide
  • :white_check_mark: Amazon S3 storage adapter guide
  • :white_check_mark: Google Drive storage adapter guide
  • :white_check_mark: Azure storage adapter guide
  • :white_check_mark: Google cloud storage adapter guide
  • :white_check_mark: Backblaze storage adapter guide
  • :white_check_mark: Custom integration guide

https://docs.ghost.org/integrations/cloudinary/

https://docs.ghost.org/integrations/amazon-s3/

https://docs.ghost.org/integrations/google-drive/

https://docs.ghost.org/integrations/azure-storage/

https://docs.ghost.org/integrations/google-cloud-storage/

https://docs.ghost.org/integrations/backblaze/

https://docs.ghost.org/integrations/custom-integrations/


Things we’re not going to do

:no_entry: Short term renaming/deleting of images

TLDR: It’s a lot of work to implement for no discernible benefit. Storage is extremely cheap, and filename has no impact on image output. Most platforms scramble filenames to a hash, so no matter what you upload it ends up being rendered as /images/34khds92lk20990923klnsd.jpg - generally speaking you just don’t need to worry about it.


Things we might do eventually

:warning: A simple, minimal file browser

We may at some point create a very light file management UI within Ghost Admin for images. This isn’t a priority, because the only real use-case is for managing images which will be regularly re-used, such as a set of corporate brand assets. Beyond that, it’s just an incredible amount of work for very little reward.

A file browser UI is something that can be voted for on a new topic, but will likely not be implemented unless someone from the open source community decides to build it themselves and contribute upstream.

6 Likes