Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2008-04-20 12:46:20

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: EBL_Upload

Eric,

I solved my Invalid Serial Number problem: I had included the “http://”. I wrongly assumed that was required.

However I’ve run into another problem. I now get an Error #2 and the plugin fails to read the existing image categories. An older version (1.0.4), that I re-installed to check reads the categories fine, but fails to finish the upload itself.

Any help would be very much appreciated!

Cheers Martin

Offline

#17 2008-04-28 19:27:12

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 603
Website

Re: EBL_Upload

Ok, I’m back to the online world. Because of my pending graduation, I sequestered myself away from most everything not related to school.

http://youtube.com/watch?v=KkwvnZp-auI

That’s over with now, for a little while at least.

Last edited by TheEric (2008-04-28 19:29:19)

Offline

#18 2008-04-28 19:28:05

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 603
Website

Re: EBL_Upload

MASA – Error #2 is encountered when the upload.swf file cannot find the configuration file. It’s either inaccessible, read-protected, or not in the same folder as the upload.swf file is. Correct any of those issues, and it should work.

- Eric

Offline

#19 2008-04-29 17:16:13

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: EBL_Upload

Hi Eric,

and congratulations!!!

TheEric wrote:

MASA – Error #2 is encountered when the upload.swf file cannot find the configuration file.

Thanks, will check that and report back.

Best Martin

Offline

#20 2008-04-30 09:29:41

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: EBL_Upload

Hi Eric,

I checked and all three files, .htaccess, lang.ebl_batchupload.xml and upload.swf
are in the textpattern folder and have 644 permissions, but no luck.

Any ideas?

Offline

#21 2008-05-01 19:22:18

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 603
Website

Re: EBL_Upload

Add http:// prior to the domain name in the hUrl field, and recreate a new serial number for the domain with the http:// included as well. It has to have a valid url to work. I’ll eventually work on a version that will work whether you add http:// or not.

Offline

#22 2008-05-01 19:37:24

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: EBL_Upload

TheEric wrote:

Add http:// prior to the domain name in the hUrl field, and recreate a new serial number for the domain with the http:// included as well.

I logged in and went to My Purchases, but I can’t figure out how to recreate the serial no.

Sorry, if I’m missing something.

Offline

#23 2008-05-01 19:51:50

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 603
Website

Re: EBL_Upload

Just enter the domain name as if you were generating a new license key.

Offline

#24 2008-05-01 20:12:54

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: EBL_Upload

TheEric wrote:

Just enter the domain name as if you were generating a new license key.

That’s what I’m struggling with: on my purchase history page there’s no input field, probably since I’ve used up my licenses.

On the store/member-index.php page all I get is the Purchase button that brings me to a Paypal page to purchase additional licenses.

?

Last edited by masa (2008-05-01 20:16:03)

Offline

#25 2008-05-01 20:22:37

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 603
Website

Re: EBL_Upload

Oops! Yes, that’s fixed. Try it now.

Offline

#26 2008-05-01 22:11:33

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: EBL_Upload

Thanks very much Eric,

it’s working now.

One more thing though…
it turned out I needed to add your .htaccess rules to my main .htaccess file in the web root rather than the Textpattern directory to make it work with mod_security on (I’m on Textdrive).

Offline

#27 2008-05-02 15:44:29

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 603
Website

Re: EBL_Upload

Really? That’s retarded. Putting it in there disables mod_security for the entire domain instead of just the particular folder where upload.swf resides. If textdrive won’t allow per directory overrides, then they’re really retarded.

Offline

#28 2008-05-02 19:07:07

masa
Member
From: North Wales, UK
Registered: 2005-11-25
Posts: 1,095

Re: EBL_Upload

Well, they do offer per directory options as far as I can tell from their webmin control panel: AllowOverride seems to be in effect, except it doesn’t seem to work or I’m misunderstanding something.

Offline

#29 2008-06-01 16:08:14

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: EBL_Upload

Eric, can you explain how the thumbnails works? I am trying to create 100×100px thumbs, and enter that into the two fields. However, I don’t get 100×100 thumbs, so assuming that the thumbs are proportional?

Any way around this? Cropping a future possibility?

And for the quality of the images – what is the difference between the high quality setting and leaving it off?

Edit: Toggling the “create thumbnail” to on, but not entering any dimensions, results in a thumb size of 100×75 in my case. The help says it will default to 100×100px..?

Last edited by jstubbs (2008-06-01 16:33:49)

Offline

#30 2008-06-12 15:45:28

TheEric
Plugin Author
From: Colorado & Montana.
Registered: 2004-09-17
Posts: 603
Website

Re: EBL_Upload

jstubbs wrote:

Eric, can you explain how the thumbnails works? I am trying to create 100×100px thumbs, and enter that into the two fields. However, I don’t get 100×100 thumbs, so assuming that the thumbs are proportional?

The thumbs are proportional indeed. They keep the same width/height ratio, so when you put in 100×100, it will resize the longest side to a maximum of 100 pixels, and the shorter side may be smaller than 100px. This was done to prevent distorted thumbnails.

Any way around this? Cropping a future possibility?

Currently, no. There isn’t a reliabile method of disabling this method, although the plugin code itself could be tweaked to remove the proportional resize. I can make it an option in the newer version I’m working on.

Cropping might be a possibility as well, but there are a couple of usability issues that would need to be sorted out first (e.g., where to start the crop, where to end, what to include, what to exclude, etc)

And for the quality of the images – what is the difference between the high quality setting and leaving it off?

The difference is speed and the quality of the thumbnails. With the HQ setting on, imagecopyresampled is invoked which makes a higher-quality thumbnail. With it off, imagecopyresized is invoked instead and quickly processes the thumbnail, at the expense of image quality.

Edit: Toggling the “create thumbnail” to on, but not entering any dimensions, results in a thumb size of 100×75 in my case. The help says it will default to 100×100px..?

Proportional resizing again. The default is 100×100 (although it can be changed in the configuration)

- Eric

Offline

Board footer

Powered by FluxBB