Express middleware to dynamically resize images based on Imagina Library