nCubed Free Image Gallery - Known Issues
- Galleries and Templates
- Galleries in Block Level Elements (allowable tags to place the gallery images in)
- Embedded CSS remains when the Gallery Images server behavior is removed
- Placing the n3_openBrWindow JavaScript in an external .js file
Galleries and Templates
Issue: Due to inherent issues with the Dreamweaver Extension API's, the Gallery Images server behavior cannot be applied to a template based page.
Workaround: Apply the server behaviors to a blank page and then apply the template to your page, Modify > Templates > Apply Template to Page.
Galleries in Block Level Elements
Issue: The Gallery Images server behavior cannot be used inside a block level element that a standard <table> is not allowed in. Note, the most common error is when applying the Server Behavior within a <p> tag.
If the Gallery Images server behavior is applied inside an illegal tag, then you will see the broken tag </NCUBED:FREEIMAGEGALLERY> directly underneath the Gallery Image table.
Workaround: You can either ensure that you're not inside an illegal tag before applying the server behavior, or you can switch to code view and move the function call manually after you apply the Server Behavior.
Incorrect:
<p> <% Call n3_DisplayGallery(3) %> </p>
Correct:
<% Call n3_DisplayGallery(3) %> <p> </p>
The Gallery Images server behavior is allowed inside the following tags: blockquote, body, button, dd, del, div, fieldset, form, ins, li, map, noscript, object, td and th.
Embedded CSS remains when the Gallery Images server behavior is removed
Issue: Unfortunately, Server Behaviors were not designed to handle client side script such as CSS. When the Gallery Images server behavior is removed, the CSS blocks are left in the <head> of the document.
Workaround: The <script> and <style> blocks added by the Gallery Images server behavior must be manually removed.
Placing the n3_openBrWindow JavaScript in an external .js file
Issue: When placing the n3_openBrWindow JavaScript in an external .js file, a red (!) will appear in the Server Behavior panel.
Workaround: None. The script will run without error even though Dreamweaver MX will look like there is an error.
