*

Alealto1

  • **
  • 14 posts
Hi everyone,
I’m using Uppy.io inside Osclass to handle image uploads for listings, but I’m running into a problem with .jpg files.

Whenever I try to upload a valid .jpg image, Uppy always shows this error:

You can only upload: image/png, image/gif, image/jpg

Even though the file is actually a .jpg.

Has anyone experienced this issue or knows how to fix it?

Thanks in advance 🙏

Marked as best answer by Alessandro Altobelli on October 13, 2025, 12:23:32 PM
*

MB Themes

@Alealto1
I think it does not like mime of that file.
What you can do is to take .zip file and change extension to .jpg
It is valid jpg file but it's not image, in that case mime will not match to image/* and uppy should complain.
Try some online tool to check mime of that file.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alealto1

  • **
  • 14 posts
Thanks so much for your reply. That was actually the case, it's uploading now, but I have another problem. If I use uppy.io as my image uploader with the gamma theme, the images aren't renamed with the ad ID, and the entire attribute set isn't saved. I've attached a screenshot of my settings.

*

Alealto1

  • **
  • 14 posts
Images save correctly but save as 0_preview.jpg etc. and in the t_item_resource table there are no rows of this id. :-\

*

MB Themes

Theme does not store images, osclass does.
I've just tested Gamma and everything works OK.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Alealto1

  • **
  • 14 posts
Yes yes I confirm it works, thank you very much.  8) :P