Resizing of screenshot and relative path.