Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I cant see any settings and cant see much in the php api docs regarding this?

for instance if the original file upload is a png wordpress converts to jpg

share|improve this question

1 Answer 1

The thumbnails will be saved using the mime type of the file.

You will need to create your own functions using a php extension or or library. WordPress uses GD but hopefully this will be ported over to ImageMagick by 3.5 Using the API available in the extension you can add hooks and filters to convert the images. A good starting place would be o look ate the media_handle_download and media_sideload_image functions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.