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.
Options

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

  • Options
    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.

  • Options

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

  • Options
    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.

  • Options

    Worked, thanks!

  • Options
    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.

  • Options

    @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.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

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

  • Options

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

  • Options
    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.