WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
meta_data serialize issue (1 post)

  1. aj
    Member
    Posted 8 months ago #

    (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/

Reply

You must log in to post.

About this Plugin

About this Topic