Bad image filename defined - Must be jpg or jpeg

PHP JPEG Metadata Toolkit version 1.12, Copyright (C) 2004 Evan Hunter