Forums

how to display image with the submit content form?

dee-pack 21 Apr, 2010
Hi,

I have installed the submit content form and it works good! Thanks a lot that exactly what I want.

Now I have to customize this form and I want to add a upload file system.
So I have put this code into the form code
<div class="form_item"><div class="form_element cf_fileupload"><label class="cf_label" style="width: 150px;">Photo</label><input class="cf_fileinput cf_inputbox" title="" size="20" id="file_0" name="file_0" type="file" /></div><div class="cfclear"> </div></div>


I have two problems:
- I don't know if the file was uplaod (i don't see it into my Full upload Path (writable) (and I enable the upload).

- I don't know how to display the file (an image) into the article and at a specific position into the article.

Can anybody explain me how to do that?
GreyHead 21 Apr, 2010
Hi dee-pack,

Turn Debug on in the Form General tab and you shoudl get reporst that will help debug the form upload.

You have to embed the image code into the content of 'fulltext'* field to have it save as an article. There are a couple of threads here about doing that.

Bob

* I may not have the correct name from memory.
dee-pack 21 Apr, 2010
Ok that's works !
This topic is locked and no more replies can be posted.