Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for webp images #9448

Closed
Leoooob opened this issue Feb 9, 2018 · 15 comments
Closed

No support for webp images #9448

Leoooob opened this issue Feb 9, 2018 · 15 comments

Comments

@Leoooob
Copy link

@Leoooob Leoooob commented Feb 9, 2018

Admin panel support for webp images

I think it's important to support the webp image format by allowing ghost bloggers to use the post editor to upload webp images, rather than manually uploading to your server and then using embedded html tags.

This means that some considerations will have to be taken when embedding the image in-site, to support older browsers. Not sure how this should be handled e.g. once you've uploaded a jpeg, all users to add a webp version for clients that support it?

Steps to Reproduce

  1. Open Ghost admin panel
  2. Open a post/new post
  3. Add an image and try to upload webp

Technical details:

  • Ghost Version: master (commit: bfd3286)
@kevinansfield
Copy link
Contributor

@kevinansfield kevinansfield commented Feb 12, 2018

Hey @Leoooob 👋 Until Ghost has an image processing pipeline we'll only be supporting image formats that are fully supported across browsers.

@juandosimple
Copy link

@juandosimple juandosimple commented Mar 15, 2018

Hi,
There was any advancement in this subject? Thanks!

@sreerajnova
Copy link

@sreerajnova sreerajnova commented Feb 23, 2019

is there any possibilities ?

@MaskyS
Copy link

@MaskyS MaskyS commented Mar 3, 2019

@kevinansfield, Looks like image processing is here! Do you think Ghost will support WebP images in the near future? (say, 1 year?)

@Leoooob
Copy link
Author

@Leoooob Leoooob commented May 16, 2019

any update on this now that there is an image processing pipeline?

@fluse
Copy link

@fluse fluse commented Sep 23, 2019

why is there a problem to check if webp then skip processing?

@abdilra7eem
Copy link

@abdilra7eem abdilra7eem commented Jun 2, 2020

why is there a problem to check if webp then skip processing?

This will lead to images not showing on incompatible browsers (Not all browsers support WebP, cough Apple).

But it would be very nice if I could use it at my own risk

@Leoooob
Copy link
Author

@Leoooob Leoooob commented Jun 4, 2020

it's easy enough to use picture to embed a number of formats to serve both modern and legacy browsers.

@kevinansfield is there a process for reopening an issue/getting it reviewed?

@mbedded
Copy link

@mbedded mbedded commented Jul 23, 2020

Yes, a repoen of this issue would be great. Many images could be half-size of their current size but the web UI won't let me use the webp image.. :(

@jdcauley
Copy link

@jdcauley jdcauley commented Jul 23, 2020

PR #12057 would provide a clear path forward for this issue

@andreborud
Copy link

@andreborud andreborud commented Jul 26, 2020

It looks like Safari 14 will support it, once Safari does all major browsers will support webp, so its probably time to reopen this one! ;)

https://caniuse.com/#search=webp

@ochronus
Copy link

@ochronus ochronus commented Sep 13, 2020

@kevinansfield any chance of reopening this? Browser compatibility is not an issue, you can wrap multiple s in a tag with separate types each (jpeg, webp etc.) WebP has some serious wins in size. AVIF also just landed...

@jdcauley
Copy link

@jdcauley jdcauley commented Sep 13, 2020

@ochronus

Ghost is open source but not really developer friendly. I wouldn't count on this anytime soon.

@sklinkert
Copy link

@sklinkert sklinkert commented Dec 31, 2020

I think this topic is becoming more important due to the Google's Core Web Vitals coming around spring 2021.

Page Speed Insights is already complaining about Ghost's image format:

Serve images in next-gen formats
Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption. Learn more.

@jdcauley
Copy link

@jdcauley jdcauley commented Jan 3, 2021

@sklinkert

I managed to start getting somewhere by pairing Ghost with Eleventy and Netlify.

I think it's going to be the only option for a pretty out of the box perf capable solution.

Or you could put cloudflare with polish in front of your Ghost install.

I'm working on getting my eleventy build to work with my thumbor install.

matthanley added a commit that referenced this issue Jul 2, 2021
refs #9448
refs #2591

Added API support for webp image files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet