Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2008-06-12 15:46:11

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

Re: EBL_Upload

TheEric wrote:

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

p.s. sorry for the late reply, I wasn’t getting subscription notices for some reason.

Offline

#32 2008-06-24 12:44:26

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

Re: EBL_Upload

How would you improve EBL_Upload?

I’ve begun work on the new version of EBL_Upload. While I’m working on revising it, speeding it up and sprinkling magical fairy dust on the code, I thought that it would be most prudent to ask what changes and additions people want. _Currently, the only planned major revision is the elimination of the flash interface, and relying upon a CSS/HTML front-end, while still using the SWF for the multiple-uplaod capability that flash allows.

Requested Features:
  1. Crop from the center in a similiar fashion to that of TXP’s built in thumbnailing – Easy to do. Will be in the next release.

Last edited by TheEric (2008-06-24 13:37:14)

Offline

#33 2008-06-24 13:09:21

corra24
Member
Registered: 2006-08-19
Posts: 59

Re: EBL_Upload

TheEric wrote:

I’ve begun work on the new version of EBL_Upload. While I’m working on revising it, speeding it up and sprinkling magical fairy dust on the code, I thought that it would be most prudent to ask what changes and additions people want.

Cropping would be great.

Regards,

Corrado

Offline

#34 2008-06-24 13:12:06

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

Re: EBL_Upload

I’d like to see a crop feature that works just like the one in txp. Sometimes I need thumbs to be all square, so that would be a great improvement.

Offline

#35 2008-06-24 13:18:14

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

Re: EBL_Upload

If it were to crop the images square, which method would be the most ideal. “squishing” the image so that it fits within the bounds of a determined box, or cropping extraneous portions of the image beyond a determined point?

Offline

#36 2008-06-24 13:24:31

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

Re: EBL_Upload

I’d rather not have them squished.

Cropping from the center thereby discarding equal bits from left/right or top/bottom would be preferred. That’s how txp’s built-in cropping works, so the features would work the same.

Offline

#37 2008-06-24 13:27:52

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: EBL_Upload

I think actually cropping the image would be best.
At small sizes (20×20 for example) you might not notice the “squishing”…but at like 75×75 you can definitely see it.

Offline

#38 2008-06-24 13:28:51

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: EBL_Upload

masa wrote:

Cropping from the center thereby discarding equal bits from left/right or top/bottom would be preferred. That’s how txp’s built-in cropping works, so the features would work the same.

That gets my vote as well.

Offline

#39 2008-06-24 13:30:18

corra24
Member
Registered: 2006-08-19
Posts: 59

Re: EBL_Upload

masa wrote:

Cropping from the center thereby discarding equal bits from left/right or top/bottom would be preferred. That’s how txp’s built-in cropping works, so the features would work the same.

Thumbs up.

Corrado

Offline

#40 2008-06-24 13:35:41

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

Re: EBL_Upload

Very well. Then that style of thumbnailing will be a checked option.

Offline

#41 2008-06-24 18:13:28

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

Re: EBL_Upload

Thinking about cropping a bit more, I was wondering whether it would be feasible to offer that option for the full-size images, too.

I have a site where clients need to prepare the full-size images to specific width/height for galleries. Not all of them are comfortable with an image editor and for them an automatic cropping feature would be really helpful.

I realise that no auto-crop will produce results as nice as could be achieved by precise manual cropping, but for quick jobs this might be a fine option to have.

Offline

#42 2008-06-24 18:18:29

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

Re: EBL_Upload

I was contemplating some form of user-level control in this application. E.g. some users can size the images however they want, whereas others have to accept the default value, perhaps this same concept could apply to the the cropping?

Offline

#43 2008-06-25 21:30:25

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

Re: EBL_Upload

TheEric wrote:

I was contemplating some form of user-level control in this application.

Others might have a more specific opinion on that, but personally I’d allow users to do as they please regarding sizes, cropping etc. – they’re their images anyway.

Offline

#44 2008-07-17 20:05:41

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

Re: EBL_Upload

Ok. New Features have been finalized and coded. I’ll announce those shortly.

Now, as to the interface. Are there any ideas, requests, needs, etc as to how the UI should look/feel? I’m open to anything and with the version, anything is possible.

- Eric

Offline

#45 2008-07-17 21:26:58

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

Re: EBL_Upload

Eric, is the new version going to be Flash based? Thickbox style window would be nice. And – what features are you thinking of adding?

Offline

Board footer

Powered by FluxBB