Title: meta_data serialize issue
Last modified: August 21, 2016

---

# meta_data serialize issue

 *  [aj](https://wordpress.org/support/users/batesajessica/)
 * (@batesajessica)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/meta_data-serialize-issue/)
 * (I’ve had this issue pre WP 3.7)
 * I have 2 different installations on different servers (dot5 and localhost), both
   are having the same problem. I am using ScrollGallery to display the galleries,
   however the issue persists even when I delete this plugin.
 * Whenever I use the “Create new thumbnails” bulk action OR “Scan folder for new
   images”, my galleries break. I have thumbnails but no main images. I investigated
   the database and found that images that were changed had strange data in the 
   ngg_pictures meta_data field. It looks like something is wrong with the serializing?
   I can write a script to fix them, but man, this needs to not happen going forward!
   Any ideas?
 * Original
 *     ```
       a:17:{s:5:"width";i:345;s:6:"height";i:241;s:4:"full";a:2:{s:5:"width";i:345;s:6:"height";i:241;}s:9:"thumbnail";a:4:{s:5:"width";i:75;s:6:"height";i:75;s:8:"filename";s:23:"thumbs_gallery_img1.jpg";s:9:"generated";s:21:"0.36170200 1382736243";}s:8:"aperture";b:0;s:6:"credit";b:0;s:6:"camera";b:0;s:7:"caption";b:0;s:17:"created_timestamp";b:0;s:9:"copyright";b:0;s:12:"focal_length";b:0;s:3:"iso";b:0;s:13:"shutter_speed";b:0;s:5:"flash";b:0;s:5:"title";b:0;s:8:"keywords";b:0;s:5:"saved";b:1;}
       ```
   
 * Post bulk action/ scan folder:
 *     ```
       eyJ3aWR0aCI6MzQ1LCJoZWlnaHQiOjI0MSwiZnVsbCI6eyJ3aWR0aCI6MzQ1LCJoZWlnaHQiOjI0MX0sInRodW1ibmFpbCI6eyJ3aWR0aCI6NzUsImhlaWdodCI6NzUsImZpbGVuYW1lIjoidGh1bWJzX2dhbGxlcnlfaW1nMS5qcGciLCJnZW5lcmF0ZWQiOiIwLjk5MjA1NTAwIDEzODI3Mzc2ODcifSwiYXBlcnR1cmUiOmZhbHNlLCJjcmVkaXQiOmZhbHNlLCJjYW1lcmEiOmZhbHNlLCJjYXB0aW9uIjpmYWxzZSwiY3JlYXRlZF90aW1lc3RhbXAiOmZhbHNlLCJjb3B5cmlnaHQiOmZhbHNlLCJmb2NhbF9sZW5ndGgiOmZhbHNlLCJpc28iOmZhbHNlLCJzaHV0dGVyX3NwZWVkIjpmYWxzZSwiZmxhc2giOmZhbHNlLCJ0aXRsZSI6ZmFsc2UsImtleXdvcmRzIjpmYWxzZSwic2F2ZWQiOnRydWV9
       ```
   
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

The topic ‘meta_data serialize issue’ 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/)

## Tags

 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [serialize](https://wordpress.org/support/topic-tag/serialize/)

 * 0 replies
 * 1 participant
 * Last reply from: [aj](https://wordpress.org/support/users/batesajessica/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/meta_data-serialize-issue/)
 * Status: not resolved