square thumbnail in page list
Permalink Browser Info Environment
Hi Sebastien,
I would like to use square thumbnails in my pagelist. I've added a thumbnail type in /dashboard/system/files/thumbnails with handle 'portret_square' with a size of 200x200 px.
Now in the pagelist template 'vedana_portfolio.php' i've changed line 15 from
to:
But the square thumbnail does not display. Do i have to change more to get this working?
I would like to use square thumbnails in my pagelist. I've added a thumbnail type in /dashboard/system/files/thumbnails with handle 'portret_square' with a size of 200x200 px.
Now in the pagelist template 'vedana_portfolio.php' i've changed line 15 from
$type = \Concrete\Core\File\Image\Thumbnail\Type\Type::getByHandle('tiny');
to:
$type = \Concrete\Core\File\Image\Thumbnail\Type\Type::getByHandle('portret_square');
But the square thumbnail does not display. Do i have to change more to get this working?
Type: | Pre-Sale |
---|---|
Status: | In Progress |
Did you have a url wiht a example ?
For now I solved it without using responsive images. Just cropping thumbnails like we did in 5.6.
I guess i do want to use responsive images at some point, for another site. If so, i'll get back to you.
Thanks for looking into this.
I guess i do want to use responsive images at some point, for another site. If so, i'll get back to you.
Thanks for looking into this.