Nice! Exactly what I was looking for. SkinsDB is inefficient with preview images. Simple_skins could use this dynamic image preview generation function, Oh but its not added... it also has a lot of unused space!bosapara wrote: I discovered some good thing, preview can be generated even without preview images:
I used the code that bospara shared to create a version that looks a bit nicer and I rearranged allthe SFINV elements and added back some meta data that was cut from the simple_skins version. I didn't think the back of the skin was as important as the front so I removed that element. I ended up with a version like this:
Here is the source, so your skins interface can look as beautiful as mine:
https://www.notabug.org/FreeGamers/Sara ... s/init.lua
I only use sfinv because I think its the easiest for anyone to understand, so I did not test this with any other inventory mod.