Some how I missed this!
Use CSS to resize the <img> You only need to set one dimension for images in browsers, the style rendering will automatically scale the other axis proportionately. By default, UO Assets are 44x44, but most artwork is taller than it is wide, so the best best way to display it is by modifying the max-width property instead of width.Specifically it would just be a PHP page reading itemids/hues from a database and placing them into a table on my shard website. This table includes all items in the world, itemids, amounts and all hues that exist for that item (well, the info/hues would be a sub-page).
I generated images of all itemids from the Ultima SDK so the max dimension X or Y can be is 40 and it's scaled from there, as these fit nicely into a table while remaining low in size, similar to how I have generated thumbnails for this page: http://uolostlands.com/bestiary/
The problem comes with hueing the items since they are just .png files, I cannot hue them on the fly, they must be generated from the SDK. Instead I will use your API to display these, resizing is just a minor inconvenience.
I ended up finding a resource on the RunUO forums which generates the images using PHP, and adding a small trim/resize function to it. But you are right, I should have just resized with CSS, I did it the hard way for no real benefit because I didn't fully understand what I was trying to do.Use CSS to resize the <img> You only need to set one dimension for images in browsers, the style rendering will automatically scale the other axis proportionately. By default, UO Assets are 44x44, but most artwork is taller than it is wide, so the best best way to display it is by modifying the max-width property instead of width.
Take a look at this page http://www.uofreedom.com/features/imbuing/ (generated by SQL data which is updated on every shard boot-up)
Although, I doubt you need this advice, your website looks really amazing... the bestiary is really, REALLY nice.
No we don't have that right now as it's not as simple as the rest. Bodies are comprised of multiple animations such as walking/running , idle, bowing etc and each animation has many frames. In the future when I have time I might come up with a solution for this but right now it is not available.I see.. I was hoping to get something /body/212 <--- grizzly bear or /body/116 <-- nightmare..
but no biggie just wondering. Thanks!