I am allowing a group of users on my site to upload images, I post a form and get that data fine in the controller, no problem here.
What I have is a content node that has an 'Upload' Data type that we have used in Umbraco CMS traditionally to upload our images, but now that I am allowing upload to the front end I am trying to do it programmatically.
The issue that I am having is that I do not want to actually create a Media node that will show up in the Media panel, because that is not what happens when I do it through the CMS. It always has just created the folder for me (\media\id\blah.jpg) but I am worried about creating the folder and just storing it on my own because it may just ignore my id's and create duplicates.
Cheers, Let me know if I need to clarify my issue
Devin
How to programmatically use upload data type
Hey all,
I am allowing a group of users on my site to upload images, I post a form and get that data fine in the controller, no problem here.
What I have is a content node that has an 'Upload' Data type that we have used in Umbraco CMS traditionally to upload our images, but now that I am allowing upload to the front end I am trying to do it programmatically.
The issue that I am having is that I do not want to actually create a Media node that will show up in the Media panel, because that is not what happens when I do it through the CMS. It always has just created the folder for me (\media\id\blah.jpg) but I am worried about creating the folder and just storing it on my own because it may just ignore my id's and create duplicates.
Cheers, Let me know if I need to clarify my issue Devin
is working on a reply...