SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2004
    Location
    mexico
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cropping an image...

    Hello this is my first post and after trying i cant get this to work..

    im trying to crop an image... but here is the deal...

    the user first send the params to resize the img...

    like script.php?width=160&height=160

    ok the image rezise to the closest to that so it wont do it bigger or thiner than the original file..

    so most time the image dosent stay exactly with those size 160x160

    it may be 160x140 and stuff...

    what im trying to do now is create the rezise a little bigger than that, and then fromthere crop it to the 160x160 size so the image will always stay that size...

    what u think?

    Thanks in advance!

  2. #2
    SitePoint Addict loadx's Avatar
    Join Date
    Jul 2004
    Location
    Melbourne, VIC, Australia
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what the hell ?

    you mean you want like an aspect ratio they can crop in like 1:3 ?

    be more specific and i think someone will help you


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •