cancel
Showing results for 
Search instead for 
Did you mean: 

Images for product are not displaying in backoffice though images are present in media folder

0 Kudos

i noticed that the mime type is set as application/octetstream . when i maually edit this to image/jpeg the images are loading.

How to change this default mime type - application/octetstream for all the media files.

Any help is appreciated !!

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

The issue of mime type is for media files that are already exisitng in the system. There are more than 90k media files for which the mime type is application/octet-stream. how to set mime type of these files as image/jpeg .

former_member634058
Active Participant
0 Kudos

Hi Mukesh,

This will be effectively a solution on the media model creation end. If you are creating the media from backoffice, you can set the mimetype during creation.

Same is the case if you create the Media from code or from impex. The mime is a field in the AbstractMediaModel, which can be set according to your need during the media model creation.

Thanks.