Saturday, November 5, 2011

Handling images

I'm curious how I would go about setting up my script to process
multiple pictures and attach them to a post that doesn't exist yet.

In other words, a user is in the process of creating a new post - and
uploads an image that automatically gets processed (Some AJAX goodness
going on in the background). The post hasn't yet been submitted, but
now I need to associate the picture(s) with that post once it does get
submitted.

When the photo is uploaded and processed, and the response comes back
with the image name, would I put the name of the image in a hidden
field that gets submitted with the form?

Any other suggestions on how to accomplish this?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate