Welcome Guest, Not a member yet? Register   Sign In
How To Best Handle Image Uploads In A CMS
#1

[eluser]mdvaldosta[/eluser]
Standard file/image uploading isn't a problem, what IS a problem (that I've spent 2 days on, so far) is how to handle uploading an image on a form (like a posting screen in a CMS) without submitting the whole form. I don't want to use some pre-made complicated script, I need to do it in a way I can understand and build upon.

My preferred setup/logic is like so:

1. Form has a posting box, with a WYSIWYG editor. The image uploading will not be integrated.
2. I need to upload the image and display info about it on the page, but not submit the form because I don't want to do validation yet.

Essentially, this is the same way GMAIL handles uploads in emails. I believe they use an iframe to do this. Thoughts?

PS - I'm currently trying to get uploadify working (not sure why it doesn't work, as it works fine outside of CI). I'd really rather be able to do this with simple php/html/javascript in a controller/view though.


Messages In This Thread
How To Best Handle Image Uploads In A CMS - by El Forum - 12-22-2010, 08:50 AM
How To Best Handle Image Uploads In A CMS - by El Forum - 12-22-2010, 11:06 AM
How To Best Handle Image Uploads In A CMS - by El Forum - 12-22-2010, 09:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB