<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
The easiest method would probably be to preprocess
theme_image_formatter (D7) in your theme's template.php:<br>
<br>
function mytheme_preprocess_image_formatter($variables){<br>
$variables['path'] = array(<br>
'path' => '{...some path here..}',<br>
'options' => '{any l() options you want passed if
needed}',<br>
);<br>
}<br>
<br>
You can also go the module route with a custom formatter, which
would probably be the better route (you then get the ability to use
it or not when setting your entity display):<br>
<br>
<a
href="http://www.computerminds.co.uk/articles/creating-new-field-formatters-drupal-7">http://www.computerminds.co.uk/articles/creating-new-field-formatters-drupal-7</a><br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 6/13/2012 8:20 PM, Anthony wrote:
<blockquote
cite="mid:CADEDVdppAzVMC5Pqoj+R15qkAY5Wy7PUj-+DJxon5hYpDPxs3Q@mail.gmail.com"
type="cite">So I have to create a tpl file for the node and then ?
More info or references, if possible, greatly appreciated. <br>
<br>
<div class="gmail_quote">On Wed, Jun 13, 2012 at 5:08 PM, Patrick
Avella <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:me@patrickavella.com" target="_blank">me@patrickavella.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>This can be easily done theming a node.tpl file if you dont
want to use a view.</p>
<p>sent from my phone.</p>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_quote">On Jun 13, 2012 8:06 PM, "LINDA
ROMEY" <<a moz-do-not-send="true"
href="mailto:lromey@gmail.com" target="_blank">lromey@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">I'm sorry but I'm
not a programmer so I can't answer that
question...is that something you can do with css?
<div><br>
<div>
<div>On Jun 13, 2012, at 5:44 PM, Anthony wrote:</div>
<br>
<blockquote type="cite">I don't want to change
the site to use a view on that one page. When
one goes to edit the image field in the
content type I can "Click a token to insert it
into the field you've last clicked.". But that
is not what i want I think. Can I
programmatically attach a url to a mouseover
event on the image?<br>
<br>
<div class="gmail_quote">On Wed, Jun 13, 2012
at 10:55 AM, Linda Romey <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:lromey@gmail.com"
target="_blank">lromey@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
Tony, I use a view to display the field
and use the view's "rewrite the contents
of this field" using tokens. It works very
well.
<div>Linda<br>
<br>
<div class="gmail_quote">
<div>
<div>On Wed, Jun 13, 2012 at 1:22
PM, Anthony <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:tony@tony-mac.com"
target="_blank">tony@tony-mac.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div>Dear All,<br>
I have a content type with an
image field. How can I attach an
"<a href= " tag to an
instance of this content type
field?<br>
Thanks<br>
Tony<span><font color="#888888"><br
clear="all">
<br>
-- <br>
<p><b
style="font-size:13px;font-family:'Lucida
Handwriting',cursive"><i>Anthony
Stefan Maciejowski</i></b></p>
<div><br>
</div>
<br>
<div><br>
</div>
<br>
</font></span><br>
</div>
</div>
<span><font color="#888888">--<br>
[ Drupal support list | <a
moz-do-not-send="true"
href="http://lists.drupal.org/"
target="_blank">http://lists.drupal.org/</a>
]<br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
--<br>
[ Drupal support list | <a
moz-do-not-send="true"
href="http://lists.drupal.org/"
target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<p><b
style="font-size:13px;font-family:'Lucida
Handwriting',cursive"><i>Anthony Stefan
Maciejowski</i></b></p>
<div><br>
</div>
<br>
<div><br>
</div>
<br>
-- <br>
[ Drupal support list | <a
moz-do-not-send="true"
href="http://lists.drupal.org/"
target="_blank">http://lists.drupal.org/</a>
]</blockquote>
</div>
<br>
</div>
</div>
<br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
</div>
</div>
<br>
--<br>
[ Drupal support list | <a moz-do-not-send="true"
href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<p><b style="font-family:'Lucida
Handwriting',cursive;font-size:13px;background-color:rgb(255,255,255)"><i>Anthony
Stefan Maciejowski</i></b></p>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
</body>
</html>