[Plugin: NextGEN Gallery] Resize & Thumbnail creation not working
-
I migrated a WordPress setup from a development server to a live server, and now the Thumbnail creation & image resizing aren’t working.
The plugin does not generate any errors, and the uploading of images went without any trouble.
The gallery folder is recursively set to 777. (Not safe but I had to try something)
Any one knows what I might be forgetting?
-
If you go to Gallery > Overview > Plugin check (click on the button) and Server settings, do you see anything out of the ordinary? Is the GD library installed?
Plugin check:
All fine.Server Settings:
Operating System : FreeBSD (64 Bit)
Server : Apache/2.2.14
Memory usage : 28.73 MByte
MYSQL Version : 5.1.42
SQL Mode : Not set
PHP Version : 5.2.16
PHP Safe Mode : Off
PHP Allow URL fopen : On
PHP Memory Limit : 48
PHP Max Upload Size : 32M
PHP Max Post Size : 32M
PCRE Backtracking Limit : 500000
PHP Max Script Execute Time : 30s
PHP Exif support : Yes ( V1.4 )
PHP IPTC support : Yes
PHP XML support : YesGraphic Library:
GD Version : bundled (2.0.34 compatible)
FreeType Support : Yes
FreeType Linkage : with freetype
T1Lib Support : Yes
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 : NoThat should work, right?
Hi,
I got the same problem. When I try to change a thumbnail, this small “load”-screen is loading and loading and loading and doesn’t come to an end.
The plugin-check says everything is fine.
I’m getting the same thing. The thumbnail scroll bar runs but just hangs at the end without creating the thumbnail.
I also have the same problem. Plugin check OK. Server settings:
Operating System : Linux (64 Bit)
Server : Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Memory usage : 28.92 MByte
MYSQL Version : 5.0.92-community
SQL Mode : Not set
PHP Version : 5.2.17
PHP Safe Mode : Off
PHP Allow URL fopen : Off
PHP Memory Limit : 32
PHP Max Upload Size : 2M
PHP Max Post Size : 8M
PCRE Backtracking Limit : 500000
PHP Max Script Execute Time : 30s
PHP Exif support : No
PHP IPTC support : Yes
PHP XML support : Yes
Graphic LibraryGD 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 : Yes
XBM Support : Yes
JIS-mapped Japanese Font Support : NoAny help appreciated.
Our memory limits are quite low, could it be that the script hits the memory limit without returning an error?
My working server:
Plugin check:
All fine.Server settings:
Operating System : Linux (32 Bit)
Server : Apache/2
Memory usage : 15.93 MByte
MYSQL Version : 5.1.58-log
SQL Mode : Not set
PHP Version : 5.2.17
PHP Safe Mode : Off
PHP Allow URL fopen : On
PHP Memory Limit : 128
PHP Max Upload Size : 20M
PHP Max Post Size : 20M
PCRE Backtracking Limit : 500000
PHP Max Script Execute Time : 200s
PHP Exif support : No
PHP IPTC support : Yes
PHP XML support : YesGraphic Library
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 : NoThe memory limit is 128 MB on my working server, looks like that might be the problem.
Upped my memory limit to 64MB due to a problem with google analytics plugin and it solved the thumbnail problem! All good.
Thanks freckleboy; my settings actually have
PHP Memory Limit : 128, so that may be indeed the issue.How do I change my memory settings? Is this adjustment on my computer or the server etc?
Have a look at http://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP, That’s what I used. Good luck.
Just have to tell you, Freckleboy: It worked perfect. I am NOT a programmer, so being able to get such a fix working at the first attempt is great. Thank you !!
Additional note:
It has been my experience also that the NextGen script(s) can ‘timeout’ on a busy server…especially in a shared environment…and behaves as noted above…i.e., the thumbnail creation starts, then just hangs if time exceeded. Doing just 10 or so at once fixed this for me (as opposed to 50).
PHP Max Script Execute Time : 200s<=========exceeding this time can cause issues with NextGen! In my case, the default is 30 seconds.Help…
I have exactly that problem (that the memory limit has been exceeded). So no thumbs generated…
I went through the above messages, but I can’t really figure out how to get that memory limit raised.
Is there a kind person who’d like to help?
I changed the file ‘default-constants.php : (the 128M was 64M before and the 64M was 32M before)
// set memory limits
if ( !defined(‘WP_MEMORY_LIMIT’) ) {
if( is_multisite() ) {
define(‘WP_MEMORY_LIMIT’, ‘128M’);
} else {
define(‘WP_MEMORY_LIMIT’, ’64M’);
}
}
if ( ! defined( ‘WP_MAX_MEMORY_LIMIT’ ) ) {
define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );
}
The topic ‘[Plugin: NextGEN Gallery] Resize & Thumbnail creation not working’ is closed to new replies.