Support responsive layout for images and alt tag