Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Dynamic aspect-driven image rendering for web developers (ratiorender.com)
3 points by barefootsanders on Oct 11, 2023 | hide | past | favorite
Hello HN!

A few months back I was developing a website and I had to manually (re)crop images a bunch of times to test different image placements and layouts. I thought it would be neat to have a way to generate those images on the fly.

Enter.. Ratio Render! (https://www.ratiorender.com)

Ratio Render enables web developers to dynamically render image placeholders on their websites via their aspect ratios.

Rather than serving up fixed dimension jpg or png images, Ratio Render serves up SVGs which maintain their aspect ratios while scaling infinitely.

Images get embedded via a standard image tag e.g. `<img src="https://api.ratiorender.com/4/3">`

It's built with Typescript & Node, runs powered by AWS Lambda, and deployed via Terraform.

I'm actively working on it and there is lots of room for improvement.

Any comments, feedback, or suggestions are welcome, especially if you're a web developer!




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: