If you want to deliver thumbnails through this function you should send the mimetype information using header() If you want to deliver thumbnails through this function you should send the mimetype information using header() function.
If you want to deliver thumbnails through this function you should send the mimetype information using header() function. The following example demonstrates this: