Page 1 of 1

Automatic scanning for images in dir

Posted: Thu Jun 30, 2005 5:20 am
by MySchizoBuddy
Is there a plugin or way so that it automcatically scan my images folder and add all the pictures to my library for easy drag and drop in my posts

Re: Automatic scanning for images in dir

Posted: Thu Jun 30, 2005 10:47 am
by garvinhicking
No plugin needed for that. Just put the files up via FTP into your upload/ folder and click on the "Rebuild Thumbnails" icon. Then all new images are imported in your media library.

Regards,
Garvin

Posted: Thu Jun 30, 2005 12:15 pm
by MySchizoBuddy
I;m getting bunch of error

Code: Select all

Warning: imagecreatefrompng(): '/kunden/homepages/30/d94057558/htdocs/www/blog/uploads/serendipityVSwordpress/serendipity-plugin-event-repository.png' is not a valid PNG file in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 820

Warning: imagesx(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 821

Warning: imagesy(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 822

Warning: imagecreatetruecolor(): Invalid image dimensions in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 830

Warning: imagealphablending(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 834

Warning: imagesavealpha(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 835

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 838

Warning: imagepng(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 839
Resize serendipityVSwordpress/serendipity-plugin-event-repository.png: x

Wanted to use serendipityVSwordpress/serendipity-plugin-event-repository.png as its own thumbnail, but failed to copy!

Warning: imagecreatefrompng(): '/kunden/homepages/30/d94057558/htdocs/www/blog/uploads/serendipityVSwordpress/serendipity-medialibrary.png' is not a valid PNG file in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 820

Warning: imagesx(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 821

Warning: imagesy(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 822

Warning: imagecreatetruecolor(): Invalid image dimensions in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 830

Warning: imagealphablending(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 834

Warning: imagesavealpha(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 835

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 838

Warning: imagepng(): supplied argument is not a valid Image resource in /homepages/30/d94057558/htdocs/www/blog/include/functions_images.inc.php on line 839
Resize serendipityVSwordpress/serendipity-medialibrary.png: x

Wanted to use serendipityVSwordpress/serendipity-medialibrary.png as its own thumbnail, but failed to copy!

Posted: Thu Jun 30, 2005 1:45 pm
by garvinhicking
PHP complains that your PNG file is not a valid image file. Where can I see that image so that I can check it?

Please also make sure your *.png files are readable for the webserver, and that the upload path is read/writable as well...

Are you using 0.8.2 or 0.9?

Regars,
Garvin

Posted: Thu Jun 30, 2005 3:23 pm
by MySchizoBuddy
i'm using 0.8.2
and the images directory is readable.
looks like only 2 failed out of 60 images i had. So i'll check those 2 again

so u should open up the png file from my browser and see if it displays, If it does then fine right.

Posted: Thu Jun 30, 2005 5:51 pm
by garvinhicking
If you give me the URL, I could try that. :-)

But I think this all speaks for the fact that the PNG file is not a PNG file or is damaged.

Regards,
Garvin