added slide value getter and resizing image