Forums

Submit Content, Upload, Resize & Include Pictures

jbudd 18 Oct, 2009
A client has asked me to provide a way for schoolchildren to write blog entries, including uploaded pictures, similar to the Wordpress Upload Picture button.

There does not seem to be an Upload/Insert button available for JCE. The Image Manager is much too complex for children (or probably more accurately, their teachers!) to cope with.

Using JCE utilities to make an Ajax popup I can embed the Joomla Flash Uploader plugin as an "Upload a picture" link in my form. JFU takes care of resizing the picture and defining where it is stored.

But is it possible to get Chronoforms to automatically include the uploaded picture into the page it is creating? I guess this needs some sort of communication between the JFU and Chronoforms?

I considered a before / after comparison of the files in the images folder and append any new ones to the post. That could only work for one user at a time though.

Any suggestions?

Thanks,
jb
GreyHead 18 Oct, 2009
Hi jb,

I'm not sure about integrating the JFU. But you can simply use a File upload in ChronoForms and turn on the image resizer plugin if you want to re-size or crop.

ChronoForms has quite good control over where the form is uploaded to and I think ti will do everything that you need at that end.

Integrating with the article is a little tricker - but if you use the ChronoForms Submit_Content form it's certainly possible to adapt that to put an image inside the article.

Bob
This topic is locked and no more replies can be posted.