All it does is display all the images in line. If there is room for them, then the browser will display them all along side each other. If there’s not enough room, then they get wrapped to the next line. I’m not doing anything fancy to the images at all. If you’re having a problem with the images going beyond the width of your post, then you might want to have a play around with the stylesheet that specifies the width of all your div’s etc for your site.
You could always hack the script up a bit so that it displays only four images wide, but it sounds like that wouldn’t be the best fix to your problem.
Edit: I’ve had a look at your site using Firefox on Linux and it seems like the problem you’re getting is because there is no padding on the left hand side of your entry. One way to fix this would be to add the following to your stylesheet…
.imagegallery {
text-align: center;
margin: auto;
}
That will center the gallery, if that’s not what you want, then you could try something like
.imagegallery {
margin-left: 10px;
}
which will place a 10 pixel margin on the left hand side of the containing div for the images.
Hope that is some help.