I'm using a mediaupload in a doctype. The same doctype is used in the frontend. In the Umbraco course we only learned how to make a new folder and add a image to that folder but I don't want a folder.
What should I use codewise? My current code looks like this:
Thanks for your answer. In the backoffice we have a image upload (media cropper) that doesn't store images in a folder. On the site we have the same template and we want the same behavior with the images if possible.
Media upload via api
Hi all,
I'm using a mediaupload in a doctype. The same doctype is used in the frontend. In the Umbraco course we only learned how to make a new folder and add a image to that folder but I don't want a folder.
What should I use codewise? My current code looks like this:
How can I modify this code to not using folders?
Frans
Hi Frans,
You can only use root folder or a separate folder.
You haven't other choices, why you don't want folders?
Thanks,
Alex
Hi Alex,
Thanks for your answer. In the backoffice we have a image upload (media cropper) that doesn't store images in a folder. On the site we have the same template and we want the same behavior with the images if possible.
Frans
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.