Title: TypeError thrown
Last modified: June 24, 2021

---

# TypeError thrown

 *  Resolved [giannitariano](https://wordpress.org/support/users/giannitariano/)
 * (@giannitariano)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/typeerror-thrown-6/)
 * Hello, when set watermark on my pictures, plugin shows this error: is_file():
   Argument #1 ($filename) must be of type string, GdImage given.
    Someone can help
   me please? Thank you.

Viewing 1 replies (of 1 total)

 *  [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * (@mihaiimagely)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/typeerror-thrown-6/#post-14591416)
 * Hi [@giannitariano](https://wordpress.org/support/users/giannitariano/),
 * Can you please let us know what PHP version are you using for your site and what’s
   URL type that you using for the watermark image within `"NextGen Gallery -> Other
   Options -> Watermarks -> Image URL"`?
    -  This reply was modified 4 years, 11 months ago by [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/).

Viewing 1 replies (of 1 total)

The topic ‘TypeError thrown’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mihai Ceban](https://wordpress.org/support/users/mihaiimagely/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/typeerror-thrown-6/#post-14591416)
 * Status: resolved