Upload product main image error: Invalid file type

More
8 years 11 months ago - 8 years 11 months ago #63376 by Petta
When trying to upload product images I get this error- Upload product main image error: Invalid file type! / Invalid file mime type!

Image file types with errors include jpg, png files. They are allowed files in system config.

Thanks
Last edit: 8 years 11 months ago by Petta.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 11 months ago #63380 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Upload product main image error: Invalid file type
Hello Petta,

Please go to EShop -> System -> Configuration -> Option tab and make sure that you have the following values:

1. Allowed File Extensions:
txt
png
jpe
jpeg
jpg
gif
bmp
ico
tiff
tif
svg
svgz
zip
rar
msi
cab
mp3
qt
mov
pdf
psd
ai
eps
ps
doc
rtf
xls
ppt
odt
ods

2. Allowed File Mime Types:
text/plain
image/png
image/jpeg
image/jpeg
image/jpeg
image/gif
image/bmp
image/vnd.microsoft.icon
image/tiff
image/tiff
image/svg+xml
image/svg+xml
application/zip
application/x-rar-compressed
application/x-msdownload
application/vnd.ms-cab-compressed
audio/mpeg
video/quicktime
video/quicktime
application/pdf
image/vnd.adobe.photoshop
application/postscript
application/postscript
application/postscript
application/msword
application/rtf
application/vnd.ms-excel
application/vnd.ms-powerpoint
application/vnd.oasis.opendocument.text
application/vnd.oasis.opendocument.spreadsheet

After that, please test again. It should work normally.
Sincerely, Giang

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #73018 by Rob Barrett
Replied by Rob Barrett on topic Upload product main image error: Invalid file type
How do I allow .exe files to be downloaded?

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 4 months ago #73024 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Upload product main image error: Invalid file type
You should search for File Type and File Mime Type of the file that you want to sell to add in the configuration.
Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
8 years 4 months ago #73025 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Upload product main image error: Invalid file type
Also, you can zip the your .exe file and upload the zip file instead of .exe file
Hope that this will help.
Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong