Bilderviser.php -> check_for_del_img($dir)

check images which are deleted from disc and delete them from the db.