I've modified the source code of the project to support custom Media Types:
If anyone is interested just let me know and I will share the code. It could also be part MFU by default if I can upgrade it. I also fixed some other bugs.
Ooh, nice. Does it also support being applied to a specific media type instead of the generic folder media type? I made a Gallery Folder media type for the same intention of adding descriptive properties to each gallery (title, description, date gallery uploaded, photographer, etc.). I've also set it where only Gallery Image media types are allowed inside this folder.
Yes that should work. The dropdownlist is filled with the allowed media types (based on the stucture). So if you have a special folder which only allowes for this special media type than that's the only one you can create.
Can I download this from the Umbraco packages? Or do you need to send me the code for this special instance? [email protected] if yes. (I know, AOL, don't laugh)
Jeroen, this utility is fantastic. The custom media type is working wonders, so thanks for providing it.
I'm curious to know if you think it will support the upcoming v5 (Jupiter) of Umbraco, or if you're going to have branch off a new build. My client is interested in migrating their gallery to the next version upon release, but I told them "Whoa, not so fast. I have to make sure these packages are compatible." I'm pretty sure ImageGen will be updated, but I wasn't sure about this one...
I'd like to move them to v5 myself, since v4's tinyMCE is really buggy in Safari/Chrome browsers and that's what they use, but it depends on the packages of course.
Yeah I had read that I wouldn't be able to upgrade any existing v4 websites. That was fine because this particular site was light enough (6 pages) that I could have just copy/pasted my HTML template and XSLT code over to a fresh install, if I knew I could get all the modules working.
It seems as if you've requested all that we'd need for the Media Uploader on that thread, so let's hope they have listened...
~j
EDIT: Reading a little further on v5 I see they've stripped out XSLT completely in favor of the Razor engine for rendering. So you're right, I can't just move everything over like I'd have wanted to. Oh well, looks like I have some Razor tutorials to watch!
The original package has a factorty to determine what media type should be used (for now it only works with the default media types) and I'm doing some dirty hacks now because it's partial flash and I can't change that so had to work around it. If it's in the original package it would need some more changes to support custom media types or the factory.
Hi Jeroen I could use this package please - would it not save you hassle just to post a dropbox download to this thread? If not its barryfogarty at gmail.
I've released the DAMP gallery. It's a website which shows how DAMP can be used in 4.11 MVC for an image and video gallery. The complete source code is available so you can see exactly how things are working. It also has this custom version of MFU which supports custom media types.
I've improved my custom version of MFU and it now fully supports Umbraco 4.11:
- All properties are set correctly. Sometimes after uploading the Width and Height property were empty. - Png support. The thumbnail doesn't have a black background anymore. - Extension is removed from media name. After uploading the name is image1 instead of image1.jpg
I downloaded the zip file from the "24 days in Umbraco" website, extracted it, and tried to run the solution in VS 2010. However I am getting a build error in usercontrols/uTube/post-install.ascx, "Could not load type 'uTube.Core.Umbraco.usercontrols.post_install..." Is this because this file has "post-install.ascx.cs" shown as the code-behind, but yet can't find it in the distribution? Is there something I'm doing wrong, or anything I can do to fix/work around this?
Thank you, I did this get this working and was able to see the various galleries and especially the custom MutlipleFileUpload with its support for custom media types which seems to work great so far. Very helpful indeed, thank you!
I have been trying to do a custom media type and its driving me crazy... Could I see your code to work out where I have gone wrong with my own please? [email protected]
Works great for me on Umbraco 6. The only caveat was the "upload" data type on my custom media type actually needed to be called "umbracoFile" for your custom code to work. Perfect.
Support for custom Media Types
Hello,
I've modified the source code of the project to support custom Media Types:
If anyone is interested just let me know and I will share the code. It could also be part MFU by default if I can upgrade it. I also fixed some other bugs.
Jeroen
hi jeroen..
could u send this package? im facing troubles when uploading png images.
ty
rodney
my email: [email protected]
Ooh, nice. Does it also support being applied to a specific media type instead of the generic folder media type? I made a Gallery Folder media type for the same intention of adding descriptive properties to each gallery (title, description, date gallery uploaded, photographer, etc.). I've also set it where only Gallery Image media types are allowed inside this folder.
Yes that should work. The dropdownlist is filled with the allowed media types (based on the stucture). So if you have a special folder which only allowes for this special media type than that's the only one you can create.
Jeroen
Can I download this from the Umbraco packages? Or do you need to send me the code for this special instance? [email protected] if yes. (I know, AOL, don't laugh)
Appreciate it greatly!
I don't have the code here right now so I'll send it to you on monday.
Jeroen
I'll take the code if you are still offering it, too.
You've got mail :).
Let me know if you like it.
Jeroen
That worked -- it also worked on my local medium-trust install; bravo.
Thanks
Hi I would like to give this a go, after seeing your presentation at the festival....
thanks
Clive
Hi Clive,
If you give me your email I can send it to you :). You can also DM me on twitter if you prefer that.
Jeroen
Hi Jeroen,
Would massively appreciate a copy of this if it's still available. Have been watching over the festival video again and want to give it a shot :)
Im on tsmith [at] thecogworks.co.uk
Thanks,
Tom
hi jeroen.
I'll be glad to get it if you are still offering it.
my mail : gilad[at]weblogic.co.il
thanks in advance
Hello,
I'm currently unable to send it, but I'll try to do it next week.
Jeroen
Jeroen, this utility is fantastic. The custom media type is working wonders, so thanks for providing it.
I'm curious to know if you think it will support the upcoming v5 (Jupiter) of Umbraco, or if you're going to have branch off a new build. My client is interested in migrating their gallery to the next version upon release, but I told them "Whoa, not so fast. I have to make sure these packages are compatible." I'm pretty sure ImageGen will be updated, but I wasn't sure about this one...
I'd like to move them to v5 myself, since v4's tinyMCE is really buggy in Safari/Chrome browsers and that's what they use, but it depends on the packages of course.
~j
V5 is a complete rewrite of Umbraco so it won't even be possble to port your v4 site to v5. Some content can be migrated, but there is no upgrade path. Read this blog for more info: http://umbraco.com/follow-us/blog-archive/2011/11/14/the-upgrade-myth.aspx.
So this won't be updated to v5. Perhaps someone wll create another multiple file uploader and maybe I'll update that to support custom media types, but I hope it does out of the box. If you have any feature requests about media for v5 you can put them here: http://our.umbraco.org/forum/core/umbraco-5-general-discussion/26292-Umbraco-5-media-picker-features.
Jeroen
Thanks Jereon,
Yeah I had read that I wouldn't be able to upgrade any existing v4 websites. That was fine because this particular site was light enough (6 pages) that I could have just copy/pasted my HTML template and XSLT code over to a fresh install, if I knew I could get all the modules working.
It seems as if you've requested all that we'd need for the Media Uploader on that thread, so let's hope they have listened...
~j
EDIT: Reading a little further on v5 I see they've stripped out XSLT completely in favor of the Razor engine for rendering. So you're right, I can't just move everything over like I'd have wanted to. Oh well, looks like I have some Razor tutorials to watch!
hi Jereon, i could get hold of your customisation too? source code or dll. thanks, andrew
andrew [at] terabyte.co.nz
Hi Jeroen Breuer, I'm so interested!! could you share me the code? Thanks!
my email: [email protected]
Could you also send me the code, free.stuff.0707 [you know where it's at] gmail.com.
I wasn't going to use custom media types but think I might if this functionality is already done.
hi, could you also send me the code plz ? purpurviolett [at] hotmail.com
thx,
steven
Hello,
I tried sending the files to you, but I get a message that the email does not exist.
Jeroen
can you please send me the code :)
coolgalash[at]gmail[dot]com
Thanks a ton !
Hello,
could you send me the code plz?
kammalanda [ at ] hotmail.com
Thanks!
Hi Jeroen,
This would be fantastic and just the type of thing im looking for - if you could send me the code?
My email is kenny_burns1967[at]hotmail[dot]com -
Thanks a whole heap - wonderful stuff! :)
Kenny
Hi Jeroen,
Working with 4.7x here and would like a copy of the customized package.
Actually looking for a solution to upload multiple images to the MediaFolder specially for SVGallaryImage doctype instead of Image doctype
my mail [email protected]
why isnt this merged into the package? feels like a great feature.
The original package has a factorty to determine what media type should be used (for now it only works with the default media types) and I'm doing some dirty hacks now because it's partial flash and I can't change that so had to work around it. If it's in the original package it would need some more changes to support custom media types or the factory.
Jeroen
I like this very much. Please send the files me. My email id is [email protected]
Thanks.
If your still offering this, you will be helping me alot
my mail : lassekofoed[at]gmail.com
I'd like to give this a try if it's still available for folks to use.
jasturgill at wsu dot edu
Hi Jeroen I could use this package please - would it not save you hassle just to post a dropbox download to this thread? If not its barryfogarty at gmail.
Cheers, great mod!
Hi Jeroen,
Could I get a copy of this also? zpcohen at gmail
Thanks
Hi Jeroen, Can I get a copy as well please? ashwinthisaiah at gmail. Thanks
Hi. Could you please send me a copy? halli at odinsoftware is
Thanks.
Hello,
I've released the DAMP gallery. It's a website which shows how DAMP can be used in 4.11 MVC for an image and video gallery. The complete source code is available so you can see exactly how things are working. It also has this custom version of MFU which supports custom media types.
Jeroen
I've improved my custom version of MFU and it now fully supports Umbraco 4.11:
- All properties are set correctly. Sometimes after uploading the Width and Height property were empty.
- Png support. The thumbnail doesn't have a black background anymore.
- Extension is removed from media name. After uploading the name is image1 instead of image1.jpg
Jeroen
Hi. Could you please send me a copy?
nik AT twistedpear DOT com DOT au
Thanks.
Hi there,
I downloaded the zip file from the "24 days in Umbraco" website, extracted it, and tried to run the solution in VS 2010. However I am getting a build error in usercontrols/uTube/post-install.ascx, "Could not load type 'uTube.Core.Umbraco.usercontrols.post_install..." Is this because this file has "post-install.ascx.cs" shown as the code-behind, but yet can't find it in the distribution? Is there something I'm doing wrong, or anything I can do to fix/work around this?
Thanks!
You don't need to build the solution. Just right click on default.aspx and select View in Browser. Than it should work.
Jeroen
Thank you, I did this get this working and was able to see the various galleries and especially the custom MutlipleFileUpload with its support for custom media types which seems to work great so far. Very helpful indeed, thank you!
Hey landgenoot, als je hem ook naar mij zou willen sturen, zeer graag. Alvast bedankt.
binid [at] hotmail.com
Jeroen
Could you send this to me [email protected]. Thank you.
Keith Hubbard
Is dit aanbod nog steeds geldig en werk e.e.a met 4.11.8?
I would like to use your gallery on my site, so can you send me a copy of your custom MFU ?
[email protected]
Thanks a lot!
Hi Jeroen,
I am making my first attempt on umbraco, definitely a umbraconewbie! Could you please me a copy of your custom MFU at th.roumeliotis[at]gmail[dot]com?
Thanks,
Thanasis
Hi Jeroen
Could you let me have a copy of the custom MFU?
mktott[at]hotmail[dot]com
Thanks
TT
Hi Jeroen
Could I have a copy of the custom MFU please?
I managed to find the code files see my next post below.
Thank you
In case this helps anyone, I managed to find the files here and followed
http://24days.in/media/1729/damp_gallery.zip
Copied these files over:
~/bin/noerd.Umb.DataTypes.multipleFileUpload.dll
~/scripts/swfobject.js ~/config/MultipleFileUpload.config
~/usercontrols/MultipleFileUpload/MultipleFileUpload.swf
~/usercontrols/MultipleFileUpload/MultipleFileUpload.ascx
~/usercontrols/MultipleFileUpload/MultipleFileUpload.ascx.cs
~/usercontrols/MultipleFileUpload/Installer.ascx
~/usercontrols/MultipleFileUpload/Installer.ascx.cs
~/usercontrols/MultipleFileUpload/MultipleFileUpload.pdf
Then followed steps 2-4 in the MultipleFileUpload pdf included (manual installation)
I also had to add this into the <handlers> section of web.config as was getting an error with the flash uploader
Hello,
The version from DAMP Gallery is outdated. I can still send the newest version if you want.
Jeroen
Hi Jeroen
Yes please.
TT
Hi Jeroen,
If it's not to much work, I would also be verry thankful to receive you latest version.
Hi, Yes please, the most recent version would be great if your happy to send it.
shellriches[at]gmail.com
Thanks
Is there a later version of Damp Gallery?
Thanks Keith.
Hi Jeroen,
I have been trying to do a custom media type and its driving me crazy... Could I see your code to work out where I have gone wrong with my own please? [email protected]
Many Thanks,
Steve.
Hi Jeroen,
Would reallty appreciate a copy of this if it's still available. Have been watching over the festival video again and want to give it a shot :)
Im on brendan [at] wg2k.com
Thanks,
Brendan
Can we get this posted somewhere? :-) I would love a copy if you can spare 5 minutes.
If you give me your email I can send it.
Jeroen
info[at]maxelmo.nl
info[at]maxelmo.nl
Thanks.
peter[atsymbol]iconic-design.net
Works great for me on Umbraco 6. The only caveat was the "upload" data type on my custom media type actually needed to be called "umbracoFile" for your custom code to work. Perfect.
This would be really handy. Would you mind sendint through to danny[at]indigoweb.com.au?
Hello
I would love the code as well. sl[at]abf-rep.dk
Thanks a lot!
Greetings,
another one here please... Ambert[a]nedfinity.com
Thanks!
Jeroen, me too please - phil.dye[at]etchuk.com
Thanks!
I needed the support for custom media types with MFU in an Umbraco 4.0 website and the only things which I needed to change was the following:
MultipleFileUpload.ascx.cs
After this the tree doesn't refresh anymore after uploading, but you can upload custom media types in an Umbraco 4.0 website :-).
Jeroen
Jeroen, could you send me the code as well => [email protected]
Thanks!
I have just posted a comment to this issue. Please check this post http://our.umbraco.org/forum/developers/extending-umbraco/48078-Upload-custom-media-from-folder-(umbraco-6x)?p=0#comment175474
Hello Jeroen, I'm interested too, could you send it also at: fury161 at tiscali dot it ?
Me too please - just what I need. olixilo at gmail dot com
is working on a reply...