rcrowe/TwigBridge

Resize Filter?

creazy231 opened this issue · 4 comments

I used the | resize(x, y) filter within an old project some month ago.
Now I started a new project using laravel and twigbrige because I like the way twig works, but I tried to use the resize filter without success.

Is there any way to get the resize filter work using twigbridge?

Do you have a link to the filter? Not sure what it does?

Timber for WordPress had such a function

Sorry not familiar with that. I would assume it would also need something like Glide to actually resize the images, or generate thumbnails

Ok, realizing that this is an feature that does not come out of the box with twig.
Are there any plans adding this feature to TwigBridge or can we do this on our own? I think I have to create my own filter, right?