• Modifiedcontent

    (@modifiedcontent)


    I try to use NextGen to present high quality .jpg images to clients. I FTP the originals, usually over 5 mb each, to the gallery folder/page associated with each client.

    Generating thumbnails works fine after increasing the memory_limit setting in gd_thumbnail.inc.php

    But the system breaks down when I try to ‘Scan folder for new images’. It looks like the script starts reading the image files and sometimes outputs them as gibberish to the browser. Generally the browser just freezes.

    What does ‘Scan folder for new images’ even do? The files are already on the server via FTP. It doesn’t have to process the files in any way. All it has to do is get names of the files and perhaps some meta data, right? Why does it take so much resources?

    I need a solution that allows FTP upload of big originals and thumbnail creation on-the-fly…

    https://www.ads-software.com/extend/plugins/nextgen-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having the same issue but with lower resolution photos, (1024×768 and 72dpi) but very large quantities of them in the gallery folders.

    One folder is about 210 photos, they were already on the server in another folder so I created the new gallery, moved them via FTP and clicked the “scan folder for new images,” button.

    I get the activity icon for about 10-15seconds, then it fails to a blank screen. Usually about 15 to 20 images get recognized (but without any confirmation text.) Thumbs are never created.

    Then I hit the back button hit F5 and note the additional 15-20 photos in the 1 of xxx text. Click “Scan….images” again and get the same results.

    Eventually if you do that over and over enough it gets all of them to recognize, but only 15-20 at a time in what I would call incremental adding. Then I have to generate thumbs for the whole gallery. (And re-size, but that’s my choice.)

    If there are less than about 15-20 new images added via ftp and the scan is used everything works perfectly and thumbs are created.

    I’ve implemented the un-commenting of the memory setting hack, and also added the php.ini to the WP-Admin folder for other reasons but I was hoping this would be resolved also.

    Side note…moving more than 15-20 photos from one gallery to another fails the same way.

    Any help is greatly appreciated, I have done several Google searches and this is the only post I can find that deals with this specific problem.

    Thanks!

    Just curious, are you using GD or imagemagick for image manipulation?

    Paul

    Sorry for the delayed response. Forgot about this until now.

    I am not using either. My install is pretty straight forward with a few plug in’s.

    Full list if plugins:

    Akismet (never activated.)
    Asynchronous Google Analytics for WordPress
    Calendar
    Google XML Sitemaps
    Inline Posts
    KB Robots.txt
    List Category
    NextGEN Gallery
    NextGEN Public Uploader (Never activated.)
    Role Scoper (Never activted.)

    WordPress 3.0

    * Operating System : Linux (32 Bit)
    * Server : Apache
    * Memory usage : 14.96 MByte
    * MYSQL Version : 5.0.91-log
    * SQL Mode : Not set
    * PHP Version : 5.2.8
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : On
    * PHP Memory Limit : 256M
    * PHP Max Upload Size : 8M
    * PHP Max Post Size : 8M
    * PCRE Backtracking Limit : 100000
    * PHP Max Script Execute Time : 30s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    * GD Version : bundled (2.0.34 compatible)
    * FreeType Support : Yes
    * FreeType Linkage : with freetype
    * T1Lib Support : No
    * GIF Read Support : Yes
    * GIF Create Support : Yes
    * JPG Support : Yes
    * PNG Support : Yes
    * WBMP Support : Yes
    * XPM Support : No
    * XBM Support : Yes
    * JIS-mapped Japanese Font Support : No

    Let me know if there is anything else you need to know or that I can help / try. This is sort of a sandbox site, so it’s not critical if it goes down for a couple hours if we’re trying things / new code.

    One thing I notice is that I do not get the red status bar like when I do a thumbnail recreate or resize batch. My guess is that the script is hitting the 30second time limit and needs to have some sort of keep alive added. (but I’m not PHP programmer…just a Sys Admin with a hunch.)

    I added the RSS feed for this to my Outlook…so I’ll get notification as soon as you reply this time.

    I am having somewhat similar issues.

    Re-size will fail, randomly after a couple images.

    Automatic re-size also failed..

    I need to bulk re-size the images.. on a regular basis.

    I changed the gd.memorylimit to 256 megs..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: NextGEN Gallery] Why does ‘Scan folder for new images’ take so much resources?’ is closed to new replies.