SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    London
    Posts
    87
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image manipulation

    Is there a way to resize image that have been loaded onto a server?

    Either using a slider where the user could see the image reduce in scale or just automatically set the size to a specific amount of pixels...

    Thanks,


    R

  2. #2
    SitePoint Evangelist pip's Avatar
    Join Date
    Jun 2001
    Location
    Cape Town, South Africa
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you mean server-side?

    By using GD Libraries, you could manipulate the image in any way you want, but it has to be server processed, and in affect the image will be reproduced by the time the page is displayed.

    Alternatively, should you be looking at getting it done dynamically, some JavaScript code and DHTML might be capable.
    - Pip
    ---------------------------------------------------------------------------------
    Nothing takes the taste out of peanut butter quite like unrequited love.


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
  •