image optimizations; layout fix