CFFILE and image props

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFFILE and image props

    I have used CFFILE many times with success. I now have a client that wants to
    upload images but wants to know if there is a way for me to have the site
    verify the image dimensions prior to upload.

    Does anyone know of a way to do this?

    Thanks.

    cosmo999 Guest

  2. Similar Questions and Discussions

    1. <cffile.... accept="image/*"....
      <cffile action="UPLOAD" filefield="file_path1" destination="#destination#" nameconflict="MAKEUNIQUE" accept="image/*"> the code works fine...
    2. "Page" and "Rect" props of the Field prop in Javascript API
      Page property of the Field property in Javascript Acrobat API returns an array of pages that this field exists in. On the other hand, "rect" property...
    3. Major props to Forta
      Just wanted to give big ups to my man Ben Forta. I purchased his web application construction kit. Not only is it a great reference tool and a fun...
    4. Saving image within CFFILE, not <img src
      Is there a way to place the result of a cfchart, or any other image file, into an RTF document so that the source picture can be deleted from the...
    5. Major props to this NG
      Although I've been on-line since compuserv, I'm new to Flash developing. After finding this NG accidentally, I just wanted to congratulate y'all on...
  3. #2

    Default Re: CFFILE and image props

    On 2005-06-20 11:15:25 -0500, "cosmo999" <brian.kortland@aig.com> said:
    > I have used CFFILE many times with success. I now have a client that
    > wants to upload images but wants to know if there is a way for me to
    > have the site verify the image dimensions prior to upload.
    >
    > Does anyone know of a way to do this?
    >
    > Thanks.
    This isn't possible prior to upload without using a java applet or
    something similar, but you can certainly verify the size after upload
    using ColdFusion. You do need to use an add-on component since CF
    doesn't do this natively, but there are plenty out there. Alagad Image
    Component ([url]http://www.alagad.com[/url]) is probably the most comprehensive,
    and there are also some listed on the Macromedia Developer's Exchange.

    Matt
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* 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