The default image for a content type will upload, but does not display.

CommentFileSizeAuthor
#4 imagefield_default_image.patch3.78 KBrecidive

Comments

aaaaaabsssssgu’s picture

Priority: Normal » Critical

Here the image shows in IE but Firefox shows only the frame for 2 seconds and then shows only the image title, this seems really odd.

yched’s picture

Priority: Critical » Normal

@stax : what you describe is the regular behaviour in Firefox when no image is found at the given url

+ this cannot be considered critical

dopry’s picture

Title: Default Image Won't Show » Add Default Image Support...
Category: bug » feature

While CCK has some generic tools for adding default values to fields, they are not implemented in imagefield currently. I'm switching this to a feature request.

recidive’s picture

Version: 4.7.x-1.x-dev » 6.x-3.x-dev
Assigned: Unassigned » recidive
Status: Active » Needs review
StatusFileSize
new3.78 KB

Here is a patch that adds support for default images. This patch also addresses the issue with empty tags being displayed when there is no image to display.

I'm changing the version to HEAD but actually this patch was taken against DRUPAL-5--2 tag and this version is not on the 'version select'.

recidive’s picture

And here is the patch for imagecache's imagefield formatter.

dopry’s picture

Status: Needs review » Fixed

Commited to DRUPAL-5--2.

Anonymous’s picture

Status: Fixed » Closed (fixed)
drupalmind’s picture

I don't get the default image in image's field configuration. Is it in here or any where else in configuration. i am using the alfa-4 release of ImageField module. i have applied the patch provided above with coder(module). please tell if there is remaining.