Hi,

I have a table of nodes (using views). One of the fields is an excel file link, the display of which is a messy long file name and naff looking excel icon. I would like to replace this with a simple file icon, which could still be clicked on as if it was the original file link. I thought I could do this with "rewrite results":

img src="/files/your_image.jpg"

however this doesn't seem to work

is there a way to do this?

Cheers

Comments

in image field config(or

in image field config(or other field), cheked the [x] output this fiekd as link, fill the 'link path' field with your excel link field or other [token] data.

ꦱꦠꦽꦶꦪ

i see

i was hoping for something a little more automated than that. Basically other people will be creating the nodes on a separate login, I have a field which the user uploads the excel document, I was kind of hoping that this display could simply be swapped with an image by default, is it definitely not possible?

Thanks for your responce

good question! I would use an

good question! I would use an answer in my project too.
may be there is a way to do it though some kind of hook_views where we can change text of link to link of img.

nobody click here