can some one explain how a new media item gets stored physically?
Add a new media item (Image) to the media section, goto the image and look at the "Properties" tab, the id generated is "xxxx", but how this file is physically located in the "~/media/" folder?
I dont see the "xxxx" folder created physically, but the file is available under some other folder name.
I don't see this happening, below is the image item (media item) I created,
And below is the folder location,
I see the property id being "4712" and the folder where the image file located is "500405". I also searched for test 4712 and 500405 in app_data/umbraco.config file, but I couldn't find it.
Am i missing some steps while adding an image? I could use the image file (media item) but.
4712 is not a property it, that is the actual media Its id.
This is the structure:
Media item (id 4712) - upload field (id: 500405)
Media item gets its id from umbracoNode table and upload field property id, gets its id from cmsPropertyData table, which the upload field then uses to ensure the file is stored in a unique location.
How does the media item stored physically?
Hi,
can some one explain how a new media item gets stored physically?
Add a new media item (Image) to the media section, goto the image and look at the "Properties" tab, the id generated is "xxxx", but how this file is physically located in the "~/media/" folder?
I dont see the "xxxx" folder created physically, but the file is available under some other folder name.
Thanks
Santhosh
media files are located under their upload property's property Id so each file will be in /media/propertyId/file.ext
Hi per,
I don't see this happening, below is the image item (media item) I created,
And below is the folder location,
I see the property id being "4712" and the folder where the image file located is "500405". I also searched for test 4712 and 500405 in app_data/umbraco.config file, but I couldn't find it.
Am i missing some steps while adding an image? I could use the image file (media item) but.
Thanks
Santhosh
4712 is not a property it, that is the actual media Its id.
This is the structure:
Media item (id 4712)
- upload field (id: 500405)
Media item gets its id from umbracoNode table and upload field property id, gets its id from cmsPropertyData table, which the upload field then uses to ensure the file is stored in a unique location.
is working on a reply...