Copied to clipboard

Flag this post as spam?

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


  • Bharath 40 posts 62 karma points
    Mar 23, 2010 @ 07:19
    Bharath
    2

    How do we import images using CMSImport?

    How do we import images using CMSImport? whether binary image in DB or filesystem image can be moved to media folder in umbraco?

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Mar 23, 2010 @ 12:52
    Richard Soeteman
    0

    Hi,

    Currently you can't import images and/or binaries. I have doubts that I ever add functionality like that. There is a Import media package already. However in the context of content I will add an import for media. The magic word is FieldAdapters. Best to explain by an example

    When you import data like a piece of HTML that you want to store into a rich text Datatype. A FieldAdapter will check i it can find any hardcoded references to an image like /images/myniceimage.png. When the FieldAdapter finds that image. It will download it, create a media item for it and converts the reference to the url of the Umbraco Image  /media/12345/myniceimage.png

    This functionality will be added to the 1.1 release of both the Free and Pro release.

    Cheers,

    Richard

     

Please Sign in or register to post replies

Write your reply to:

Draft