• Resolved wdp459

    (@wdp459)


    I have a folder that contains 500 images and I am trying to import it to the NextGen gallery. It starts normally but after 40 images it just stops importing. Does anyone know what the reason for that might be?

Viewing 3 replies - 1 through 3 (of 3 total)
  • With that many images, it could be that the PHP process is timing out. If so, there should be some indication of that in the error log.

    You can up that setting by adding or changing the “memory_limit” line in the user.ini file in the root directory of your domain.

    Yes, NextGen import process is slow and it’s most certainly a PHP timeout issue. Check your logs and you’ll know for sure.

    It could be ‘memory_limit’, as @postmastergs said, but far more likely it is ‘max_execution_time’. In many PHP installs, it is set to 30 seconds by default, which on my system is enough to import something like 60 images without copying.

    I suspect that this is due to the generation of thumbnails, which will happen synchronously when you import a folder.

    If you go to the new gallery after importing and click ‘Scan folder for new images’, it will import the rest in one go (at least no problem here with 1200 images), because the creation of thumbnails happens asynchonously from the browser in this case.

    Thread Starter wdp459

    (@wdp459)

    Thank you both for your responses. I’ve made adjustments to the settings as suggested. However, my efforts only resulted in the ability to process 50 photos at a time. Honestly this is poorly designed import function. Nevertheless, I solved this now by dividing the photos into batches and importing them in segments, a process that took a several days to complete. Once again, I appreciate your assistance!

    • This reply was modified 1 year, 2 months ago by wdp459.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Import Folder Stops After Importing Few Images’ is closed to new replies.