Results 1 to 2 of 2

Thread: resize image

  1. #1
    Join Date
    Apr 2008
    Location
    Kuala Lumpur City Center, Malaysia.
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default resize image

    how we can resize image using php in order to minimum or page load?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    PHP can resize images.

    Function, information and examples here:
    http://www.php.net/manual/en/functio...yresampled.php

    I do not understand your question-- "...to minimum or page load"


    NOTE: I recommend SAVING that image, and then using that file for every visitor. Resizing an image is slow, and it is a lot of work for the server. You can have it automatic (from an admin page, or when you upload the image), but have that image save, not regenerate every time you view the page.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •