I've just started a site with Drupal 6 - I could use ver. 5 if it helps.

I want to achieve what's described in http://drupal.org/node/163561 :

I want to make a content type, allowing a user to upload an image which is displayed at a certain size in full nodes, and a certain smaller size in teasers with Views.

Can someone tell me what combinations of versions of drupal and modules should do what I want - then I can sit down and work through the problems. At the moment I've tried several approaches and none works.. so my head's starting to spin and I'm ready to give up!

I tried Drupal 6, and installed Filefield v 6.x-1.0-beta-3, Filefiled image 6.x-1.0, Filefield imagecache 6.x-1.0 and imageapi 6.x-1.0 alpha1

This doesn't work because I can't select a different size image in teaser vs full node. I posted about this in http://drupal.org/node/292382 but I'm not sure if that was the right place. A couple of other posts describe the same problem - maybe the v.6 module isn't ready for that yet? I can't figure it out.

Then I thought I'd try drupal 5 and the Imagefield module - but that was even worse; Drupal crashed out with messages like:

Fatal error: Call to undefined function imageapi_get_available_toolkits() in W:\www\modules\imagecache\imagecache.install on line 13

..and other messages as I tried various things.

(Aargh.. and now I've gone to edit a View in drupal6 and the 'Fields' box has vanished.. it was there yesterday..)

Thanks,

Comments

bwv’s picture

For Drupal 5.x, you can use CCK, imagefield, and imagecache.

Please note that the tutorial you referenced above is for drupal 5.x

Be careful that you select the appropriate modules for the version of drupal you are working with. Your error message above suggests you used an incorrect version (perhaps for 6.x) of imagecache with Drupal 5.x, for example.
----------------------------------------------------------------------
http://www.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.
Je peux communiquer en français. / Я могу общаться на русском языке.

dman’s picture

I'd think that the plain old image.module would be fine for just that out-of-the-box for both D5 & D6.
The imagefield approach should also work, but if it's crashing maybe it needs an issue in the queue.

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |