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.

Picture Scaling Extension?

edited July 2006 in Vanilla 1.0 Help
Is there any extension that will allow user's pictures to be scaled into the corrected sizes instead of centered and cropped? Is this even possible? 90% of my members don't know how to resize/crop/scale pics in a graphics program. It would be great be able to have them upload any size pic and have something resize it to the appropriate dimensions. I guess some cropping would have to happen if the pic wasn't square and because the large icon dimensions are not square.


  • Options
    sure it's possible. but you're right, most pictures would need either cropping to exactly fill the dimensions, or just resizing so that all of the length or width of the picture fit in the box. i've done this in PHP a million times, but never as a vanilla add-on. it would be simple.
  • Options
    would you like to create this awesome extension ithcy?
  • Options
    sure, i'll add it to the list ;)
  • Options
    I've wanted to add some kind of graphix editor in the next release of Account Pictures :)
  • Options
    i've been working on an ajaxy sort of thing... i'll hurry it up
  • Options
    TreyTrey Charlotte NC New
    edited July 2006
    have ya'll ever messed with image magick? I've been using that recently to resize images cause it can resize animated and transparent images where GD doesnt have support for that. Maybe somehow in the extension you're creating have an option to use image magick instead of gd would be cool! Though not all host / servers have it installed.
This discussion has been closed.