Fixed it! (with help of a collegue!)
Find lightbox.js in your lightbox plugin folder
Open it in text editor
Find this:
myLightbox.resizeImageContainer(imgPreloader.width, imgPreloader.height);
replace with:
/** we want a fixed width */
var w = 500;
var h= Math.floor((w / imgPreloader.width)*imgPreloader.height);
Element.setHeight(‘stimuli_lightboxImage’, h);
Element.setWidth(‘stimuli_lightboxImage’, w);
myLightbox.resizeImageContainer(w, h);
Fixed!
Make sure you make a backup, cause I can’t give anu garranty. But it did the trick for me!
Must be in the lightbox.css, but am not pro enough to find the right tag…
It’s even easier. Find this document:
/wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.php
search for
// @ini_set(‘memory_limit’, ‘128M’);
change it to
ini_set(‘memory_limit’, ‘128M’);
save. upload. ready!