setting the size of the interface image box