if I refresh the page a few times, it will start to try and load the images.
Seams like a database connection issue. on the index.php page, add the following at line 1:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
I'm wondering if there are any PHP errors being reported that may help determine the cause.