KevinWorkman / StaticVoidGames

http://StaticVoidGames.com
GNU General Public License v3.0
5 stars 7 forks source link

Default Game Thumbnails #10

Open KevinWorkman opened 9 years ago

KevinWorkman commented 9 years ago

Games can specify a thumbnail image, but it's not required.

Games that do not specify a thumbnail image currently show a broken image.

We have a couple options for default thumbnails, it's just a matter of writing the code that chooses them whenever the game thumbnail is null.

bigbass1997 commented 9 years ago

It appears that there is already code within the Member.java class (in the getProfileImageUrl() function) but its commented out. I'm not sure if it works but there is code there that looks like it would do what you want.

KevinWorkman commented 9 years ago

Yeah, this logic existed on the old site, so some of that might be a holdover. The new site works slightly differently with the images (in order to support other S3 sources), so that logic might have to change slightly.

iandioch commented 9 years ago

... Might it be possible to use a randomly chosen image from Google or Bing based on the title of a game? I wrote a Python twitterbot @arseclench that steals images from Bing (Google blocks bots), it's most definitely doable. It could be a cool little feature to give all games unique default images, that are actually related to the subject matter. That said, I'm not sure about the legality of it. :(

bigbass1997 commented 9 years ago

I feel that would cause a lot of legal issues. Quite a few images found on google are under some type of copyright so I would refrain from taking images from there and putting them on the site.

iandioch commented 9 years ago

What about somewhere like freestockimages.net?

KevinWorkman commented 9 years ago

I'd be extremely cautious about the legality of displaying random images from other sites, plus there's no way to filter out porn/gore/badstuff. It's a cool idea, but probably a little too fun for something like this.

I think it's safer to stick with a Static Void Games logo, or maybe a random collection of Static Void Games logos with different styles or color themes?

Either way, I'd also recommend baby steps in everything: step one is to display the logo image, even if your eventual goal is to display something fancier than that.

iandioch commented 9 years ago

Yeah, that's probably wisest (although the sites do have their own fairly powerful filters for NSFW content). We can work on exciting procedural GIF logos later!