fix layout with images