Open gmcz opened 6 years ago
@gmcz please try again - it looks like a had a copy/paste error when extracting that one from a bigger addon on my local machine
Thank you! That seems to get rid of the error!
However, the plugin seems to have no effect on my assets' names. Does this work with glide presets, or perhaps not?
I'm not sure if it does work with Glide presets - in fact I'm not using it any more for my own projects. This worked really well prior to Statamic 2.5. In the 2.5 release they have changed all the image URLs which did cause a real mess for live sites (had to do 301s for all my images to not lose my existing Image Search SEO results). As they are now treating on demand resizes, presets and serving cached images differently it's not that easy any more to have vanity URLs for images.
This is still working for images generated on demand, but I've not yet extended it to also work for images which are served directly from the cache.
Statamic: 2.8.7 Server: Valet on macOS
I installed by putting a folder GlideVanityURL into site/addons with everything from the repo and then ran
php please update:addons
. I get this error when attempting to access the site now: