cilki / gameframe.online

GameFrame is a gaming analytics website created for CS373
http://gameframe.online
Apache License 2.0
5 stars 1 forks source link

Deal with differently sized game covers #31

Closed cilki closed 6 years ago

cilki commented 6 years ago

The games grid would look much better if every cover was the same size and evenly spaced. Scaling the images would look extremely bad so we need a way to fake the size.

I propose this solution: For awkwardly shaped game covers, we can put the image onto a CD LIKE THIS. This would allow the game card to be a fixed size like the other rectangular covers.

In the database, I can make separate fields for cd-cover and box-cover.

There are two possibilities for implementing this:

A final solution would be to simply drop all games without the right size covers, but that's no fun.

cilki commented 6 years ago

This was completed by writing an ImageMagick script that converts the Steam headers to attractive CDs. The images are hosted on a CDN for much higher speed.