Lösung gefunden!
http://wordpress.stackexchange.com/ques ... -localhost
Wo die alte Domain abgelegt ist, klärt auch diese Anleitung nicht. Aber es wird fest angegeben wo sich die Bilder befinden.
Die Datei, welche verändert werden muss liegt hier:
/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/jquery.lightbox
Code: Alles auswählen
var nextgen_jquery_lightbox_init = function() {
var prefix = "www.my-website.com" // update here when you move to dev, localhost, etc.
$('.ngg_lightbox').lightBox({
imageLoading: "http:\/\/" + prefix + "\/wp-content\/plugins\/nextgen-gallery\/products\/photocrati_nextgen\/modules\/lightbox\/static\/jquery.lightbox\/lightbox-ico-loading.gif",
imageBtnClose: "http:\/\/" + prefix + "\/wp-content\/plugins\/nextgen-gallery\/products\/photocrati_nextgen\/modules\/lightbox\/static\/jquery.lightbox\/lightbox-btn-close.gif",
imageBtnPrev: "http:\/\/" + prefix + "\/wp-content\/plugins\/nextgen-gallery\/products\/photocrati_nextgen\/modules\/lightbox\/static\/jquery.lightbox\/lightbox-btn-prev.gif",
imageBtnNext: "http:\/\/" + prefix + "\/wp-content\/plugins\/nextgen-gallery\/products\/photocrati_nextgen\/modules\/lightbox\/static\/jquery.lightbox\/lightbox-btn-next.gif",
imageBlank: "http:\/\/" + prefix + "\/wp-content\/plugins\/nextgen-gallery\/products\/photocrati_nextgen\/modules\/lightbox\/static\/jquery.lightbox\/lightbox-blank.gif"
});
};
Die Funktion muss durch diesen Code (der verlinkten Website entnommen) ausgetauscht werden. Also eigentlich nur ein Workaround und keine echte Problemlösung.. Aber: So funktioniert es dann wenigstens.
Grüße, Martin