double checking if different image types are correctly being read from
the database and are being read properly from the server