Adding methods to work with image tags