|jonw-repo 8fe7f5f6ce||3 月之前|
Image Shot is quick, dirty, and simple internet image hosting script. It is not a gallery which means you won’t upload an image and then be able to show it to others in your Image Shot gallery. Image Shot simply takes an image from you, resizes it in as may ways as you want, and then spits back both an HTML and a Markdown link for you to copy and paste somewhere else such as a blog post.
You need a web server running PHP with the ImageMagick extensions installed.
My installation also sends the image links to me in Slack. If you want to do something like that, add the necessary code around the print statements in lines 72-ish.
Add Credits (some code was borrowed in the true FOSS tradition) Make resizing smoother