TomboFry / microlight

A fully IndieWeb-compatible PHP blogging engine
GNU Affero General Public License v3.0
37 stars 3 forks source link

Create media endpoint #19

Closed TomboFry closed 5 years ago

TomboFry commented 5 years ago

An endpoint should be created to manage the upload of images to the website. If the image is wider than the owner's specified choice, it should resize it down, assuming the relevant library (GD or ImageMagick, haven't decided yet) is actively installed. Ideally, this should be implemented as a small library with largely reusable functions, so that the same functions can be used to upload the user's self-image when installing the site.

TomboFry commented 5 years ago

Finished in commit a427faf