I have a content type where there are multiple file fields - one for imagefield and one for pdfs with the issuu formatter.

When I reference this content type to get the image from, the image code is created, but it only goes to the imagecashe directory, instead of to the image, so no image is shown.

Comments

naheemsays’s picture

I have found the fix - line 460, replace:

    if ($field['type'] == 'filefield') {

with

    if ($field['type'] == 'filefield' && $field['field_name'] == $field_name) {

and that should do it.

miro_dietiker’s picture

Category: support » bug
Status: Active » Fixed
StatusFileSize
new1.1 KB

This has been fixed in CVS with attached patch.
In addition we implement early break to speedup.

miro_dietiker’s picture

StatusFileSize
new1.14 KB

Finally in current cvs we removed the field loop completely.

Status: Fixed » Closed (fixed)

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