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
$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
buurvrouw
View Replies:
sebastienj replied on at Permalink Reply
sebastienj
Did you have a url wiht a example ?
buurvrouw replied on at Permalink Reply
buurvrouw
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.

concrete5 Environment Information

.

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.