Removing the die() so that applications can do extra stuff if they want after the image data is echoed