Message of the day:
SS 4.4.0-RC1 is out. Changelog: https://github.com/silverstripe/silverstripe-framework/blob/4.4/docs/en/04_Changelogs/4.4.0.md
SilverStripe 4 related information and questions.
Damn. I tried using a php function to do the resize, but same outcome.
It's not expected, no. Should work fine with PNG files
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.
Is it expected that
$Image.ScaleWidth(200) doesn’t return anything for a PNG? 🤔 Seems to work fine on other file types.
so ideally I want to translate the rule into a sql query
I think the modeladmin's
getList should be used in your custom modeladmin, to filter before instead of after?
I've struggled with the same, where it just comes up with empty items in the list
is there a way in ModelAdmin to have correct page counts and sizes when
canView prevents some
DOs from showing?
jeah also be carefull if you use templated json, since json is pure and doesn't know such things