[support] Displaying img src without rendering image

Jacob M. Roufa jacob.roufa at gmail.com
Thu Sep 16 07:05:22 UTC 2010


The variables you need can be found in Theme Information on the Views administration page. Just build a tpl.php file using that information.

Let us know how it goes!



-- Jacob M. Roufa
(208) 557-9390On Sep 16, 2010 12:08 AM, Steve Edwards <killshot91 at gmail.com> wrote: 

I have a use case where in a View I need to display the code for a link to an image so that it can be copied and pasted elsewhere.  The field is just an imagefield and the link points to an imagecache derivative image.  The problem we're having is displaying the src value for the image without rendering the image itself.  An example of what we need to do can be seen at http://www.magazineimpulse.com/banners3.  The middle column was generated using the "Rewrite the output of this field" option in views with the following code:



<a href="http://www.magazineimpulse.com/spin" target="_blank"><img src="[field_image_cache_fid]"alt="spin" title="spin" border="0" ></a>



Is there a way I can render he entire link without the image being rendered?



Thanks.



Steve

-- 

[ Drupal support list | http://lists.drupal.org/ ]


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100916/48403700/attachment.html 


More information about the support mailing list