Copied to clipboard

Flag this post as spam?

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


  • maanehunden 61 posts 105 karma points
    May 04, 2011 @ 17:19
    maanehunden
    0

    Adding a MediaPicker Control to a webpage

    Hi people 

    I was wandoring what is the best way to add a MediaPicker Control the frontend of a webpage to make users able to pick  images and save them to the mediafolder. 

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    May 04, 2011 @ 17:45
    Jeroen Breuer
    0

    If you install the Gecko Uploadify package it will add a macro which you can use in the front end.

    Jeroen

  • maanehunden 61 posts 105 karma points
    May 05, 2011 @ 09:09
    maanehunden
    0

    tnx Jeroen, awsome package. I've tryed it and it looks like the macro is only a file-picker.  You can't brows mediafolder with it or upload images..  )c:
    other sugestions .. 

    maanehunden...

  • maanehunden 61 posts 105 karma points
    May 05, 2011 @ 09:27
    maanehunden
    0

    Argh,.. darn ,.. I've tryed folowing macro setup,.. 
    <umbraco:Macro ID="Macro3" MediaFolder="1273" ButtonText="mjau" AllowedTypes="jpg,png" SizeLimitMB="2" Alias="GeckoUploadify" runat="server"></umbraco:Macro>

    but still nothing,.. 

    after some debugging i run in to a javascript error,.. 

     

    input.uploadify is not a function

     

    generated by the in Gecko Uploadify code,.. well ,. back to digging,.. 

     

  • maanehunden 61 posts 105 karma points
    May 05, 2011 @ 10:28
    maanehunden
    0

    yes i've seen this one http://our.umbraco.org/projects/website-utilities/gecko-uploadify/feedback,-suggestions,-bugs/15391-Not-working-in-Media-section-inputuploadify-is-not-a-function .. 

    i've run firebug,, in my case it looks like all the resource files are loaded ,.. still it doesent work ,.. )c:

  • maanehunden 61 posts 105 karma points
    May 05, 2011 @ 11:31
    maanehunden
    1

    fond it ,.. 

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> 

    made shishkibab out of Gecko Uploadify javscript ... 
    after i replaced googel's jquery script,. with a local one it worked ,.. go figur ..


  • maanehunden 61 posts 105 karma points
    Jun 08, 2011 @ 13:12
    maanehunden
    0

    i've found an interresting article on the subject of using "Uploadify" to upload images to umbraco ,. http://www.bo-mortensen.dk/2011/03/uploading-multiple-files-to-umbraco-with-uploadify/ kinda like the  Gecko Uploadify package...

    Hope someone will finde it usefull ,..  (c:

     

Please Sign in or register to post replies

Write your reply to:

Draft