Create frame for image and resize it.