Ubrikkian Industries
  2124 active members
  202 are online







Message CenterRPG CenterQuestion Center
Archives » Uploading file to the holocron
Year 19 Day 97 4:38
Probably a stupid question but.

I'm trying to upload a file to the Holocron, but i get the following error:
"File extension does not match MIME type."

Anyone knows, what that means?


Year 19 Day 97 6:55
I am not sure, but it can be that your file either doesn't have the right file-extension or the format isn't supported. What kind of file is it?

Edited By: Ontares Phirr on Year 19 Day 97 6:56

Year 19 Day 97 10:05
Mime type is the "actual" type of the file. Many systems will check a file's extension vs it's mime type to verify that the image is what the extension claims it is. This can help prevent malicious code from being uploaded under the ruse that it's a valid image (though success may very).

If you're attempting to upload a custom or something similar to holocron, verify the file extensions. Older images uploaded through the custom system would have jpg as their extension regardless of their actual file type which would set off this error. If that's the case, the only other file type the system supports is png, so try switching the extension to png (gifs are automatically converted to jpg so they should never be a mime type combine can output) . This also still happens with avatars.

Edited By: Ulrike Rayne Schultheiss on Year 19 Day 97 10:11
Year 19 Day 97 10:12
Praises Ulrike for the help. I will try that. :)


Year 19 Day 99 2:21
I've found this most commonly happens if you right click and save an image from someplace (like SWC) and go to upload it, and to fix it I just open it in photoshop and resave it as whatever filetype. Really not sure why saving straight from SWC seems to cause this so frequently, but I've run into it a ton when copying GNS articles over.



Year 19 Day 99 10:37
Syn, a lot of our images have the wrong extension. The custom system itself used to love using .jpg for every image regardless of its actual file type. The same goes for a lot of the official images. Many official images have .jpg because the code didn't always support files that ended in other extensions. It's a bit of a guessing game on what the image type actually is here, unfortunately.