Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Ebl_batchupload
Andreas,
Your workaround works mighty well, there is a huge difference in quality now. Thanks a lot for the help and the quick fix until TheEric can work out a solution in the new version.
Offline
Re: Ebl_batchupload
DigitalRealm – Have you noticed a significant difference in speed?
Offline
Re: Ebl_batchupload
It actually seemed to go a little faster with the workaround in place. There could be several other factors dictating that though.
Last edited by DigitalRealm (2006-11-17 19:52:42)
Offline
#100 2006-11-17 21:23:17
- aba
- Plugin Author
- Registered: 2004-04-14
- Posts: 119
Re: Ebl_batchupload
DigitalRealm wrote:
It actually seemed to go a little faster with the workaround in place. There could be several other factors dictating that though.
its about 4 times slower (my test image with 350kb will we resized in about 0.2 seconds, the resampling is about 0.8 seconds including reading and writing the image file itself) – but I consider the better quality worth the loss of time.
Offline
#101 2006-11-17 23:22:05
Re: Ebl_batchupload
I just tried 10 images all at 170kb each, took right at 30 seconds to do all 10. That includes the resize and the thumbnail.
Offline
#102 2006-11-19 01:30:40
Re: Ebl_batchupload
My site will be looking a bit .. gruesome ..as I progress through my live update to my updated design / layout.
Offline
#103 2006-11-19 10:50:43
Re: Ebl_batchupload
Whats happened to the link Eric? Seems to have disappeared.
I’d like to see this……
Offline
#104 2006-11-19 17:13:18
Re: Ebl_batchupload
My plugins can be downloaded from here – pardon the look right now. just uploaded the basic template last night.
Offline
#105 2006-11-21 10:11:30
Re: Ebl_batchupload
TheEric wrote:
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.
@TheEric – sorry it took so long to reply. Yes I’ve still got “undefined” in the top left corner. Is there a workaround for this?
Offline
#106 2006-11-21 12:54:23
Re: Ebl_batchupload
Arengula – I’de need to see how you have it setup to understand the problem you’re having. If you’re seeing an undefined error, the script can’t properly place your files, and you’ll perpetually get the same error.
Offline
#107 2006-11-27 02:36:06
Re: Ebl_batchupload
aba wrote:
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);
that improves the quality very well, but not all I want, … any other parameter to modify and obtain a good quality thumbnail?
For example, I’m also using glx_admin_image and there’s a
<code>define(‘THUMBQUALITY’, 90);</code>
that I can modify to reduce or improve the thumb compression.
Anyway, this is a great great plugin! Thx a lot!
Offline
#108 2006-11-27 16:17:26
Re: Ebl_batchupload
duchamp wrote:
that improves the quality very well, but not all I want, … any other parameter to modify and obtain a good quality thumbnail?
There are two options available: Upload the images without selecting the auto-thumbnail feature, or edit the code
change it from
$fileresult = imagejpeg($thumb, $imagedir.$resultname);
to
$fileresult = imagejpeg($thumb, $imagedir.$resultname,100);
100 is an integer from 0-100. PHP Defaults to 75, so any lower than that will reduce the quality, higher, will reduce the speed in which this script thumbnails the images.
I am working on a new version which includes in the flash application, an option to choose Higher Quality Thumbnailing, or a faster resize. I’m still trying to figure out a simple language method to change from english to whatever other default language may be selected.
Offline