agnivade / shimmer

Image transformation in wasm using Go

Home Page:https://agniva.me/shimmer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix aspect ratio

robertlugg opened this issue · comments

The aspect ratio of the image appears set by the browser window. Instead, have the image left at a fixed aspect ratio.

Yeah, currently the width is hardcoded to 49%, to prevent large images from not appearing side-by-side. Some more CSS magic sprinkle needed. PRs are most welcome.