I believe I have everything set up correctly, but I'm not seeing the image in the node (just an icon that links to the file).

In the field settings I have the Field Type and Widget Type set to Image, the image did upload and the link leads to the file correctly. Permissions are set to allow everyone to view the field. The File System is set to Public.

I have created a view which displays a thumbnail of the image, and that actually displays - but it doesn't in the node.

Am I missing something?

Thanks for any assistance.
Dan

CommentFileSizeAuthor
#8 imagefield_default_formatter.patch1.41 KBquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AgentD’s picture

Scratch that....found another setting that was not correct.

Fixed.

earthangelconsulting’s picture

Version: 6.x-3.0-alpha2 » 6.x-3.x-dev

for the benefit of others, here's the fix that I think AgentD found (or at least, it worked for me, I am running filefield-6.x-3.0-alpha5, had the same issue):

1a) go to url admin/content/node-type/xxx/display where xxx is the machine-readable name of the content type of your node

OR

1b) go to admin/content/types and click on the "edit" link for that node type, and then click the 'Display fields' link (in the 'tab' area in the main content area header)

2) find the row(s) for the image field(s) not displaying as pictures, and change the select box (under the column Teaser and/or Full Node) from "Generic Files" to "Image".

and that's it!

somerandomnerd’s picture

Version: 6.x-3.x-dev » 5.x-2.1
Component: Miscellaneous » Documentation

Thanks- I was having the same problem in Drupal 5, and that sorted it. (Although it was "Link to image", rather than just "image")

Cheers,

Scott

c-c-m’s picture

Thank you! That's what I was looking for! It was driving me crazy

jvieille’s picture

Thank you!
I am using D6, the "fix" is still valid
Image field has no documentation at all, if something were to be written down, this is a premium candidate

artefatta’s picture

goatvirus, thanks a lot for your tip!

quicksketch’s picture

Title: Image not showing in node. » Make "Image" the Default Formatter
Version: 5.x-2.1 » 6.x-3.x-dev
Category: support » task

I'm moving this issue to a task, since it'd be helpful if ImageField simply defaulted to using the Image formatter.

quicksketch’s picture

Component: Documentation » Code
Status: Active » Fixed
FileSize
1.41 KB

I've committed the attached patch which sets "image_plain" as the default formatter for all new ImageFields. I had hoped to implement it a hook_fieldapi() but looks like those values are not passed by reference so putting it directly on the add field form was the only way I could possibly make this work. I'd be happy to have this revised in a future patch.

Status: Fixed » Closed (fixed)

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