Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-09-23 20:02:51

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

[request] image cropping / thumbnail generation

I wonder how hard it would be to implement something like this php/jquery script (demo here) to provide a nice itnerface for cropping images and generating thumbnails.

Plugin devs, any thoughts?

More power to the image!


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#2 2008-09-23 21:15:00

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [request] image cropping / thumbnail generation

kemie wrote:

I wonder how hard it would be to implement something like …

Oh puh-leease, someone do this.

Offline

#3 2008-09-23 21:21:16

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

Re: [request] image cropping / thumbnail generation

Nice, although it works a bit erratically. Eric (EBL_Upload) had something like this in the pipeline – not sure what became of it.

Offline

#4 2008-09-24 02:21:53

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

Re: [request] image cropping / thumbnail generation

Dear Santa,

I have been very good this year. I just want 2 things for Christmas: A Red Ryder BB Gun, and some very kind person to implement the cropping feature kemie posted above.

Sincerely,
Tommy Reno

Offline

#5 2008-09-24 02:51:13

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

Re: [request] image cropping / thumbnail generation

Oh yah… I forgot I was working on something like that a while ago. In between school and everything at the time, I got sidetracked.

Offline

#6 2008-09-24 03:51:56

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: [request] image cropping / thumbnail generation

There is a similar but perhaps more capable jQuery script here that is worth a look. A live demo is here.

Offline

#7 2008-09-24 08:03:04

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: [request] image cropping / thumbnail generation

oooh, jCrop looks much nicer!

I bet if a dev put up a jCrop plugin up for rransom, they’d raise the ransom pretty quick! (hint hint) :D


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#8 2008-09-24 13:35:06

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

Re: [request] image cropping / thumbnail generation

Either one of those would be the jam!
Dale, care to take the magic you worked to get jm’s image picker and work it here?

)

Offline

#9 2008-09-24 14:24:21

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [request] image cropping / thumbnail generation

Either one of those would be the jam!
Dale, care to take the magic you worked to get jm’s image picker and work it here?

Yeah, but remember that it requires quite a lot of work; for now those only support JPG images, but what about gif or pngs that could also have transparency ;) And not to mention that these “nice looking image croppers” usually don’t work as nicely on every browser; jams on IE, randomly kills Fx etc.

What it actually requires atleast:

  • Little improved image saving script that supports as many servers as Textpattern does
  • Little browser debugging
  • Adding full image support; transparency, pngs etc.
  • Integrating that to Textpattern image tab; plus allowing user to make thumbs with out cropping
  • Limiting cropping only to:
    • Not flash objects.
    • Images that are too big in pixels or kilos to be cropped (you don’t want to kill browsers right).

Offline

#10 2008-09-24 14:30:10

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

Re: [request] image cropping / thumbnail generation

Dammit Gocom! You and your giant brain!

:)

Offline

#11 2008-09-24 14:39:42

chriloi
Plugin Author
From: Vienna, Austria
Registered: 2006-01-17
Posts: 120
Website

Re: [request] image cropping / thumbnail generation

I have started a plugin that uses jcrop. Might release it in some hours.

Offline

#12 2008-09-24 14:41:16

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

Re: [request] image cropping / thumbnail generation

chriloi rides in and saves the day!

)

Offline

#13 2008-09-24 14:48:59

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

Re: [request] image cropping / thumbnail generation

I think it would also need to incorporate other basic editing options like rotate and resize as are available in glx_admin_image

A combined crop & resize plugin is something that would improve image handling immensely. Not all clients are savvy enough to prepare their images in an editor to specific specs.

Anyone willing to take on this project? I’d be happy to fund development and I’m sure others would join in :-)

Offline

#14 2008-09-24 21:09:40

chriloi
Plugin Author
From: Vienna, Austria
Registered: 2006-01-17
Posts: 120
Website

Re: [request] image cropping / thumbnail generation

I’m thinking about enhancing my code to support resizing and rotation with client-side preview before releasing it here.

I don’t want to use a ransom, but I’d like to know if there will be any donations for that as this may prioritize this little project in my worklist.

Offline

#15 2008-09-24 23:12:04

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

Re: [request] image cropping / thumbnail generation

chriloi wrote:

I’m thinking about enhancing my code to support resizing and rotation with client-side preview before releasing it here.

Excellent!

I don’t want to use a ransom, but I’d like to know if there will be any donations for that as this may prioritize this little project in my worklist.

You can count me in.

Last edited by masa (2008-09-24 23:12:25)

Offline

Board footer

Powered by FluxBB