Add custom URL to Image on a node I'm using Drupal 7, and my nodes have an image and a weblink in seperate fields, The weblink is using the link module so not sure if that will complicate things here. (if so I could downgrade the link field to a text field)

anyway I'd like to create an &lt;A&gt; tag around my image whilst its being themed and I want the href or that &lt;a&gt; tag to point to the weblink url. Sounds like an easy thing to do hey... well I can't figure it out at all! so any help would be awesome :)
If I understand well your question, an alternative can be edit your image field ("Configure field" options) and select Rewrite results &gt; Rewrite the output of this field. Here you can make lots of things with your image, for example add a link from other previous view field, over your image.

here one example to string included in the rewrite field: 

&lt;a href="[field_link_test]"&gt;[field_image_test]&lt;/a&gt;


in this example [field_test_link] is a text field with the respective web address, and [field_image_test] is the field that comes with the image.



this image comes from Drupal 7, but this steps also are possible in Drupal 6