Closed mark-chief closed 10 months ago
Hi,
That looks correct.
Try to create a minimal test case to check if auto generating works as it should. When you save an entry with an asset in the specified fields in one of the sections specified, a queue job is created. If the queue job suns successfully, the transforms should be saved in your imagerSystemPath
(@web/imager
by default).
So check that your queue is running, and see if the transformed images end up in the correct place.
If they do, try to run the transform at the template level and see what happens. If you suspect that the transforms are still run, check if more/duplicate transforms have been created on disk, or if the timestamps for the existing transforms have been updated.
@mark-chief Did you do any more debugging om this?
Hi @aelvan - all sorted thanks. The code was correct as you said I just had to resave the entries. Thanks for this plugin!
Do you still call named transform in the template to access the auto generated image? I feel like the way I am doing it at the moment is still transforming on page load..
E.g. twig template
imager-x-generate.php
imager-x-transforms.php
Thanks for your help