MODX Community

pThumb and webP


Does pThumb Support webP images?

I’ve looked through the docs and it looks like it doesn’t, but it’s becoming increasingly popular and I have a project where I need to create webP images with png fallbacks.

UPDATE: The docs I was reading must have been out of date, because I tried adding the format to the image system settings and adding f=webP to the pThumb call and it works a treat!

Thought I’d leave this here in case anyone else has the same issue.


1 Like

Basically pThumb uses phpThumb at its base so whatever is supported in phpThumb will be supported by pThumb.

Hope this is useful. :slightly_smiling_face:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.