Monday 24 March 2014

NextGen $base-url

Wordpress gallery plugin NextGen has an odd feature if you're using the lightbox option in that URLs are stored mysteriously even after migrating a site to a new domain and updating any stored reference in the database (e.g. using the Serialized PHP Search Replace script)

There is a fix from 2013 by deltafactory on GitHub Gist but this specific issue has popped up on a few forums where the $base_url doesn't change readily.

The only obvious sign that something is awry are the missing images on the lightbox frame:

lightbox-ico-loading.gif
lightbox-btn-close.gif
lightbox-btn-prev.gif
lightbox-btn-next.gif
lightbox-blank.gif    

No comments: