Added a fit image to element option