Update image-widget.php

Remove undefined variable errors