Now Available

Transform image CDN to full-site CDN

Jannis Fedoruk-Betschki
Update, 25 May 2024: The new full-site global content delivery network has now been implemented for all new websites. All existing customers will soon receive an email with instructions on how to update their sites to get access to this new feature.

A few days ago, a Magic Pages user has informed me about an issue with image resizing. For context: Ghost automatically resizes images, if the active theme uses this functionality.

After some investigation, it became clear that the issue stems from the usage of an image content delivery network (CDN) at Magic Pages. Upon uploading an image within a Magic Pages Ghost website, the image gets pushed to an external storage provider. This storage is then replicated in different locations worldwide, making sure that the image can load as quickly as possible from all around the globe.

The issue at hand was that the storage adapter only saves the original image, but not the resized ones. Extending this functionality was done quickly – however, this only led to a new problem: Ghost only produces so-called srcsets when it thinks it serves the image itself. But it doesn't – the external image CDN serves them.

Hence, even when uploading the resized images, Ghost would not serve them responsively. This ultimately means that Ghost's image resizing and the usage of an image content delivery network is fairly impossible.

As a result, the image content delivery network will be replaced by a full-site content delivery network, to ensure that we get the best of both worlds: proper image resizing AND fast response times world-wide.

This feature is now available!

If you're already a Magic Pages customer, you can access this feature right away. If you're not yet using Magic Pages, start your free trial today to try it out.

Questions or feedback?

Let us know what you think about this new feature in the comments below!

Customer Showcase

Websites powered by Magic Pages

See what real publishers have built with Ghost CMS and Magic Pages hosting.

Start Your 14-Day Free Trial

No credit card required • Set up in minutes