BKWLD / croppa

Image thumbnail creation through specially formatted URLs for Laravel.
MIT License
496 stars 91 forks source link

Update URL.php #188

Closed iAvenger01 closed 4 years ago

iAvenger01 commented 4 years ago

I use the cloud to store source and crops images, but Croppa :: url (), unfortunately, does not render, but only creates a link to crops of the image. Therefore, I am trying to expand the package for this. But I was faced with the fact that the package uses the "private" visibility zone for the config, which does not allow expanding it.

With this pull, I suggest changed to "protected" config for future use in extensible classes.

Also, maybe I can offer to add rendering in the absence of a file through Croppa :: url ()?