Overlay size and languages

Jun 23, 2010 at 9:30 AM


I am using DNN 5.2.2 and did just install the Lightbox Gallery 1.2.1. After doing some tests I can see the the module can not be used if the language chosen for the site i DNN is using , (comma) as separator in stead of . (dot). When I choose Swedis as language for the site in DNN the module can not be used to create or edit an album. If the language is English this works fine.

I did read some about this issue, and I did manage to change code in the file EditLightBox.ascx in order to edit and create an album when Swedish language is chosen for the site, but I did not manage to fix the code in order to view the lightbox.

If I instead use English as language for the site I think most things works.

I have a question though. When clicking on a humbnail the bigger image is shown on a white "background" wich is smaller than the image and the "close-button" is placed a small distance to the left of the upper right corner. This does not seam to be correct. I also looked at http://www.willstrohl.com/Photos and on this site it works correct.

I am most grateful for guides and tips.

Thanks in advance!


Jun 24, 2010 at 10:51 PM

The bug you found is in the issues here.  I will not be able to work on this for another 3 weeks.  When I am back online, I will be making this a priority.

The display issue you're seeing is because your skin needs to be XHTML compliant, using a valid DOCTYPE in the markup.

Jun 27, 2010 at 3:47 PM

Thanks for your information!

Please note that when using English language for the site, the bigger image is dispalyed in the overlay, nearly as expected. 

The only problem then, is that the white background used to to display the bigger image is not big enough.

Do you mean this is because the skin i use is not xhtml compliant? If so, how do i make my skin xhtml-complian? I am not familiar what xhtml-compliant means?


Jun 28, 2010 at 4:48 PM
Edited Jun 28, 2010 at 4:49 PM
This will give you the general background information you need to know about having a DOCTYPE, and why:


However, while making your skin XHTML compliant is beyond the scope of this extension, I can tell you that you need to do the following:
1. Make sure your HTML mark-up is all XHTML compliant.
2. Make sure your skin has the appropriate DOCTYPE in the header of the skin (there's a few different ways to do this). I would suggest googling for this for better support/details. http://www.google.com/search?q=how+to+add+doctype+to+dotnetnuke+skin
3. Run your rendered page through an XHTML checker. There's several here: http://www.w3.org/Status.html