image embedding layout fixups