Pym
Simple as possible image resizing proxy in PHP. Does just what I need right now and nothing more.
Installation
- Put on an Apache server.
- Visit https://example.org/width/height/https://boop.lol/imageurl.jpg
- Profit.
(Eg. https://example.org/800/600/https://rhiaro.co.uk/photos/IMG_20181126_081617.jpg
)
- The
.htaccess
file rewrite base is a directory calledresize
. Change this if you put the code at/
or in a different directory. - Images are always resized in proportion.
- Maybe one day I'll add cropping.
- You can set width or height to
0
if you only care about the other.