Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#151 2006-12-13 20:27:49
Re: Ebl_batchupload
Debug shows this:
<?xml version=“1.0” encoding=“utf-8”?><uploadResult><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: getimagesize(http://www.jameslomax.com//textpattern/batchupload/galway.jpg) [<a href=“function.getimagesize”>function.getimagesize</a>]: failed to open stream: Connection refused on line 272</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: imagecreatefromjpeg(http://www.jameslomax.com/textpattern/batchupload/galway.jpg) [<a href=“function.imagecreatefromjpeg”>function.imagecreatefromjpeg</a>]: failed to open stream: Connection refused on line 200</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: getimagesize(http://www.jameslomax.com/textpattern/batchupload/galway.jpg) [<a href=“function.getimagesize”>function.getimagesize</a>]: failed to open stream: Connection refused on line 210</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: Division by zero on line 212</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: Division by zero on line 212</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: imagecreatetruecolor() [<a href=“function.imagecreatetruecolor”>function.imagecreatetruecolor</a>]: Invalid image dimensions on line 225</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: imagealphablending(): supplied argument is not a valid Image resource on line 227</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: imagecopyresized(): supplied argument is not a valid Image resource on line 229</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: imagejpeg(): supplied argument is not a valid Image resource on line 243</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: imagedestroy(): supplied argument is not a valid Image resource on line 253</b></pre><pre>A problem occured while loading the plugin: <b>ebl_BatchUpload</b> -> <b>Warning: imagedestroy(): supplied argument is not a valid Image resource on line 254</b></pre><item><filename>galway.jpg</filename><imported>YES</imported><thumb>ERR</thumb><resz>NO</resz></item><item><filename>1 files<imported>—</imported><resz>—</resz><thumb>—</thumb></filename></item></uploadResult>
Sorry about the line-through effect – presumably, Textile is doing it because of some part of the code.
Any ideas?
Offline
#152 2006-12-13 20:30:27
Re: Ebl_batchupload
……it made an entry in the database, but didn’t load the image or generate the thumbnail.
Offline
#153 2006-12-13 20:51:17
Re: Ebl_batchupload
James – First upgrade to the latest version. 1.04
This can be found here
Offline
#154 2006-12-14 01:34:04
Re: Ebl_batchupload
OK thanks, done that.
Now whats happening is, its uploading individual images (haven’t tried multiple files yet), but insists on making thumbs of 120 × 82 pixels, when I specified 160 × 120.
Offline
#155 2006-12-14 02:22:59
Re: Ebl_batchupload
It won’t make the thumbnails to the exact dimensions that you specify as it keeps everything in proportion (ie: 400px by 600px = 80px by 120px). Think of the thumbnail setting as the largest box size that the thumbnail can occupy whilst still keeping everything in proportion.
Offline
#156 2006-12-15 19:26:09
Re: Ebl_batchupload
Hmmm….
Why doesn’t it accept one of the measurements – either 160 or 120 – and adjust the other in proportion?
Is 120 × 82 maybe a fixed dimension?
Offline
#157 2006-12-22 17:22:18
- saccade
- Plugin Author

- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
I’ve got difficulties installing ebl_batchupload on TextDrive. Plugin loads and I can select images. But when I upload there ist an “Error 412”.
I couldn’t find out what this means.
Searching on TextDrive I saw information that there could be a security problem.
Can someone help me?
best regards and merry christmas!
Michael
Offline
#158 2006-12-22 18:27:28
Re: Ebl_batchupload
Had the same 412 error today after upgrading to the latest version of ebl_batchupload. Thought it could have been an error on the infamous Barclay server on TextDrive.
Offline
#159 2006-12-31 15:02:32
- Vin
- New Member
- Registered: 2006-12-31
- Posts: 3
Re: Ebl_batchupload
Hello,
I tried to upload some images via ebl_batchupload on localhost, but instead of succesful uploading I’m getting 404 error. I’ve searched the forum but I couldn’t find any useful hint. I’m in despair. Please help.
Offline
#160 2007-01-09 17:38:25
Re: Ebl_batchupload
Plugin works great — thanks for all your work.
A tiny suggestion in function EBL_batchUpload() , because 14pt is actually a font size measurement for print, not for screen. I’ve had good results after changing it to 1.2em :
<code>$style = “display: block; width: 300px; text-align: center; margin-left: auto; margin-right: auto; font-weight: bold; font-size: 1.2em;”; </code>
Definitely no big deal, just a suggestion.
Offline
#161 2007-01-09 18:06:09
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: Ebl_batchupload
I have it working locally for the moment just fine.
One oddity: It strips off the exif data from the processed files. I know, Photoshop’s save for web does too, my guess here is that this occurs when using the resizing feature.
I wish, there where/was a way around that.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#162 2007-01-16 11:33:04
- castanet
- Member
- From: Oxford
- Registered: 2005-03-19
- Posts: 97
Re: Ebl_batchupload
Eric. Great plugin. I’ve got it up and running straight away. Just one question.. Would it be possible to add alt tags before upload. At the moment I’m having to open each image individually to put them in. I see it puts in the image title but I don’t necessarily want to name my pics in that way. Thanks
Offline
#163 2007-01-16 22:14:48
Re: Ebl_batchupload
Unfortunately, that would add a bit to much complexity to the plugin to allow individual, specific alt tags. It would be relatively simple to create another plugin that would ease the burden of inputing numerous alt-tags per image. Maybe something that shows thumbnails, followed by a text input box. I’de write it, but I’m a tad busy with this semester at the moment.
Offline
#164 2007-01-19 02:14:16
- dobidolots
- New Member
- Registered: 2006-06-21
- Posts: 4
Re: Ebl_batchupload
Eric, I have correctly installed v.1.0.4 version of the plugin in textpattern 4.0.4. I am running flash 9 plugin on Mac/Safari – OS 10.4. TextPattern Images admin gives me the pop-up window, I browse in my images (have tried 1, 3, and 12 jpegs at a time), and set size to 470 × 700, thumbs at 107 × 150. I hit the upload button processing begins and I see a very small beginning of the green progress bar which promply stops, the list of my images disappears, and I wait…nothing else happens. When I then check the debug box I get nothing, reset also gives me nothing. I ftp into my images folder, permissions set originally to 750, then tried 777. Twice I found a ‘batchupload’ folder there with my images inside but no images show up in TextPattern. Any ideas?
Offline
#165 2007-01-19 06:58:29
Re: Ebl_batchupload
Still getting 412 errors with 1.04 here. Eric? The previous version worked fine for me.
Offline