[Request/Question]Mod portal img size limit

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
osldgoth
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu Feb 26, 2015 3:52 am
Contact:

[Request/Question]Mod portal img size limit

Post by osldgoth »

I tried to add many png images to one of my mods on the portal only to get an "unknown error" after each upload. The images in question have a size grater than 5MB, is that the limit? Can the limit be added to the page somewhere and/or update the error to say the limit. Anyway the limit can be increased? These images were taken via the game using the /screenshot command.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [Request/Question]Mod portal img size limit

Post by eradicator »

Convert them to jpeg. Uploading huge images doesn't only slow down browsing your mods page, it's also rude towards anyone on a metered connection. If you for some reason actually need pngs then do color space reduction on them first, or use quantization tools.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Skyshrim
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat Aug 25, 2018 1:18 am
Contact:

Re: [Request/Question]Mod portal img size limit

Post by Skyshrim »

I am also getting an "Unknown Error" for seemingly no reason. My only image is a 32kb jpg and my mod is only 1.3kb.


This is driving me insane to be honest, I've spent more time troubleshooting this than I spent making my mod.
User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [Request/Question]Mod portal img size limit

Post by HanziQ »

If you upload the failing images here, I can take a look.
Post Reply

Return to “Mod portal Discussion”