automatic resizing when uploading a picture

Last post 09-03-2007 11:47 AM by darkknight187. 1 replies.

Sort Posts:

  • automatic resizing when uploading a picture

    09-03-2007, 9:17 AM
    • Member
      2 point Member
    • rudip
    • Member since 07-30-2007, 4:00 PM
    • Posts 22

    Hi,

     Can someone help me please? 

    People can upload pics.  I have  a box where a max size photo of 400 x 400 pix can fit in. The pics are alway centered . Is there a way, or some code, that i can use when a smaller or larger photo is uploaded, so that it automatically resizes the photo to fit within certain parameters in that box without deforming the picture?

     

    Thank You

    Rudy

  • Re: automatic resizing when uploading a picture

    09-03-2007, 11:47 AM
    • Contributor
      2,578 point Contributor
    • darkknight187
    • Member since 09-14-2006, 12:35 AM
    • Bothell, Washington
    • Posts 1,010

    I'm not sure if I understand exactly what you're looking for, but if I'm right the easiet way to accomplish a 400 x400 pic is just to use the pre-existing code for uploading images in the classifieds starter kit.

    Which you already have the code.

    You would just need to alter /App_Code/BLL/DefaultValues

    If this is not what you are looking for please clarify.

    Please remember to click “Mark as Answer” on the post that helps you.
    This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)