save image to server

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default save image to server

    guys,
    After lots of searching, there seems to be lots of tutorials on how to
    output a resized image to the browser, but none to save it to a directory
    on the server. I have an image previously uploaded and i need to resize it
    and save it to a subfolder "thumbs".
    So far i have resized it, and stored it as $imgThumb (this is from
    imagecopyresized(args[...])) but writing it to a file on the server eludes
    me. I have full permisions on the server (CHMOD 777),
    and at the moment i am using gd 1.6.8,

    Thanks in advance,
    Jon
    Jon Guest

  2. Similar Questions and Discussions

    1. Save image into database
      Hi, I would like to know how i can save and retreve image from a field in a access database. thanx in advance
    2. Save image
      I am sure somewhere this has been answered but why can't I not save an image I am working on? The program says something we cannot save this file...
    3. How do I save an image to RGB colors?
      How do I save an image to RGB colors that is now in Hexadecimal?
    4. Can I save snapshot with image ?
      You cannot do that. The simplest thing to do is save periodic copies of your image. You can then easily go back to an earlier variant.
    5. How To Browse for an image file and save it to image server folder
      I trying to browse for an image file and save it to the server image folder. in other words , upload the picture. I tried html and aspx.net...
  3. #2

    Default Re: save image to server

    don't we need GD 1.8 minimal config for resizing and writing files like jpg
    ? or html ?


    "Jon" <jonchalk@hotmail.spam> a écrit dans le message de news:
    [email]oprso1imxgn6j0ws@news.f9.net.uk[/email]...
    > guys,
    > After lots of searching, there seems to be lots of tutorials on how to
    > output a resized image to the browser, but none to save it to a directory
    > on the server. I have an image previously uploaded and i need to resize
    it
    > and save it to a subfolder "thumbs".
    > So far i have resized it, and stored it as $imgThumb (this is from
    > imagecopyresized(args[...])) but writing it to a file on the server eludes
    > me. I have full permisions on the server (CHMOD 777),
    > and at the moment i am using gd 1.6.8,
    >
    > Thanks in advance,
    > Jon

    aymeric Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139