abstract slider, implement image upload