remove last modification about smart resize of galery pictures

can't make it work properly