malt.io icon indicating copy to clipboard operation
malt.io copied to clipboard

Add Beer Glass Images

Open danielgtaylor opened this issue 13 years ago • 2 comments
trafficstars

Create a mapping of beer style -> glass shape, and create vector images of each glass shape. Create a script to output the glass with all probable beer colors and in several resolutions, to be served as static files. Associate each recipe with such an image, and display it somewhere on the recipe page. This image should also be used when sharing a recipe on e.g. Facebook, which currently only shares a text blurb about the recipe.

danielgtaylor avatar Oct 12 '12 17:10 danielgtaylor

Is there supposed to be a 1-to-1 mapping of style to glass? Referencing this list, it looks like there are multiple options for many of the styles. Should the glass be selectable by the recipe creator, with suggestions based on that list (or a similar list)?

jensyt avatar Feb 08 '13 22:02 jensyt

I was planning on a 1-to-1 mapping, but choosing a glass style would be pretty easy and then can just be stored in the recipe object.

I also think it would be cool to use text transforms to draw an auto-generated bottle with a label of the beer's name, but that would require browser support for SVG with those transforms, or using CSS3 transforms. Definitely not required, but something to think about.

danielgtaylor avatar Feb 08 '13 22:02 danielgtaylor