Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jay Walker 10 posts 38 karma points
    Sep 17, 2009 @ 00:00
    Jay Walker
    0

    Content Migration - How to map img src paths to media items

    Hi,

    I have a small site that I would like to migrate into umbraco. In short, my question is how to convert the old html img src paths to the new paths to those imgs inside umbraco.

    There are about 30 content pages that contain images. I uploaded the images to the Media section and queried the umbracoNode table to retrive node ids for the files. I created a spreadsheet containing umbracoNode.id, umbracoNode.text, and the original Img Path. I added a 4th column for the new path in the form: (/media/[id]/[text]).

    Is this the best way to create the mapping?

     

    Thanks,

    Jay

  • Jay Walker 10 posts 38 karma points
    Sep 17, 2009 @ 00:56
    Jay Walker
    0

    I also notice that user uploaded images (uploaded via the RichText Editor) have an img path that doesn't resolve to an id in the database.

    For instance one user uploaded image got put in the  /media/8822 folder but the id in the ContentNode table is 1314. How do these ids relate to each other?

Please Sign in or register to post replies

Write your reply to:

Draft