Title: image import -&gt; Warning: Illegal string offset &#8216;width&#8217;
Last modified: November 6, 2016

---

# image import -> Warning: Illegal string offset ‘width’

 *  Resolved [Suitbert](https://wordpress.org/support/users/uitbert12/)
 * (@uitbert12)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/image-import-warning-illegal-string-offset-width/)
 * Hi,
    when adding image to gallery, I do get the error message:
 * Warning: Illegal string offset ‘width’ in /www/htdocs/w00bd103/m…./wp-content/
   plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/manage.
   php on line 208
 * Warning: Illegal string offset ‘height’ in /www/htdocs/w00bd103/m…./wp-content/
   plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/manage.
   php on line 209
 * What to do with that? Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/image-import-warning-illegal-string-offset-width/#post-8406459)
 * [@uitbert12](https://wordpress.org/support/users/uitbert12/) – Is this happening
   with all of the images you are trying to upload or only specific images?
 * Thanks!
 * – Cais.
 *  Thread Starter [Suitbert](https://wordpress.org/support/users/uitbert12/)
 * (@uitbert12)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/image-import-warning-illegal-string-offset-width/#post-8406644)
 * This is happening when importing images to specific gallery-subfolders. Some 
   folders do work, others don’t. Always just standard-jpeg-files, all the same 
   dimensions. Independent of number of images I do try to import, even one image
   will bring up this error.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/image-import-warning-illegal-string-offset-width/#post-8406736)
 * [@uitbert12](https://wordpress.org/support/users/uitbert12/) – We are looking
   at a taxonomy issue when importing that is relevant to the issue you are seeing;
   once that is sorted out this issue may also be resolved.
 * In the meantime it may be easier to either download and/or add the images directly
   via the Add Gallery/Image default option versus using the import routines.
 * Thanks!
 * – Cais.
 *  [dcatiller](https://wordpress.org/support/users/dcatiller/)
 * (@dcatiller)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/image-import-warning-illegal-string-offset-width/#post-8536287)
 * Is there a resolution to this? I’m having this issue as well, and just applied
   a bunch of updates recently
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/image-import-warning-illegal-string-offset-width/#post-8543935)
 * [@dcatiller](https://wordpress.org/support/users/dcatiller/) – Please start your
   own topic so we can try to help you with your specific issue on your specific
   site.
 * See [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
 * Thanks!
 * – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘image import -> Warning: Illegal string offset ‘width’’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/image-import-warning-illegal-string-offset-width/#post-8543935)
 * Status: resolved