Rank: Newbie
Joined: 2/21/2008 Posts: 2
|
I've got a lot of stories and articles on some old websites we need to merge into one site
I've created a story datatype, and for new content it's easy enough for users to upload the stories image/s via umbraco, but I'm confused over how to handle images for content bulk imported using .Net
The problem is when I want to transfer all the existing images, I can replicate the same data structures creating appropriate folders to place the stories and create new stories in Umbraco from the existing database
What I'm not sure about is how to handle the transfer of images, at the mount just the name of the image is stored in a database and hmtl add the server path and displays the image with the content in the existing Asp pages
In Umbraco I want to first, create a folder in the Media Library for each story/article category and dump all the images in the appropriate folder
For the story text it's a matter of creating a story property and in the User Controls code behind posting getProperty("Content").Value = "Blah blah blah"
But if I use say a MediaPicker Data Type to reference the photo how do I set the MediaPicker to reference the image I've already uploaded to the Media Library ?
I'm sure someone must have already done something similar
|