CSS Image Gallery 2 Support Product Page


Object not in document

Reported 01 Dec 2014 15:12:46
has this problem
01 Dec 2014 15:12:46 Jef Gees posted:
Dear support,

First, I want to apologize if my English is not that good.
I am not a native speaker or writer, but I'll try to do my best.
Yeasterday I bought your DWextension CSS Ilmage Gallery 2.
I do follow your instructions confirm the manual and everything goes wel untill I click on upload additional files.
I can see that there are a lot of designs that are ready to upload. But if I click I get a message that the region is blocked by another translater or template.
I am working in a template of DW but it is an editable aerea. It works for the MaxiMenu2. That gives me no trouble at all.
I can also see that there are items in the manual that do not come on to my screen. But as far as I can see, I think because I get an error message.

The last error message that I get says the following:
"Wile executing onLoad, the following JavaScript error(s) occured:

At line 943 of file "C:\Program Files (x86)\Adobe\Adobe Dreamweaver
The object is not currently contained in a document."

If I come back the next day and I open the page I get the same error message as above.

Can you please help me?
Kindest regards,



Replied 01 Dec 2014 15:57:09
01 Dec 2014 15:57:09 Jef Gees replied:
I forget to write that I already tried several things like unistalling. And then a clean install again.
Also the tip of Teodor Kuduschiev in topic www.dmxzone.com/support/16607/topic/58575/
Hope this can help.


Replied 02 Dec 2014 10:22:50
02 Dec 2014 10:22:50 Teodor Kuduschiev replied:
Hi Jeff,
Could you please send a link to the template/page where you are trying to insert the gallery, so we can inspect its code?
Replied 02 Dec 2014 11:17:42
02 Dec 2014 11:17:42 Jef Gees replied:
Hi Teodor,

thanks for the fast reply.
You can find the test site at
I want to send you also the DW-template that I use and some html pages where you can see what code is saved and what not. But I can not find hwo to upload an attachment.
But maybe it is sufficient enough.

Thanks a lot for helping me and trying to find a solution.

kindest regards,

Replied 02 Dec 2014 11:31:17
02 Dec 2014 11:31:17 Teodor Kuduschiev replied:
Hi Jef,
All you need to do is to move the following line:
<script src="Assets/respond.min.js"></script>

AFTER the closing tag of the editable region named "head" (in your template dwt file - then just update child pages). This will fix the issue.
Replied 02 Dec 2014 17:04:09
02 Dec 2014 17:04:09 Jef Gees replied:
Hoi Teodor,

Thnx !!! It works.
Thanks a lot.

kindest regards,

Replied 02 Dec 2014 19:19:01
02 Dec 2014 19:19:01 Jef Gees replied:
Hoi Teodor,

I tried to add code for rounded corners for the images in the gallery like this:

class="dmxGallery2-image dmxGallery2-image-shown"

/* Rounded Corners */
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
border-radius: 10px 10px 10px 10px;
-ms-border-radius: 10px 10px 10px 10px;
-o-border-radius: 10px 10px 10px 10px;

but it did not work.

Do you have the golden tip?

Thanks a lot,

kindest regards,

Replied 03 Dec 2014 14:21:53
03 Dec 2014 14:21:53 Jef Gees replied:
Is there anybody that could help to put some round corners to the image?
If you check the link on www.wandelfotograaf.be/test/Wandelfotograaf-Yvan-De-Coster/Landschappen/Landschappen.html you'll notice that the images on the left have round corners.
i did that with CSS.
Now I am trying to make the images in the gallery also with round corners, but till now -->
no solution found.
Would be fantastic If someone could give the golden tip.
Thanks already for reading this and maybe trying to find a solution,


Replied 03 Dec 2014 14:25:04
03 Dec 2014 14:25:04 Teodor Kuduschiev replied:
Hi Jef,
You need to apply the styles to: .dmxGallery2-image class.
Replied 03 Dec 2014 14:53:20
03 Dec 2014 14:53:20 Jef Gees replied:
Hoi Teodor,

Thanks for the quick reply.
But that was my problem.
The rounded corners are there, but the image is still straight. (Hope this is written in a right way)
There is a dark big line (box?? thick line) above and underneath the picture.
Or is there a way I can make it disappar?
Thaught it had something to do with capture.
But even there it didn(t work out.
Do you have an idea?

kinest regards,

Sorry, but
Replied 03 Dec 2014 15:13:12
03 Dec 2014 15:13:12 Teodor Kuduschiev replied:
Well.. it is your image that has the black borders.. www.wandelfotograaf.be/test/Wandelfotograaf-Yvan-De-Coster/Landschappen/Landschappen%20afbeeldingen/Wandelfotograaf-Yvan-De-Coster-Landschappen-0001.jpg
Most probably you used the resizer and did not keep the right proportions.
Replied 03 Dec 2014 22:28:03
03 Dec 2014 22:28:03 Jef Gees replied:
Hoi Teodor,

thanks for the advice. Listened to your advice and it's gone.!!

Can I ask you a last question?
Hope I can.
I noticed that with the CSS Image Gallery 2, I can only show pictures in landscape.
Or is there a possibility to mix landscape and portrait?
If so, how to do this??

Kindest regards,


Reply to this topic