I have a problem with GDPics where it emits one too many </div> elements when displaying the top level gallery list. This of course breaks the page layout. When displaying the thumbs or the individual pictures it is OK.
It seems the offending </div> is output at around line 475 in view.php. I'm using v0.7.
}
echo '</div>';
if (isset($page_links)) {
echo '<div class="page_list">[ '.$page_links.' ]</div>';
}
echo '</div>';
closedir($dh);
// Create file handle for the thumbs directory.
If I change the above to:
}
if (isset($page_links)) {
echo '</div>';
echo '<div class="page_list">[ '.$page_links.' ]</div>';
}
echo '</div>';
closedir($dh);
// Create file handle for the thumbs directory.
then the symptoms go away. I'm not too sure why this works and I'm even less sure that it's the proper or correct solution. However it does give a clue as to where the problem might be.
Dick