How to create file object form assets folder?

@simon.bed You can use the Asset class:

$asset = new Asset("assets/images/someimage.jpg");
echo $asset->resize(100);
1 Like