Copied to clipboard

Flag this post as spam?

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


  • Sony 20 posts 40 karma points
    Dec 07, 2010 @ 07:22
    Sony
    0

    uploading multiple images

    hello folks.,

    as a part of posting multiple images to a website, i need to upload multiple images from frontend and all these images should be stored in umbraco backend..

    how it can be done in umbraco?

    i would like to have pointers..

    thank you..

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Dec 07, 2010 @ 08:16
    Sebastiaan Janssen
    0

    You can use the gecko uploadify package to do this, use the macro to put it in your site's frontend.

  • Sony 20 posts 40 karma points
    Dec 07, 2010 @ 10:51
    Sony
    0

    Hi Sebastiaan ,thanks for your reply..

    i would like to do without using packages

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 07, 2010 @ 11:21
    Stefan Kip
    0

    Why would you like to do this without using packages?

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Dec 07, 2010 @ 12:07
    Sebastiaan Janssen
    0

    sony: In that case, find a .net control that can upload multiple images, put it in a usercontrol and create a macro for that usercontrol in Umbraco. There's nothing stopping you to do it the "normal" .net way.

  • Sony 20 posts 40 karma points
    Dec 07, 2010 @ 12:25
    Sony
    0

    thanks for your patience folks,

    @ kipusoep: i have my own structure thus i have limitation in using that package..

    @sebastiaan :how would i store images at umbraco backend?i need images(uploaded from frontend of a website) to be in the nodes of umbraco ..

    please let me know if i am not clear..

    thank you

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Dec 07, 2010 @ 12:46
    Sebastiaan Janssen
    0

    Something like: 

    var node = new Node();
    node.getProperty("yourUploadFieldProperty").Value = Path_To_Uploaded_File;

    But be sure to check out the wiki /umbraco.tv for more information on how to create content.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 07, 2010 @ 12:48
    Stefan Kip
    0

    I think 'sony' means creating the uploaded files as media items:
    http://our.umbraco.org/forum/developers/api-questions/3477-Creating-Media-Programatically#comment12140

    And if you want to assign a value to a node, use the Document api (node == read-only). Cultiv knows that, but I guess he forgot ;-)
    http://our.umbraco.org/wiki/reference/api-cheatsheet/modifying-document-properties

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Dec 07, 2010 @ 13:23
    Sebastiaan Janssen
    0

    lol sorry, yes kipusoep is correct, at the Umbraco course last week I was drilled so much to always use the nodeFactory that I am confusing the two now.

  • 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.

Please Sign in or register to post replies