bad url config fixed, and images.php for thumbnails added