Service for resizing images based on URL path parameters