I just installed image cache, image api, image field and file field, basically all needed modules, enabled them created 2 image types, thumb with scale and crop and full image with scale

WHen I crate new fields in cck I dont see the option image, where i can select the image that I just created??

Any idea?

Comments

vannus’s picture

its one of those 'easy when you know how' things...

in 'manage fields', type in your field label & name as usual.
select 'file' from 'field type'
select 'image' from 'widget'

its works for beta10 anyway... dunno about beta9.

ok, this is about the 5th time ive tried replying to this message, if 5 appear im not spamming, i just keep getting 'service not available' messages

fender-dupe’s picture

yes I see upload and image, but you can not select thumb or full size later, are you sure it is working correctly or it is a bug?

fender-dupe’s picture

I tried it again, file ---- image

there is not option to select thumb image to appear in the intro display of the article and then the full size image when you open the node.
There must be some bug?

vannus’s picture

first, make sure you have a couple sizes in administer -> configuration(?) -> imagecache. (small 90x90, mediuam 120x120, large 180x180 is what ive got)

in the display fields tab, choose sizes. ie. for basic (large+link to image), teaser (small + link to ode) and rss (small + link to node).

hth, thats off the top of my head, my server isnt running at the moment

fender-dupe’s picture

of course I set the 2 sizes, but in ckk I dont get the option to choose them in nodes, thumb and full size, i think it must be a bug

vannus’s picture

when your in the display tab for the content type, what does the dropown for teaser/full show?

http://drupal.org/node/163561 might help.

where are you seeing 'nodes, thumb, full size'?

bmateus’s picture

fender is probably changing the presets of "Images" (admin/settings/image).

In fact, you need to go to imagecache, as "Images" doesn't seem to work with CCK (it's a 3rd.party module).

Go to ImageCache (admin/build/imagecache), and then create a new preset, with the scale and crop definitions you need.
After save, just go back to the View that displays the CCK Image field and select the name of your new preset on the settings.

You have a View, don't you? :)

Hope it helps.

les lim’s picture

Priority: Critical » Normal
Status: Active » Fixed

You can only choose an imagecache preset per content type, not per node. Thus, you won't be able to select an imagecache style from a node edit form.

Instead, edit the content type itself and go to the "Display fields" tab.

alexfisher’s picture

Man, why do I forget this once a year and waste hours and hours searching for why my presets aren't showing up? Thanks for the clarification bmateus!

Status: Fixed » Closed (fixed)

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

bmateus’s picture

Glad I could help.