skinofthesoul / grav-plugin-automagic-images

Automatically creates responsive images for Grav and adds a sizes attribute to the srcset according to CSS classes.
MIT License
7 stars 1 forks source link

Plugin doesn't do anything. #2

Open SteveMcArthur opened 3 years ago

SteveMcArthur commented 3 years ago

I'm sure I must be doing something wrong, but the plugin doesn't seem to do anything.

I'm using grav 1.7.17

I've tried saving the page with the expectation of seeing the various sizes being generated in the folder - but nothing happens. Tried uploading an image. Same again.

Plugin is enabled. Tried with both Imagick and GD.

My only thought is that there is possibly some sort of incompatibility with the grav version.

skinofthesoul commented 3 years ago

Hey there, thanks for reaching out! Actually, you are not going to see more images in Grav Admin, because Admin hides images with the same-name@2x naming convention which this plugin uses. What should happen however is when you upload a large enough image and save the page, you should get a purple message at the top (above "page saved successfully", I think) telling you how often which image was resized. It'll only tell you on the FIRST save though.

You could also check via FTP whether the folder contains multiple versions of the image you uploaded. If you can confirm that nothing happens on saving a page with a newly uploaded, fairly large image, please tell me some more about your installation, specifically what other non-standard plugins you are using.