Closed (fixed)
Project:
Imagefield Import
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2008 at 13:34 UTC
Updated:
29 Dec 2008 at 14:55 UTC
Jump to comment: Most recent file
Comments
Comment #1
vordude commentedNeed http://drupal.org/project/imagefield to get a good looking D6 release before this can get going.
D6 is definitely in the plans.
Comment #2
dirkson commentedEr... *confusion* They have an official D6 release?
Comment #3
vordude commented6.x-3.0-alpha1 2008-Aug-08 for imagefield--admittedly I should get over in his issue queue too.
Comment #4
dirkson commentedEr... Aye, that's the release I'm talking about. I'm very confused now.
Comment #5
dirkson commentedStill no idea what's happening with this.
Comment #6
Flying Drupalist commentedsubscribe
Comment #7
Flying Drupalist commentedNVM subscribe, please please update. I need this very very much. Imagefield alpha 2 is very good.
Comment #8
dirkson commentedBump for utter lack of response or explanation what's going on.
Comment #9
vordude commentedHere's where the module stands.
Any help would be appreciated.
:)
A patch pending here too for 5x-- if you're in the helping spirit.
http://drupal.org/node/284918#comment-1017802
Comment #10
mrthumpz commentedsubscribe
Comment #11
cpill commentedActually, I am in the helping mood. I need this on two sites and was thinking of doing a basic port to D6. I'll try and apply this patch and see if I can't get it going... how do you apply patches again?
Comment #12
vordude commentedHere is information on applying Patches.
http://drupal.org/patch/apply
The patch is has all of the D6 changes made--(I think)
But changes to way imagefield handles images needs to be taken into account.
I think:
http://drupal.org/node/201594 (mostly d5 stuff)
http://drupal.org/node/292904
...should get you on the right track.
Comment #13
rubymuse commentedsubscribing
Comment #14
jacerider commentedsubscribing
Comment #15
ablewave commentedsubscribing. thanks for any D6 updates.
Or has anyone successfully used this to import to a 5x, then export the nodes out and import into a 6x installation?
Comment #16
cpill commentedHey,
Thanks for the tip off about:
http://drupal.org/node/292904
I've incorporated that code with only a few minor changes and it seems to work on my laptop (MacOSX + Apache 2+ PHP 5.2) and will test it on a Linux server some time today.
I have to confess I don't really understand the way filefield works from this and will now move on to the node_import module and attempt to do this in a more general sense for all CCK fileds with the aim to use that module to work with Ubercart. This is a good start however :)
let me know how it goes people.
Comment #17
banglogic commentedsubscribing
Comment #18
banglogic commentedHello cpill,
Thanks for submitting the patch. Any word on how this worked out? I'm experimenting with moving a site which is under development from "Image" to "Imagefield" and the ability to mass-import images (as offered by "Image Import") will be sorely missed.
I'll be giving this a shot myself soon and will provide feedback.
Comment #19
vordude commenteddouble post
Comment #20
vordude commentedcpill-- you rock.
I did some coding standards cleanup and ran some straightforward tests-- Everything seems to work fine.
Also fixed this bug in this issue: http://drupal.org/node/340467
The File attachment is adding an extra "_" in the extension, but I seem to still be able to open it--
Comment #21
vordude commentedComment #22
banglogic commentedWanted to report my results when testing this patched version ("Drupal 6 support?", Comment #20, vordude" -- http://drupal.org/node/295295#comment-1143223) of "ImageField Import" on a 6.x-based site.
It works! I was able to efficiently import nearly 2000 images using this module. It worked much the same way that the "Image Import" module works. In general, this is it:
1. Visit the ImageField Import settings page (admin/settings/imagefield_import)
2. Confirm the import path and node type you will be importing into (you must create your own node-type with an ImageField field prior to running this)
3. FTP the files into the predefined import path
4. Vsit the ImageField Import page (admin/content/imagefield_import)
5. Toggle the check boxes for those you wish to import
6. Update the Title field (pre-populated with name of the image files)
7. Add text to the Body field (if desired), and finally
8. Click the Import button.
ImageCache processes the images to create the derivatives and all is well.
Please note that I have not dug into the code provided nor made any effort to find flaws with this port. I just know that it is "working" at this time.
One important issue did arise: In order to install this module, I had to DISABLE the "Images" node. While it's well known that the "ImageField" and "Image" modules are "incompatible", this is the first issue where I found that I actually needed to disable the Image module. I don't recall the specific error at the moment but it was something about "image" already being declared (apologies for not getting the specifics, I was in a hurry to move forward).
At that point, I needed to REMOVE the "imagefield_import" folder from the "modules" path, then disable the "Images" module(s), then place the "imagefield_import" folder back in "modules" again.
A secondary, much more minor note: The name of this module is referenced as "Imagefield Import" throughout, whereas the main module is called "ImageField" (note the capitalized "F"). Really petty issue really, just nice to be consistent.
Other than that, I didn't have any problems. Many thanks to cpill and vordude for bringing it into the 6.x arena.
Comment #23
cpill commentedYour welcome banglogic,
good to hear its working for you. I have also tested it on a live Linux server and seem to be all good.
Maybe vordude should consider making it official after he has given it the once over?
Comment #24
jakew commentedsubscribe
Comment #25
droolpal commentedThis patch works for me in Drupal 6.6 (http://drupal.org/node/295295#comment-1143223). I just unpacked and installed like any other module, worked right out of the box. Thanks to Betz for tipping me off to it, thanks to cpill and vordude for making the patch happen!
Comment #26
vordude commentedwrapped into a release yesterday.
again--
huge thanks to cpill! you rock !!!111!!oneone!!!
Comment #27
attiks commentedI tried this, but I got a WSOD, after i renamed
to
all was working
Comment #28
vordude commentedWhere do you see the line you changed?
What Version are you using?
I just looked over the latest 5.x and 6.x versions, I don't see the issue.
(perhaps I need more coffee)
Please elaborate...
Comment #29
attiks commentedI used to code in http://drupal.org/node/295295#comment-1143223, line 408 has the function
Comment #30
vordude commentedAh,
That file is already outdated.
Latest version is in a release on the project page--latest release has fixed a couple of bugs beyond the initial port.
http://ftp.drupal.org/files/projects/imagefield_import-6.x-1.3-beta1.tar.gz
Is the latest version.