I got it working now. I forgot to include a piece of javascript. My own fault...
Just included the following code within the <head> section of includes/templates/MYTEMPLATE/common/html_header.php:
<script>
$(document).ready(function(){
$(".lightbox").lightbox();
});
</script>



