Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Tractor Loader (github.com/jasonthorsness)
4 points by jasonthorsness 70 days ago | hide | past | favorite
While writing, I loathe leaving my editor to edit images in some GUI. It's worse during the revision process, when the same image might need to be adjusted over and over as the article changes. So, to support https://www.jasonthorsness.com a few years ago I wrote https://github.com/jasonthorsness/tractor-loader.

Tractor Loader enables inline image transformation in JSX and MDX. For example, here is a crop from my MDX blog source:

![corner side view](./side_2.jpg?crop=350,500,550,200&tractor)

Now my workflow is to dump raw photos from my camera into an article's source folder, then crop and edit them inline while writing the article. I only rarely need to use a separate GUI image editor for advanced stuff. More examples are at https://tractor-loader.vercel.app/.

I've used this for years now -- is there anything else like this that is more standardized? Could this be useful for other sites? Any suggestions?




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: