ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

how to change size of default thumbnail

March 28, 2013 3:43pm

Subscribe [2]
  • #1 / Mar 28, 2013 3:43pm

    adambeazley

    153 posts

    Hello,

    I would like to change the size of the default thumbnail generated by EE2 when I upload a file. How do I do that?

  • #2 / Apr 02, 2013 11:32am

    worfoual

    61 posts

    I think you can change it there:
    system/expressionengine/libraries/Filemanager.php
    line 1241
    function create_thumb($file_path, $prefs, $thumb = TRUE, $missing_only = TRUE)

    You wil find this:
    if ($thumb)
      {
    $dimensions[] = array(
    'short_name' => 'thumbs',
    'width' => 73,
    'height' => 60,
    'watermark_id' => 0,
    'resize_type' => 'crop'
    );
    }

    Francois

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases