Refactor photo uploading #23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both
Service\OfferPhotoHelper
andService\PhotoResizer
should work together directly insted of individual calls from the controller.Instead of uploading the full-size image first, saving it and then converting it, the save step should be skipped. If implementation allows it, client side compression would be even better.
Conversion to
webp
could be implemented as well for increased performance. It is as easy asusing
Imagine\Gd\Imagine