[SOLVED] Uploaded oversized image with the Applet

klewis

Joined: 2004-06-14
Posts: 32
Posted: Fri, 2005-03-25 15:37

my G2 is a snapshot from the 24th.

I have been resizing my images to the max size I want before uploading the images but one image got through the net. The thumbnail for it shows as a red X and when I try to delete this single image the delete page is completely blank. If I try to delete another image in this album the page is still blank. Other albums are functioning correctly still. How can I remove this single image please, without having to delete the entire album?

System Information
Gallery version 2.0-beta-1+
PHP version 4.3.10 cgi
Webserver Apache/1.3.27 (Unix) (Red-Hat/Linux) Chili!Soft-ASP/3.6.2 mod_ssl/2.8.14 OpenSSL/0.9.6b PHP/4.3.10 FrontPage/5.0.2.2510
Database mysql 3.23.58
Toolkits Gd, NetPBM
Operating system Linux nitrogen.webfusion.co.uk 2.4.20-28.8HEsmp #1 SMP Thu Jun 17 16:21:50 BST 2004 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-03-25 17:02

activate immediate debug mode in config.php just before selecting 'delete photo'.. do you see any errors in the debug output? what is at the bottom of the output?

 
klewis

Joined: 2004-06-14
Posts: 32
Posted: Fri, 2005-03-25 19:38

The page is still blank with no debug information. Check your Pm mindless I've left you a present :-)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-03-25 22:11

ok, then do 'view image' in your browser on the broken thumbnail, then go to lib/tools/test/index.php and click FlushCache. then put your g2 in immediate debug mode and click "reload" in your browser.. anything from that?

 
klewis

Joined: 2004-06-14
Posts: 32
Posted: Fri, 2005-03-25 22:37

Found the problem :-)

The Gd toolkit, by default, had priority over Netpbm. When I give Netpbm the priority the thumbnail of the panorama appears and the delete function is fully operational.

Thanks for the support mindless, I really do need to delve deeper into the debug functions I really struggle making any sense of the output

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-03-25 23:17

ya, Gd has a tendency to just totally bail out if it runs into trouble.. as the memory available to php can be limited then Gd operations run out of memory when netpbm/imagemagick may be ok.