remove HTML tags from image text
move to use ResizeDimensions
upped version