Now using images from the database