replace image tag to background image