getContent() method for base image class