Page 1 of 1

Extensions vs MIME image types on quads

Posted: 04 Aug 2014, 19:49
by LT.Forever
So I've been messing around with manialinks, interface editor and other related tools and noticed one thing that sort of bugs me out:

Right now quads accept images with extensions of .jpg/.png/.tga/.dds. Sure it's a good system for local files but let's say I want to use an online API that takes a REST type uri without an extension (e.g. ".../image/someid/"). It gives back an image/jpeg or image/png yet the image is still not visible in the manialink (or at least I couldn't make it to work).
Is there any way to make it work with MIMEs and not extensions? :roll:

Re: Extensions vs MIME image types on quads

Posted: 05 Aug 2014, 06:59
by The_Big_Boo
You can simply add "?.png" or "?.jpg" to your url. It should be ignored by the API and your image will be shown.

Re: Extensions vs MIME image types on quads

Posted: 05 Aug 2014, 14:26
by LT.Forever
Thanks. A weird workaround but works :1010