modified default layout for images