[Public] Mod images API

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 174
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

[Public] Mod images API

Post by vinzenz »

I just finished documenting the Mod images API for updating images on the mod page. You can find it on the wiki: https://wiki.factorio.com/Mod_images_API

Please tell me what you think so I can include your feedback before marking it as stable and moving it to the /v2/ url prefix.
bringing the oops to devops

User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 174
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: [Public] Mod images API

Post by vinzenz »

I've moved the images API to the v2 prefix and updated the API docs page.
bringing the oops to devops

justarandomgeek
Filter Inserter
Filter Inserter
Posts: 300
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

Re: [Public] Mod images API

Post by justarandomgeek »

What's the lifetime of an image that is uploaded and then un-referenced?

Could we have a flag for "hidden"/unlisted images in the gallery to not be shown in the image-strip on the mod page, for use in the markdown description/faq pages?

User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 174
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: [Public] Mod images API

Post by vinzenz »

There's no clean-up script currently, so until I get to that these images will stay available.
justarandomgeek wrote:
Thu Dec 08, 2022 3:01 am
Could we have a flag for "hidden"/unlisted images in the gallery to not be shown in the image-strip on the mod page, for use in the markdown description/faq pages?
feature request noted
bringing the oops to devops

Post Reply

Return to “Mod portal Discussion”