jules

Damn. I tried using a php function to do the resize, but same outcome.

dorsetdigital

It's not expected, no. Should work fine with PNG files

jules

Worth mentioning, I’m using "intervention/image": "dev-bugfix/2.4.2-fix-exif-error as 2.4.x-dev", as there are errors thrown for many png files when exif data is not present. How the files don’t have exif data, or why that would be compulsory, I have no idea.

jules

Is it expected that $Image.ScaleWidth(200) doesn’t return anything for a PNG? 🤔 Seems to work fine on other file types.

alt

so ideally I want to translate the rule into a sql query

firesphere

I think the modeladmin's getList should be used in your custom modeladmin, to filter before instead of after?

firesphere

I've struggled with the same, where it just comes up with empty items in the list

alt

is there a way in ModelAdmin to have correct page counts and sizes when canView prevents some DOs from showing?

lerni

jeah also be carefull if you use templated json, since json is pure and doesn't know such things