Closed (duplicate)
Project:
Image
Version:
6.x-1.x-dev
Component:
image_attach
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2008 at 09:29 UTC
Updated:
5 Mar 2009 at 23:13 UTC
It would be great if image_attach used theming preprocessors in Drupal 6.x to provide template variables for attached images to node.tpl.php so they can be placed on the page more easily. Then advanced users could actually explicitly place their attached images in a template rather than just relying on weight.
I'm also trying to think of a way to allow users to sprinkle images within the body of a node using templating, rather than a module like Image Assist, but I don't think that's possible? Any ideas/suggestions gratefully received though. =)
Comments
Comment #1
Hetta commentedGo have a look at image_filter - that one works a treat, provided you know the node number of your image.
Comment #2
joachim commentedSee http://drupal.org/node/271287 perhaps?
Comment #3
Hetta commentedmarked http://drupal.org/node/300681 as duplicate
Comment #4
greg.harveyCould be an extension of... but that doesn't currently cater for the work being done on multiple images in image_attach - it might need it's own set of template variables? Perhaps it's sensible to keep Image Attach tasks independent of core Image module tasks?
Comment #5
sunTemplate files are too heavy for this simple snippet. See #221608: better theming split: can't get to IMG tag or image URL in templates instead.