Create custom templates that does the same output that’s done in that page. eg, add class="shadow" style="padding:0 4px 4px 0" to the div in gallerypicturetpl and style="top:-2px;left:-2px" to the img tag and then add the necessary css to your site template or maxigallery css file/chunk.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."