Commit Graph

22 Commits

Author SHA1 Message Date
Luke Towers 2c4d3c9f98 Fix issue where URLs generated by the ImageResizer were not correctly encoded.
Related https://github.com/laravel/framework/issues/34199
2020-09-08 16:04:40 -06:00
Luke Towers 19ebc8854e Remove unnecessary $sourceDisk & $sourcePath variables.
The $resizer instance provides access to the necessary data.
2020-08-25 11:06:38 -06:00
Luke Towers 0eac129003 Improve support for invalid inputs provided to the resize filter. 2020-08-24 15:24:40 -06:00
Luke Towers 2126cd3a0b Added $sourceDisk and $sourcePath as parameters to the image resizing events for better logging 2020-08-24 11:00:54 -06:00
Luke Towers 38718e0b5d Fixed bug where FileModel images wouldn't properly store their config after being retrieved from the cache 2020-08-21 17:53:28 -06:00
Luke Towers a25567c750 Use the same resizing process for FileModels that's used for everything else. 2020-08-21 16:22:14 -06:00
Luke Towers 825075a19b Fix support for Windows 2020-08-21 16:07:48 -06:00
Luke Towers 1e6573cc62 Cleaned up inline docs for ImageResizer, fixed tests 2020-08-21 14:07:23 -06:00
Luke Towers 444069da00 Finished implement imageWidth & imageHeight filters 2020-08-21 13:39:45 -06:00
Luke Towers 3f58951855 wip on imageWidth / imageHeight filter 2020-08-19 09:49:13 -06:00
Luke Towers 05731b1069 Fix bug 2020-08-18 13:41:53 -06:00
Ben Thomson 0020809634
Additional work on tests, should pass now 2020-08-17 16:41:49 +08:00
Ben Thomson 1fd9529786
Add 'auto' height and width options 2020-08-17 12:07:52 +08:00
Ben Thomson c25e41d51a
Remove unneeded use case 2020-08-17 10:32:52 +08:00
Luke Towers f346312266 Minor improvements 2020-08-15 00:55:17 -06:00
Luke Towers 288918a7d7 Finished initial implementation of resizer for all supported input image sources, added the storage/app/resized directory to the mirror command 2020-08-14 15:39:30 -06:00
Luke Towers 2351f2104d Implemented resizing logic for File models, fixed bugs 2020-08-13 20:58:48 -06:00
Luke Towers 17664dce6c Reorganized the ImageResizer class 2020-08-13 03:10:30 -06:00
Luke Towers 9cb8a0861b Finished implementing support for retrieving thumb URLs from FileModels, initial support for detecting completed resize operations 2020-08-13 03:02:06 -06:00
Luke Towers a992fb44bc Support the resized URL as a route param instead of GET variable, initial WIP on supporting File models 2020-08-09 03:07:07 -06:00
Luke Towers 6926908dad required code from last commit 2020-08-08 20:18:11 -06:00
Luke Towers 7b9408e394 More WIP, moved logic in the appropriate locations 2020-08-07 23:27:32 -06:00