Image uploaded in submit article

How to display an uploaded image in a submitted article using ChronoForms.

Overview

The issue occurs because the uploaded image file's URL is not being accessed correctly within the custom layout after form submission.
Access the uploaded image's URL from the form data array and use it to construct an image tag in your article content.

Answered
gr greendragon 08 Aug, 2014
Hi!
I have a form in which user can upload a image file, for submitting new article. I use a Custom Code action to place all the fields form in a custom layout. I have a problem with the file uploaded. How can I access it and show in the article on Submit event?
There is a way in Chornoforms or I have only to write php/html code?
Thanks!
Gr GreyHead 08 Aug, 2014
Answer
HI greendragon,

After the file is uploaded there is a url for it available in the $form->data array so you can use that to build an <img> tag in your article.

Bob
gr greendragon 03 Sep, 2014
Thanks Bob!!!
I solved using your suggestion.
This topic is locked and no more replies can be posted.