Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#85 2006-11-16 12:39:37
- saccade
- Plugin Author
- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
On my sites ebl_batchupload is working fine!
And it doesn’t make a difference whether it is running in a root or in a subdirectory.
I only noticed some errors with resizing and generating thumbnails on one installation. (And it had worked correctly before with 0.9.1 on 11th Nov.)
Sending the long debug-text directly.
- when before I tried to create a thumbnail, there is a warning.
- if I uploaded without resize (this didn’t work, but there is a “none” in the list under Thumbnail) it will be deleted.
Last edited by saccade (2006-11-16 12:59:02)
Offline
#86 2006-11-16 12:56:10
- steelcouch
- New Member
- From: austria
- Registered: 2006-11-15
- Posts: 3
Re: Ebl_batchupload
Sending the long debug-text directly.
there is no debug-text shown although the box is checked….
<img src=“http:/www.steelcouch.at/error403.jpg” />
Last edited by steelcouch (2006-11-16 13:01:45)
Offline
Re: Ebl_batchupload
@Saccade – Was .9 working, and 1.0 not?
@Arengula
Try adding the following into your .htaccess file:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Offline
#88 2006-11-16 13:04:33
- saccade
- Plugin Author
- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
@theEric
now difficult to say. On 11.Nov everything was ok, I think this was before 1.0 came.
Then I only shortly had 1.0 installed and the updated with 1.01 and tested now with 1.01.
I suppose I didn’t test really with 1.0.
Offline
#89 2006-11-16 13:09:13
- saccade
- Plugin Author
- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Ebl_batchupload
Stepped back to 1.0
and everything is ok again in my subdirectory-installation! :-)
(except now I think have to manually delete the defect images from the database, but thats no problem)
Just for debugging: When I try to delete one of the mis-loaded images, the following message comes:
Warning: unlink(/homepages/mysubdirectory/images/41.jpg) [function.unlink]: Datei oder Verzeichnis nicht gefunden in /homepages/mysubdirectory/textpattern/include/txp_image.php on line 439
“Datei oder Verzeichnis nicht gefunden” = File or directory not found
Last edited by saccade (2006-11-16 13:12:41)
Offline
Re: Ebl_batchupload
@ soulship – hostgator
@ TheEric – Thanks for the reply. I’ve updated the .htaccess file and now I get a 403 error but …/textpattern/batchupload is 777
Offline
Re: Ebl_batchupload
TheEric, quick question for you….
Your plug-in is now working flawlessly for me but the images and the thumbnails look pretty bad when I import them. They look like they are resized out of proportion one way or the other. Are there some tips for making them look better? I tried playing with the resize defaults in the code but they never resize to that default.
What would you recommend (if anything!)?
Offline
Re: Ebl_batchupload
Can I see an example? The plugin SHOULD be resizing them, proportionally.
Offline
Re: Ebl_batchupload
arengula – in the top lefthand corner of the flash file, does it still say “undefined”? I realize now that you’re getting a security error, where it’s not allowing uploads because it’s unable to authenticate you as a authorized user, and thereby rejecting your uploads.
Offline
Re: Ebl_batchupload
TheEric,
Go to this link and check out the “Projects” section. Take a look at the Thumbnails there and you can see that they look somewhat grainy. They do not look this way when I resize them locally on my machine to the same specs., only once they are inside of TXP using the plug-in. When I do it locally (using Photoshop) or whatever, they look really good and clear. This could possibly be a problem with TXP and not your plug-in.
Last edited by DigitalRealm (2006-11-17 17:51:04)
Offline
Re: Ebl_batchupload
Ah! I see.
Yes, Andreas recently let me know that the thumbnails weren’t as “pretty” as they could be. This is something I’m working on for the next release, wherein, a quality setting will be adjustable.
Hopefully I can get done today… if not, most likely Tuesday
Offline
#96 2006-11-17 18:23:47
- aba
- Plugin Author
- Registered: 2004-04-14
- Posts: 119
Re: Ebl_batchupload
it’s not textpatterns fault, Eric wanted to avoid timouts when resizing images and the result is a very fast but not very pretty resizing.
One solutions: find (in function ebl_goresize):
imagecopyresized($thumb, $srcimage, 0,0,0,0, $newwidth, $newheight, $width, $height);
change to
imagecopyresampled($thumb, $srcimage, 0,0,0,0, $newwidth, $newheight, $width, $height);
Beware: it takes more time to resize the images – my experience from writing aba_import_images is that some servers choke if you want to import a whole bunch of images at once. I’m not sure whether ebl_batch_upload does a http request for every image from the flash plugin (that would avoid that timeout problem).
Eric told me that he plans to change the thumbnailing to a better way qualitywise and judging from the plugin so far it will probably kick ass, in the meantime you might use the above explained workaround.
Ups… wrote too long… ;)
Last edited by aba (2006-11-17 18:24:33)
Offline