[nycphp-talk] Resize pictures before uploading
Steve Francia
steve.francia at gmail.com
Wed Jul 11 14:04:19 EDT 2007
Javascript doesn't have access to the client-side files.. But Java and Flash
do. You could do this in Flash pretty easily.
Agreed as a general rule you would want to store the full size images server
side, but I can think of many exceptions to that rule, a common one is,
using it for an icon/avatar.
-Steve
--
Steve Francia
http://zoopframework.com
On 7/11/07, tedd <tedd at sperling.com> wrote:
>
> At 10:01 AM -0400 7/11/07, Dell Sala wrote:
> >On Jul 11, 2007, at 7:51 AM, tedd wrote:
> >
> >>On Wednesday 20 Jun 2007 21:42:13 Nelly Yusupova wrote:
> >>>
> >>> Is there a script or any way I can resize the pictures before
> uploading?
> >>
> >>Nelly:
> >>
> >>Sure, you'll have to write something client-side, namely javascript
> >>to do it. But, there's all sorts of javascript scripts to resize
> >>images available to choose from, try Google "resize images
> >>javascript"
> >-snip-
> >Also cool stuff, but all the processing happens on the server-side.
> >
> >-- Dell
>
> My bad - you're right. I had a senior moment.
>
> I was thinking that because the operation had to take place
> client-side that a client-side language should work. However,
> javascript doesn't have access to client-side files.
>
> Sorry,
>
> tedd
> --
> -------
> http://sperling.com http://ancientstones.com http://earthstones.com
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070711/f2362c29/attachment.html>
More information about the talk
mailing list