0

I've implemented Laravel Clyde https://github.com/antennaio/laravel-clyde which is an wrapper for Glide https://github.com/thephpleague/glide

This set-up works for uploading, caching and retrieving images etc. However I need to be able to rename an image when it's downloaded.

I cannot see a way of doing this using these packages.

4

1 回答 1

0

我认为 clyde 的目的之一是抽象那些操作配置。如果您只使用 glide,那么图像文件名看起来不错,但用户会看到那些凌乱的参数。一种解决方案可能是在显示完整图片的视图上提供不带 clyde 的文件。

于 2016-06-01T15:36:54.767 回答