Add image upload to user upload form
Posted: 24 Mar 2014, 02:35
Hi, i created a category to show a list of PDF magazines, and i show the magazine number list and for each i add a cover image. When i upload the files from backend i can add image for my magazines, but when a user upload a magazine from frontend he can't add cover image to his upload.
I'm trying add the function to add image to a new upload in frontend but i'm really lost
I locate the file when the form is created, /components/com_phocadownload/views/user/tmpl/default_files, i try to put
But don't work 
I'm really need help with this, sorry for my bad programmer skills and english.
Best regards.
I'm trying add the function to add image to a new upload in frontend but i'm really lost

I locate the file when the form is created, /components/com_phocadownload/views/user/tmpl/default_files, i try to put
Code: Select all
<td><strong><?php echo JText::_('COM_PHOCADOWNLOAD_FIELD_IMAGE_DOWNLOAD_LABEL');?>:</strong></td><td>
<input type="file" id="phocadownload-upload-image" name="phocadownloaduploadimage" />
</tr>

I'm really need help with this, sorry for my bad programmer skills and english.
Best regards.