Currently, I'm trying to create a newsfeed that writes the node title across an imagecache created picture using a node CCK Imagefield as the base picture. This works well when uploading a new picture along with every node. Problem arises as I want the users to be able to create news without uploading a picture as well. Therefore I tried adding a default picture to the node type hoping that it would resolve the problem.
This doesn't work though, since Imagecache views the default picture of the node as one picture, and thus generates just one version of it (stored in files/imagecache/preset/imagefield_default_images), resulting in every news item without a unique picture getting the same text.
Is there a way to tell Imagecache to generate a new image for every node that has the default image as well?
Comments
Comment #1
FreddieK commentedMoving this, since noone's answered and it probably belongs in Imagefield. So, in short:
Is there a way to make Drupal create a copy of the Imagefield default image for every node so that they will all be uniquely handled by Imagecache?
Comment #2
quicksketchNo, ImageField won't do this since it'd be rather inefficient. I think that this would be the wrong solution to the problem that's being experienced anyway, since the problem is "every news item without a unique picture getting the same text."
I don't think that ImageField should be doing what's being described, it's probably a configuration problem with your view.
Some related default image/views problems:
#460996: ImageField Default Images not showing up in Views
#513068: default image is shown on nodes without this imagefield (in a list view)
Comment #3
FreddieK commentedThis has nothing to do with Views, but you're right that an efficient solution should probably be handled in Imagecache rather than Imagefield. Back we go.
Comment #4
fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.