main layout change for image