• When I add a gallery with NextGen, it is removing files out of the folder on the server. Has anyone else had this problem, and how did you solve it?

    (details: i am placing the images on the server, then importing the image folder url from the admin)

Viewing 1 replies (of 1 total)
  • Thread Starter depulpo

    (@depulpo)

    there is a function doing this in functions.php

    // all images must be valid files
    		foreach($new_images as $key => $picture) {
    			if (!@getimagesize($gallerypath . '/' . $picture) ) {
    				unset($new_images[$key]);
    				@unlink($gallerypath . '/' . $picture);
    			}
    		}

    the @unlink function is removing the files…

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] NextGen gallery upload is removing files!!! Help!’ is closed to new replies.