SaaS CMS has officially launched! Learn more now.

Code sharing : EPiImage and EPiImageGallery properties to work on EpiServer 7.1 (using dojo)


Hello guys,

In one of my daily project using EPiServer 7 , I came across the need to use Image Gallery Property. Since the popular well-written MakingWaves EPiImageGallery property was used heavilly on projects, I have decided to use some of my personal time to shift it on to EPI Server 7, and using dojo instead of the old school jquery controls. I have got all the basic functionalities working , however I still need to find time to add more fancy dance functionalities like drag drop from FIle Management , or make the buttons and icons look better... So I thought I would share this opened with you guys so that anyone could contribute to it. My properties class are heavily based on the classes from Making Waves guys, so there shouldn't be any trouble when you guys switch to these new properties. 

The properties are made to be able to work on both blocks and pages, so use it freely as you wish. 

I uploaded the code to github together with how-to-use guide at:

I made a screen cast of how the properties works  at:

Since the new release of 7.1 , I made this to work with EPiServer 7.1 now.

To make it to work on EPiServer 7 instead of 7.1, please revert the dojo codes on my scripts and html template according to this release note

 Hope this helps a little. 

Happy coding !!!

May 07, 2013 17:38

is it webform only?

May 08, 2013 13:59

Nope, All my EPI Server 7 projects are MVC, haven't actually tried this on web form yet. The properties just use dojo for client ui, and Rest Store for the server side.

May 08, 2013 17:27

Well done!

May 09, 2013 10:14

Hi Tuan, thanks for the good work :)

I had some issues using the pluing in a 7.1 mvc site. None of the .js files was able to load due to a missing plugin or type error in the netcap app section in the js files.



After changing it to "epiimage/RequireModule!App" everything works as expected.


Sep 13, 2013 11:39

HI Simen,

Great find, i didn't check it throughly, I guess it was working for me because I mapped the app namespace on my module.config. Will update the source code now.

I have added a few fixes recently to the source code, with new attribute title for the image, and to auto save propety when changing image property.


Edited, Sep 16, 2013 9:30
Edited, Sep 16, 2013 12:19

Hi Tuan,

Thanks! this is just what I needed. As Simen noted I did have to modify a few things to get it going.

1) Rename "app/RequireModule!App" to "epiimage/RequireModule!App" in EPiImage.js, EPiImageGallery.js and EPiImageInfoForm.js
2) Also had to rename "epi.cms.widgets.base" to "epi-cms.widgets.base" as mentioned by Ben McKernan in

Hope this helps if anyone else gets stuck

Edited, Sep 17, 2013 6:54

Thanks Jason, 

I will get the code on github updated with this. Great to hear that this is helping you guys as well. 

Note: Github is now fully up to date with fixes


Edited, Sep 17, 2013 9:21
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.