moved check for image into Item class
minor opt to only load image or webpage