Hello. I've a problem getting an image attached to a node to appear in it's resized form on my site's front page via a view.
How I've got things set up; I've added an ImageField (field_posterflyer) to my Event content type so users can upload a poster/flyer image for display in a view on a site's front page. I've an ImageCache resize preset added ("event_image") which should resize an image to have a width of 420px. I've also got both a) the ImageField (in the Event content type's 'Display fields') set to show the ImageCache preset and b) the view set to 'Content: Poster or flyer (field_posterflyer)'. (I wasn't sure if the former was required so I set it anyway.)
My problem is that the view isn't outputting any image when the format is set to 'event_image image', though strangely it gives a URLs that sound like they should be correct (http://theforest.org.uk/drupal-6.9/sites/default/files/imagecache/event_... and http://theforest.org.uk/drupal-6.9/sites/default/files/imagecache/event_...) when set the view to 'event_image url', but these both give a 404 (fyi; the server setup makes this give the current Joomla site error page).
I've had a google around but can't find any examples of others setting things up for this kind of usage. Can anyone advise on where I'm going wrong? Thanks.
p.s. oh, and;
Drupal 6.9
Content 6.x-2.x-dev
ImageField 6.x-3.0-alpha4
ImageCache 6.x-2.0-beta8
Views 6.x-2.3
Comments
This is most likely a memory
This is most likely a memory issue. How much memory have you enabled for php?
Currently it's at 64Mb. It
Currently it's at 64Mb. It was upped from 32 a couple of weeks ago after installing Ubercart started giving an "Fatal error: Allowed memory size of 33554432 bytes exhausted...etc" message, but UC isn't confised or in use yet and no further modules have been installed since.
MilkMiruku
Yeah, try 96MB which is the
Yeah, try 96MB which is the recommended level for Imagecache. Also, take a look at your server logs and see if you can see any unresolved errors.
Dave
fixed!!
with help from comments on http://drupal.org/node/224913
switched the file transfer mode from public to private.
MilkMiruku
FYI for those confused with
FYI for those confused with this in the future:
Another reason they're not displaying could be something that I just experienced: I was building a site on an IP address and ImageCache wasn't display within the Views. I added a domain name to the site and bam! ImageCache images now display.
Tim
Website: www.timhobert.com