•  · 90 friends

Thumbnail post link

I was wondering why limiting the size of the to 100 x100 is very small. Why not make a size identical to post photo? There is a particular reason?

0 0 0 0 0 0
  • 487
Replies (4)
  • 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)

    0 0 0 0 0 0
    • 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

      0 0 0 0 0 0
      • 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';

        0 0 0 0 0 0
        • Thanks for this tip, great !

          0 0 0 0 0 0
          Not logged in users can't 'Comments Post'.
          3
          2
          Added:
          Category:

          UNA - Social Media Software Framework

          Close