made realy basic php file to check contents of image table in database