When there are empty galleries, something breaks on the "image" page, e.g., http://forum.lamp-development.com/ldis/?q=image (see attached screenshot). The style breaks on the first empty album, the second gets worse, and the right sidebar moves all the way to the right. There could be an html tag mismatch causing this, but I can't spot it.
| Comment | File | Size | Author |
|---|---|---|---|
| meta_error.jpg | 379.99 KB | Gerry Danen |
Comments
Comment #1
Gerry Danen commentedIt seems to be fixed by changing image_gallery.tpl.php, switching lines 21 and 22 to read:
Comment #2
dipstick commentedAll you havve to do is at least put 1 images in each gallery and the problem will be fixed. I have the same problem and this is what fixed it.
A suggestion to the creator, that each time someone makes a gallery that a dummy file automatically gets inserted into that gallery, until they upload the first pic (which will delete the dummy file) this will sovle your ongoing problem
Comment #3
Ken Collins commentedActually, I think it could be that
<li>tag with the clearfix class that needs to be put into the loop. Something like this.Comment #4
Ken Collins commentedcommitted.
Comment #5
Ken Collins commented