Slider, uploading images, changed getType() to getRealType() validation