burzum / cakephp-file-storage

Abstract file storage and upload plugin for CakePHP. Write to local disk, FTP, S3, Dropbox and more through a single interface. It's not just yet another uploader but a complete storage solution.
MIT License
197 stars 84 forks source link

No versions of jpeg files #180

Closed uemit24 closed 5 years ago

uemit24 commented 6 years ago

hello! I`m using file-storage version 1.2.1 on Cakephp 3.5 and my problem is, that the vesioning for jpeg-files doesnt seem to be working. It works for png and gifs, I dont even get any error messages, it simply doesnt create them. gd is intalled by the way and my php version is 7.1.21. Otherwise it works fine.

I also tried to update to burzum/file-storage:2.0.x-dev and cakephp 3.6, but when I did that, I get Class 'Burzum\FileStorage\Event\LocalFileStorageListener' not found /var/www/config/bootstrap.php:307

Any ideas?

thank you very much

ravage84 commented 6 years ago

@uemit24 can you update to the newest 2.0 version and try again, please?

burzum commented 5 years ago

@uemit24 I can't verify your issue. There must be somewhere a log. Did you check your php logs? Are logs enabled? We're using the 1.2.x version of the library in production for years now and we have around 2 millionen jpg files.

Can you please provide a little more feedback on this? I simply can't reproduce your issue.

uemit24 commented 5 years ago

I found the "problem", it has nothing todo with you ;-). Gd installation was not complete, that caused the problem. On the one hand side, I am glad it is still uploading the image even without versioning - but It surprised me, that it doesnt throw an error message at all ;-) . Sorry for wasting your time!

burzum commented 5 years ago

@uemit24 was gd not active at all? Hmm I can't simply add a check for that issue because not everyone is using gd. So gd can be off while imagick is used.

However, thanks for using my library. I recommend you to update to 2.x at some point, 1.2 won't receive any more updates due to a lack of time to do so in my free time. If you have any ideas on how to improve the library or make it easier to use just let me know!