Thumbnail post link
I was wondering why limiting the size of the #thumbnails to 100 x100 is very small. Why not make a size identical to post photo? There is a particular reason?
-
-
·
Alex T⚜️
- ·
This is the choice of the designer. I think another template can make it bigger (it's possible to change size of thumbnail in the DB, but relates CSS styles have to be changed as well)
-
·
Alex T⚜️
-
- · Baloo
- ·
Ok, thank Alex,
So to change the size of the thumbnails here is what I did.
in /modules/boonex/timeline/template/css/view.css
at the line 244,
replace
div.bx-tl-view-outline div.bx-tl-il-thumbnail img {
width: 100%;
max-width: 100px;
height: 100%;
max-height: 100px;
}by
div.bx-tl-view-outline div.bx-tl-il-thumbnail img {
width: 100%;
max-width: 318px;
height: 100%;
max-height: 318px;
}In the database, in the table `sys_transcoder_filters`
Edit field 'bx_timeline_photos_preview'
'Resize', 'a:3:{s:1:"w";s:3:"100";s:1:"h";s:3:"100";s:13:"square_resize";s:1:"1";}', '0'
by
'Resize', 'a:3:{s:1:"w";s:3:"318";s:1:"h";s:3:"318";s:13:"square_resize";s:1:"1";}', '0'
We can make an intermediate choice, but 100 I find that really little
-
-
·
Alex T⚜️
- ·
Also if you want all existing photos to be automatically resized to the new dimension, update `ts` fields in `sys_objects_transcoder` table:
UPDATE `sys_objects_transcoder` SET `ts` = UNIX_TIMESTAMP() WHERE `object` = 'bx_timeline_photos_preview';
-
·
Alex T⚜️
-
- · Baloo
-
·
In reply to Alex T⚜️
- ·
Thanks for this tip, great !