Download & Extend

FileField to ImageField

Project:FileField
Version:6.x-3.9
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hello,

years ago i created a CCK FileField... I used this field for uploading images.

Now, i want to migrate to Drupal7, and the only way to convert that CCK FileField into a D7 ImageField would be to convert tthe D6 FileField into an ImageFIeld first.

Is this possible? Can i use the "core upload" migration script?

Comments

#1

the only way to convert that CCK FileField into a D7 ImageField would be to convert tthe D6 FileField into an ImageFIeld first.

I'm not really sure why that would be, but you can change a filefield into an imagefield just by changing the widget on the field. An ImageField *is* a FileField, just with a different upload widget. The data storage for both types of fields is identical, so I'm surprised that you would need to "convert" from one to the other, since they both have the same data.

#2

cool, it was very easy, and the migration was succesful. Thanks.

#3

Status:active» closed (fixed)