- Issue created by @paulbeaney
- πΊπΈUnited States rosemarystanley
Ok couple of questions
- Did you set any hard or soft limits on the crop?
- Are you using the Automated Crop Effect or the Manual Crop effect with an automated crop provider?
- In the widget settings, do you have "Show default crop area" checked? I have noticed that this helps to see what the automatic crop will look like. Otherwise it won't show the crop box in the Image Widget Crop until you manually set/change the default.
- Is it just not showing in the IWC view or have you tried looking at the generated image style?
- π«π·France paulbeaney
Thanks for the quick reply!
1. hard or soft limits on the crop?
Yes, 620px hard limit on the width2. Automated Crop Effect or the Manual Crop?
I was using the Automated Crop, but I have just tried the Manual with the default crop provider and everything has popped into place :)3. do you have "Show default crop area" checked?
Yes, and now that the crops are applying, the 16:9 crop is showing as "Crop applied" on all the images.4. Is it just not showing in the IWC view or have you tried looking at the generated image style?
The generated images were passing through untouched, and the IWC view was showing what I assume is the default crop (aspect ratio 16:9, full width of the image, with equal offets above and below the crop depending on the native aspect ratio of the image).To resume, it looks like I have should have used the Manual Crop effect then, and now I can override the crops manually if ever I want to? Should those manual changes take immediate effect? I have just tried it and they don't seem to, but that could be because we are using Amazon S3 for the file storage, which adds another layer of complication.
- πΊπΈUnited States rosemarystanley
Ok so there may still be a bug with the Automated Crop style effect. But yeah the automated crop effect, likely would not show in the IWC because it skips over the ability to manually set the crop. However, the generated image should be created so I'll look into that.
As for your question about the Manual crop changes... yes they should change right away in a normal file storage setup but I'm not sure how your S3 is set up. Does it upload/fetch files on cron? Maybe try checking there? Or try clearing cache for it to fetch something new just to test.
-
rosemaryreilman β
committed be8bcc17 on 4.x
Issue #3503623 by rosemaryreilman: Crop not happening automatically
-
rosemaryreilman β
committed be8bcc17 on 4.x
- πΊπΈUnited States rosemarystanley
I have confirmed that the automatic crop image effect is not working and have committed a fix on the dev branch. The issue was there was a missing event type in the dispatch of the automatic crop provider list.
$this->eventDispatcher->dispatch($event);
should have been
$this->eventDispatcher->dispatch($event, Events::AUTOMATIC_CROP_PROVIDERS);
- πΊπΈUnited States rosemarystanley
Ok created release 4.0.2 that has this fixed. Closing this issue. Please feel free to reopen if you need!