If installing imagefield_crop on an existing site that has been using imagefield, it removes access to all existing images stored in a node.

No picture is displayed, but the replace button below the file browse button is visible.

The original images would not have been cropped -- but can they still be visible on the edit form?

Comments

yhager’s picture

Project: Imagefield Crop » ImageField
Version: 6.x-1.x-dev » 6.x-3.x-dev
Status: Active » Postponed (maintainer needs more info)

Are you sure this is not an ugprade issue? imagefield_crop does not interfere with image display, only when saving the image.
Also check out http://drupal.org/node/260585#comment-919161 - it might be helpful if this is an upgrade issue.

quicksketch’s picture

Project: ImageField » Imagefield Crop
Version: 6.x-3.x-dev » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

yhager, I think what budda is describing is that ImageField Crop does not play nicely if it's enabled on a field that previously was using a normal ImageField. This is probably because ImageField Crop needs to generate the cropped image thumbnail. I'm not entirely sure.

So, to reproduce:

- Setup a site with FileField/ImageField, but with ImageField Crop not enabled.
- Add an ImageField to a content type
- Upload an image to the image field.
- Enable ImageField Crop module
- Change the widget on the image field from being a normal "Image" to "Image with cropping".
- Try to view/edit the node.

I haven't actually tried this workflow out, I'm just expanding on what budda was trying to say.

ScarabMonkey’s picture

I also have this issue... quicksketch is right about the 'workflow' to reproduce this ... I have just installed ImageField Crop after using 'imagefield' with the 'image' widget. I had tested it a few weeks ago and it was working... now though, with the new filefield/imagefield system it seems that previously uploaded pics are not showing up on the edit page.
Of course, re-inserting them works.

pirofun’s picture

i am also having the same issue. will not display images previously uploaded using the normal imagefield widget but now using the imagefield crop widget. for more clarification the image only fails to show on the NODE EDIT screen. It displays correctly in VIEW NODE. Sounds identical to above posts.

yhager’s picture

Status: Active » Fixed

Thanks all for the report. Fixed and committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.