Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I am not sure anymore this project will merge with imagecrop.
It might be very useful to keep these project seperate, and the vibes I get are that this module (imagefield_crop) works better than imagecrop in terms of usability to people.
Therefore, I will probably update it soon to work with imagefield 6.x, and jquery ui. I do not have too much time on my hands for this, but I hope to get to it soon. Stay tuned! :)
If you are a developer and wish to help, drop me a note. Two are better than one!
is this port a project that's in progress, or a project that hasn't started yet? i agree that it's a high priority, as most users want the power to crop images, but lack the skill to use desktop software and upload images of the appropriate aspect ratio. i am interested in working on porting this module to 6, but my record for contributing to drupal has not been great, despite my best intentions.
@michaek, @all: thank you for your support, it's very encouraging. I don't yet have an ETA on this, but I'm working on it. Finding the time for this is the biggest problem, but I am doing my best.
Please do not ask when this will be available. I am working on it on my free time. If you would like to donate or help with the development, please contact me. I'll update here when the first release is ready for testing.
* Imagefield has gone through a major rewrite for Drupal 6.x, and is now using filefield for most of it's functions. While the code is very well structured, I am trying to get the hang of it and documentation is currently poor.
* I currently have a basic crop widget that can send crop dimensions to the crop function. thumbnails still do not work. I am trying to understand how to tell "preview" (where crop should not be final) from "save" where the original should be replaced by the cropped version. (saving the original for future crops is on the wishlist as well).
* The javascript interface has received a major upgrade by moving to Jcrop jquery plugin (dumping dead interface elements, and not using jquery ui, as originally planned). The JS code and the HTML/CSS has been tremendously simplified thanks to this plugin.
Thanks for all your support, I'll keep you updated here.
It's really good to hear your update yhager. Thank you for your hard work. Sounds like what you've done so far is a foundation for an even stronger version of imagefield_crop. I look forward to trying it out.
I have committed some code into CVS for Drupal 6.x version of this module.
The commit was solely for tracking purposes, since I have "something" working, I would like CVS to manage my code for it. It is work in progress, not ready for use, ugly, and it might explode in your face or kill your site.
Having said that - if you are bold - you can get the code from CVS, and try it out. The basic functionality of "upload an image, crop it, and save it" should work. There are a couple of issues regarding browser refreshes, so hit 'refresh' if this is not what you were expecting.
are you not intending to merge with imagecrop module anymore? I'm trying to decide which module to go with. I prefer the way your module works, but I don't want to adopt something that will be abandoned soon...
> So, what you saying is that it basically works, but page-refreshes break it?
No. I am saying that I have the basics working, and working on making it really work. Just a little more patience. I intend to handle page refreshes better than the 5.x version, I believe it should be possible.
If I might suggest, by making some kind of dev release for 6, maybe some of the people who have subscribed to this thread might be able to help, myself included.
@surge_martin, @all: I've released an alpha for the purpose of testing - please test and open issues as relevant.
The refresh problem is still with us, I will try to consult imagefield author on possible ways to solve this.
Will I be able to 'set an exact crop size per field' and have the crop window appear at the preset size for the end-user to select the area of the image to crop from?
As an example I'd like to restrict the user images to 150 x 150px and have imagefield_crop scale up or down as the case may be.
beta2 is out, and it is quite usable now. A proper release should follow in a few weeks if nothing critical pops up in the beta.
I am marking this issue as fixed. Thanks all for your support!
Comments
Comment #1
yhager commentedSure. I will work on this as soon as CCK and imagefield are ported.
Comment #2
JMowery commentedAwesome :)
I also added an entry early on the contributed modules status page for Drupal 6 here: http://groups.drupal.org/node/5036/
Looking forward to seeing what you can whip up.
Comment #3
yhager commentedComment #4
encho commentedSubscribing. Any news on this one?
Comment #5
yhager commentedWaiting for imagefield-6.x.
Comment #6
yngens commentedthere is alpha release of imagefield for 6.x already http://drupal.org/node/292981
Comment #7
yhager commentedyngens, thank you for the link.
This is informal yet, but the 6.x version of this project will merge with imagecrop. More info will be available after the drupalcon, where we will discuss this at http://szeged2008.drupalcon.org/program/sessions/future-imagecache-javas...
Comment #8
Tony Sharpe commentedsubscribe
Comment #9
duntuk commentedsubscribing
Comment #10
sammy-node commentedSubscribing - look forward to seeing it live :)
Comment #11
ztyx commented+1
subscribing, sounds like a very nice module!
Comment #12
yhager commentedI am not sure anymore this project will merge with imagecrop.
It might be very useful to keep these project seperate, and the vibes I get are that this module (imagefield_crop) works better than imagecrop in terms of usability to people.
Therefore, I will probably update it soon to work with imagefield 6.x, and jquery ui. I do not have too much time on my hands for this, but I hope to get to it soon. Stay tuned! :)
If you are a developer and wish to help, drop me a note. Two are better than one!
Comment #13
cburschkaThank you, thank you so much!
Subscribing.
I've updated modules for D6 and worked with jQuey before, so point out if there is anything I can help with.
Comment #14
gooddesignusa commentedCan't wait for this module to come out. I'm needing it bad :)
Comment #15
mandclu commentedYet another subscriber. Thanks for your work on this module, as you can tell by the number of subscribers, this is an invaluable addition to Drupal.
Comment #16
3duardo commentedsubscribing
Comment #17
mrfelton commentedsubscribing too...
Comment #18
michaek commentedis this port a project that's in progress, or a project that hasn't started yet? i agree that it's a high priority, as most users want the power to crop images, but lack the skill to use desktop software and upload images of the appropriate aspect ratio. i am interested in working on porting this module to 6, but my record for contributing to drupal has not been great, despite my best intentions.
Comment #19
yhager commented@michaek, @all: thank you for your support, it's very encouraging. I don't yet have an ETA on this, but I'm working on it. Finding the time for this is the biggest problem, but I am doing my best.
Comment #20
3duardo commentedI'm not sure about protocol but I suggest changing the title to:
Imagefield Crop - Drupal 6 port
cheers
Comment #21
somenoise commentedsubscribing
Comment #22
yhager commentedComment #23
bio44 commentedsub
Comment #24
zmove commentedHi,
Any news about it ? CCK and imagefield for 6.x exists since a long time ago now.
Comment #25
yhager commentedPlease do not ask when this will be available. I am working on it on my free time. If you would like to donate or help with the development, please contact me. I'll update here when the first release is ready for testing.
Comment #26
realityloop commentedsubscribe
Comment #27
yhager commentedStatus update:
* Imagefield has gone through a major rewrite for Drupal 6.x, and is now using filefield for most of it's functions. While the code is very well structured, I am trying to get the hang of it and documentation is currently poor.
* I currently have a basic crop widget that can send crop dimensions to the crop function. thumbnails still do not work. I am trying to understand how to tell "preview" (where crop should not be final) from "save" where the original should be replaced by the cropped version. (saving the original for future crops is on the wishlist as well).
* The javascript interface has received a major upgrade by moving to Jcrop jquery plugin (dumping dead interface elements, and not using jquery ui, as originally planned). The JS code and the HTML/CSS has been tremendously simplified thanks to this plugin.
Thanks for all your support, I'll keep you updated here.
Comment #28
flickerfly commentedIt's really good to hear your update yhager. Thank you for your hard work. Sounds like what you've done so far is a foundation for an even stronger version of imagefield_crop. I look forward to trying it out.
Comment #29
yhager commentedI have committed some code into CVS for Drupal 6.x version of this module.
The commit was solely for tracking purposes, since I have "something" working, I would like CVS to manage my code for it. It is work in progress, not ready for use, ugly, and it might explode in your face or kill your site.
Having said that - if you are bold - you can get the code from CVS, and try it out. The basic functionality of "upload an image, crop it, and save it" should work. There are a couple of issues regarding browser refreshes, so hit 'refresh' if this is not what you were expecting.
Comment #30
mrfelton commentedare you not intending to merge with imagecrop module anymore? I'm trying to decide which module to go with. I prefer the way your module works, but I don't want to adopt something that will be abandoned soon...
Comment #31
flickerfly commentedmrfelton, see comment #12. As far as I know, that's the latest.
Comment #32
Dimm commented+1
Comment #33
japanitrat commentedsubscribe
[edit] So, what you saying is that it basically works, but page-refreshes break it? [/edit]
Comment #34
yhager commented> So, what you saying is that it basically works, but page-refreshes break it?
No. I am saying that I have the basics working, and working on making it really work. Just a little more patience. I intend to handle page refreshes better than the 5.x version, I believe it should be possible.
Comment #35
mandclu commentedIf I might suggest, by making some kind of dev release for 6, maybe some of the people who have subscribed to this thread might be able to help, myself included.
Comment #36
yhager commented@surge_martin, @all: I've released an alpha for the purpose of testing - please test and open issues as relevant.
The refresh problem is still with us, I will try to consult imagefield author on possible ways to solve this.
Comment #37
bonked commentedsubscribing
Comment #38
3duardo commentedNeed some clarification...
Will I be able to 'set an exact crop size per field' and have the crop window appear at the preset size for the end-user to select the area of the image to crop from?
As an example I'd like to restrict the user images to 150 x 150px and have imagefield_crop scale up or down as the case may be.
Is this going to be possible here?
Comment #39
yhager commentedYes, I plan to have this in the final release.
Comment #40
yhager commented6.x-1.0-beta1 is released. Go grab it and test it. Be sure to report bugs! Thanks!
Comment #41
yhager commentedbeta2 is out, and it is quite usable now. A proper release should follow in a few weeks if nothing critical pops up in the beta.
I am marking this issue as fixed. Thanks all for your support!