Well that looks promising and easier than pre-processing. <br>Thanks Jamie<br><br><div class="gmail_quote">On Thu, Jun 14, 2012 at 4:12 PM, Jamie Holly <span dir="ltr"><<a href="mailto:hovercrafter@earthlink.net" target="_blank">hovercrafter@earthlink.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
You don't set that. It's either going to link to the node or the
image source file. Those are all set in the image module and don't
supply a user interface to change them.<br>
<br>
Have you checked out this module?<br>
<br>
<a href="http://drupal.org/project/linkimagefield" target="_blank">http://drupal.org/project/linkimagefield</a><div class="im"><br>
<br>
<br>
<pre cols="72">Jamie Holly
<a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a>
<a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a></pre>
<br></div><div><div class="h5">
On 6/14/2012 6:48 PM, Anthony wrote:
<blockquote type="cite">I have been exploring possibilities here. <br>
I created a new content type and am at the manage display screen
.There I have a possibility, for the image field, under the format
column to "link image to" either file, content or nothing. When I
link to content or file and view the content type I can see that
there is a link on the image but I don't know where to set that -
hopefully url in my case.<br>
Thanks<br>
Tony<br>
<br>
<br>
<div class="gmail_quote">On Wed, Jun 13, 2012 at 7:51 PM, Anthony
<span dir="ltr"><<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
excuse that last. Think before you write Tony. <br>
<div>
<div><br>
<div class="gmail_quote">On Wed, Jun 13, 2012 at 7:46 PM,
Anthony <span dir="ltr"><<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Won't
it suffice to just use the link module?
<div>
<div><br>
<br>
<div class="gmail_quote">On Wed, Jun 13, 2012 at
7:20 PM, Anthony <span dir="ltr"><<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Jamie. I will
try it out. <br>
<div>
<div><br>
<div class="gmail_quote">On Wed, Jun 13,
2012 at 5:33 PM, Jamie Holly <span dir="ltr"><<a href="mailto:hovercrafter@earthlink.net" target="_blank">hovercrafter@earthlink.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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" target="_blank">http://www.computerminds.co.uk/articles/creating-new-field-formatters-drupal-7</a><span><font color="#888888"><br>
<pre cols="72">Jamie Holly
<a href="http://www.intoxination.net" target="_blank">http://www.intoxination.net</a>
<a href="http://www.hollyit.net" target="_blank">http://www.hollyit.net</a></pre>
</font></span>
<div>
<div> <br>
On 6/13/2012 8:20 PM, Anthony
wrote:
<blockquote 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 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>
<div>
<div class="gmail_quote">On
Jun 13, 2012 8:06
PM, "LINDA ROMEY"
<<a 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 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 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><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 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 href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<p><b><i>Anthony
Stefan
Maciejowski</i></b></p>
<div><br>
</div>
<br>
<div><br>
</div>
<br>
-- <br>
[ Drupal
support list |
<a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]</blockquote>
</div>
<br>
</div>
</div>
<br>
--<br>
[ Drupal support
list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
</div>
</div>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<p><b><i>Anthony Stefan
Maciejowski</i></b></p>
<br>
<br>
<br>
<fieldset></fieldset>
<br>
</blockquote>
</div>
</div>
</div>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a>
]<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<p><b><i>Anthony
Stefan Maciejowski</i></b></p>
<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
</div>
</div>
<span><font color="#888888">-- <br>
<p><b><i>Anthony Stefan
Maciejowski</i></b></p>
<br>
<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<br>
</div>
</div>
<span><font color="#888888">-- <br>
<p><b><i>Anthony Stefan Maciejowski</i></b></p>
<p>
</p>
<br>
<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<p><b><i>Anthony
Stefan Maciejowski</i></b></p>
<p>
</p>
<br>
<br>
<br>
<fieldset></fieldset>
<br>
</blockquote>
</div></div></div>
<br>--<br>
[ Drupal support list | <a 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>
<p></p><br><p></p><br>