[BUGFIX] Valid Content-Type header for jpg thumbnails