Added route fir image resizing.
Minor changes in base class.