The plugin Resize Images isn't working anymore since Grav pages have become flex objects by default. (I have since discovered that you can turn this behaviour off in the flex objects settings, but sometimes pages as flex objects are very useful.) This is because it checks onAdminSave whether the saved object is a page like this:
public function onAdminSave($event)
{
$page = $event['object'];
dump($event);
if (!$page instanceof Page) {
return false;
}
[…]
}
As you can see I put in a dump($event) to see what it looks like now, but that doesn't actually do anything?! How do I get the attached media files from a flex object page?
Thank you for your time and thoughts!