Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

1.0: Account Images: Resizing instead of Cropping?

Andy KAndy K
edited July 2006 in Vanilla 1.0 Help
Hi all, I'm used to 9.X where the pictures in the account were centered and resized instead of centered and cropped (as is the format in 1.0). Is there an easy way for me to modify the code so that it resizes pics instead of cropping them in the Accounts area?

Thanks!
-Andy

Comments

  • Options
    MarkMark Vanilla Staff
    Someone correct me if I'm wrong, but I don't think there's any way to resize using css. You'd have to create a new custom theme, copy the files that have source you want to change (probably the user search results, account profile, and comments page) and alter the html to use image tags instead of background images. Then you'd have to alter your css a bit so that everything sits in it's right place...
  • Options
    lechlech Chicagoland
    edited July 2006
    this format was addopted since about the mid-0.9.x series, you could simply rewrite the CSS rules though to do whatever you like and save it as a seperate style with those modifications. damnit mark! lol
  • Options
    I see. Thanks for the heads up, folks are pretty easygoing, I'll just ask them to crop their images themselves.

    Thanks!
    -Andy
  • Options
    MarkMark Vanilla Staff
    haha - Okay, I'll just go back to work. You guys have got this stuff covered, I see :)
This discussion has been closed.