updated thumbnail_to to optionally accept two params and adjusted the image thumbnails accordingly