Abstract JavaScript class for images.