Hello,
I've read following topics
http://www.zubrag.com/forum/index.php/topic,91.0.html
http://www.zubrag.com/forum/index.php/topic,33.0.html
and I didn't found anything to help me understand where is problem with my copy of a script.
So, let's begin:
I'm running it on localhost (php5, XP proffessional).
folder for my thumbs is X:/www/htdocs/subdir/snap/thumb/
so my URL is
http://localhost/subir/snap/webthumb.php
for accessing webthumb.
When I want to create thumb of my root folder I'll call this URL
http://localhost/subir/snap/webthumb.php?url=http://localhost
the output is text
http://localhost/subir/snap/webthumb.php?url=http://localhost
,.
But when I look into source cod i get more error, the same error that i get if I want to call this script with all params using XHR.
�PNG
���
IHDR�����������5h<br />
<b>Warning</b>: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: zlib error in <b>X:\www\htdocs\subdir\snap\image.class.php</b> on line <b>46</b><br />
<br />
<b>Warning</b>: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png error: setjmp returns error condition in <b>X:\www\htdocs\subdirsnap\image.class.php</b> on line <b>46</b><br />
Only once was worked

I get then a small image of a website.
Can anyone help pls