Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Change the size of the Thumbnail?

I'm poking around but can't seem to find where in the code the size of the thumbnail is defined... Is it possible to change the size?

Comments

  • TamaTama United Kingdom ✭✭✭

    add this to your theme's custom.css file

    .Attachment img {
           height: 100px !important;
           width: 100px !important;
    }
    

    There was an error rendering this rich post.

  • that worked, but it distorts the aspect ratio of the image...

  • TamaTama United Kingdom ✭✭✭

    @nickldavis said:
    that worked, but it distorts the aspect ratio of the image...

    try just changing the height and leaving the width, or vice versa

    There was an error rendering this rich post.

  • Worked, thanks!

  • jeongweejeongwee Vanilla version 2.6 ✭✭

    @Tama my version is 2.1 how could i change the Thumbnail size.
    i don hv custom.css file ,i use default theme and rewrite the css at style.css.

  • @jeongwee said:
    Tama my version is 2.1 how could i change the Thumbnail size.
    i don hv custom.css file ,i use default theme and rewrite the css at style.css.

    you got bad advice, if that is what you did. You "CREATE" a custom.css.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    $Configuration['Garden']['Thumbnail']['Size']= 140;

  • Thanks Tama. I too did not create a cutom.css. I guess i need to do it ASAP.

  • TamaTama United Kingdom ✭✭✭
    edited July 2013

    @Joebox said:
    Thanks Tama. I too did not create a cutom.css. I guess i need to do it ASAP.

    http://vanillawiki.homebrewforums.net/index.php/A_Quick-Start_Guide_to_Creating_Themes

    There was an error rendering this rich post.

Sign In or Register to comment.