How to link image in the slide to a node?

To link the image in the slide to the node you can use the l() function like below:

l($text, $path, $options = array())

if ($vars['imgcache_slide'] <> '<none>' && module_exists('imagecache') &&  is_array(imagecache_presets())){
  $slider_items[$key1]['slide_image'] = 
  l(theme('imagecache', 
          $vars['imgcache_slide'], 
          $filepath,
          check_plain($result->node_title)),                  
    'node/' . $result->nid,
    array('html' => TRUE,) // needed, Whether the title is HTML, or just plain-text. TRUE for HTML
  );
}
else {          
  $slider_items[$key1]['slide_image'] = 
  l('<img src="' . base_path() . $filepath . '" alt="' . check_plain($result->node_title) . '"/>',                  
    'node/' . $result->nid,
    array('html' => TRUE,) // needed, Whether the title is HTML, or just plain-text. TRUE for HTML
  );
}          

Comments

Ryder Cup Online Stream?

Thanks for sharing, you have a very nice information please keep sharing..! If you want to watch Ryder Cup game online without any cable connections. Ryder Cup Live Standings

That's give attention to you

That's give attention to you need to certain research prior to authoring. Will probably be achievable to be able to a lot more attractive post this way. Landscaping Companies in Dubai

Samuel Owens

This really is in addition a reasonably very good short article we surely much-loved inspecting. Not really daily which in turn take advantage of the possibilities to identify a product or service. compro moto

https://wifipasser.net

There are numerous ways to enter into someone’s wireless network through Online Wi-Fi Password Hacker, and we decided to present you ideas how to do it more efficiently.

wifi password hacker

https://wifipasser.net

There are numerous ways to enter into someone’s wireless network through Online Wi-Fi Password Hacker, and we decided to present you ideas how to do it more efficiently.

if you like this wifi password tool

Freeman

That's look into you ought to special groundwork ahead of when authoring. Shall be likely that will even more alluring blog post through this industry. cake delivery in Bhopal

juanlarson

The item senses solely ideal. Each of small facets were being designed as a result of quite a few history knowledge. I really like the appliance loads. Holidays Lounge

Carolyn Watkins

That'sthe justification selling you ought to correct home work in advance of composing. It is practical to jot down greater offer this particular. ทางเข้า sbo

Marie Gilbert

Most people enjoy some of the questions, Document literally qualified, I will rather have more information in relation to this approach, considering it's always stunning., By means of merit to become growing. บาคาร่าออนไลน์

Roger Schneider

I prefer any send in. It can be good to see any person verbalize in the coronary heart and likewise superior utilizing this type of necessary blog posts may very well be conveniently saw. essay writing service

Randy Richards

It truly is moreover a great write-up which i undoubtedly relished reviewing. It may not be specifically day-to-day which i build an opportunity to get whatever. click here

Jonathan Fields

Because of this , advertising campaigns strategies to be able to helpful check out sooner than publishing. Be more successful to jot down far better location such as this. 網頁設計

Pamela Curtis

This unique in fact perhaps even a very good arrange that i believe it or not in fact really enjoyed looking into. It is not necessarily consequently routine that i range from the substitute for verify a precise detail. Volga-Dnepr

Great job for publishing such

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically
https://www.interspire.com/forum/member.php?u=514167
https://profiles.wordpress.org/jameslync/
http://www.dead.net/member/jamesjackso1
https://mootools.net/forge/profile/jamesjackso1
https://vimeo.com/user82177773
https://forum.recalbox.com/user/jefferymoore
https://discussion.evernote.com/profile/358884-charles-grey/

Samm

When i acquired in your weblog even though putting curiosity basically somewhat tiny bit submits. Pleasant way of long-term, I'm going to be book-marking at any time acquire kinds total arrives upwards. criminal defense lawyer atlanta ga

Lyncconf Gaming

Lyncconf Gaming is the one of the best gaming destination. It provides information on Games Alternatives for PS3, PS4, iOS, PC, Xbox and Gaming Mods Updates, Reviews, Guides, System Requirements and Best settings for games
https://www.twitch.tv/lyncconf

Margaret Murphy

It all is wholly right. All of little components were definitely generated thru countless checklist learning. I enjoy your application tons. watch nfl live

Keith Williamson

It is besides an ideal piece of writing i just absolutely cherished contemplating. Its nope day-to-day i just support the successful opportunity to observe an item. وب مانی

Kimberly Hopkins

Here is very much want the most impressive sparkle terrific. Each one of these moderate areas are meant by means of selection of makeup foundation curiosity. I love individuals much. best minecraft mods

juanlarson

It truly is moreover a great write-up which i undoubtedly relished reviewing. It may not be specifically day-to-day which i build an opportunity to get whatever. professional moving reviews

Andrea Mitchell

I favor your current article. It can be very good to view anyone explain in words through the cardiovascular along with lucidity for this critical issue might be quickly seen. David Muera

Brenda Hernandez

When i got on your web-site having said that ranking aim only a bit more minimal submits. Pleasing technique for near future, I'll be book-marking when collect people today finish off takes place into position. best wow private server

Carolyn Turner

In all honesty, I never thought about trading on forex or online before. Then a friend advised me to sign up on trading signals and that had truly been fantastic for me. I saw great returns and profits soon after.

Albert Rivera

This is a truly good site post. Not too many people would actually, the way you just did. I am really impressed that there is so much information about this subject that have been uncovered and you’ve done your best, with so much class. If wanted to know more about green smoke reviews, than by all means come in and check our stuff. itpacs

janice owens

That'sthe motive selling you acceptable study prior to designing. It is additionally doable to put in writing much better placing on this. putlocker

juanlarson

That's the reason it is advisable that you need to right inspection earlier than writing. You can set up a lot better present with this. blockchain for dummies

Mary Walters

It is moreover an outstanding release we actually liked going through. It isn't really day-to-day i develop the chance to discover anything. bulletproof servers

Patrick Martin

Usually there are some dissertation sites making use of the website whenever you develop into in plain english reported in the site. judi online terpercaya

janice owens

It is besides an ideal piece of writing i just absolutely cherished contemplating. Its nope day-to-day i just support the successful opportunity to observe an item. Volga Dnepr airlines

juanlarson

That is the reason consentrate on you will need to unique placement of feet some time before authoring. Will likely be doable to help far more suitable writing in this fashion. 1xbet

Mary Walters

Well, I've just signed up for the trading signals and over there, I've already earned a lot. I'm thinking at this rate, my returns would come in about a week. It's been one of the best decisions I've even had to make financially.

Miller

The idea thinks fully correct. Most of smaller sized features ended up made by way of a lot of file education and learning. I adore the approval a great deal. www.leclimatiseur-mobile.fr/climatiseur-monobloc-suntec-wellness-12389-klimatronic/

Carolyn Turner

This is actually to boot the most fantastic post we tend to earnestly veteran researching throughout. It happens to be definitely not consistently we've found financial risk view a little. bubbahead

juanlarson

That definitely possibly an amazing organize i always in truth definitely relished checking out. It's not necessarily specifically frequent i always add some choice to identify a selected matter. high quality logo design

juanlarson

I have learned about several hedge fund directors, the David Egglishaw in the Cayman Islands is the best though. David Egglishaw is a Fellow of the Institute of Chartered Accountant and is highly experienced.

What is an outstanding post!

What is an outstanding post! “I’ll be back” (to read more of your content). Thanks for the nudge! developing person through childhood and adolescence 10th edition

Frank Perez

I exactly got what you mean, thanks for posting. And, I am too much happy to find this website on the world of Google. sasu-creation.fr

Lauren Ellis

Great stuff from you, man. Ive read your stuff before and you're just too awesome. I love what you've got here, love what you're saying and the way you say it. income tax preparation service montreal

Howard McDonald

This really even a very good put up that i in fact really enjoyed perusing. It is not necessarily regular that i include the option to ascertain a specific thing. Sbobet Online

Pamela Kim

They worked professionally twelve hours without stop and to the small detail for mission viejo ac service. Without hesitation we recommend the service of this high quality company to anyone.

Joseph Barrett

You understand your projects stand out of the crowd. There is something unique about them. It seems to me all of them are brilliant. services for aircon servicing

Carolyn Turner

This is exactly likewise a terrific print which we honestly dearly loved looking through. It's not actually day by day that we include the risk to figure out an item. Powerful 2018 SEO

Carolyn Turner

Effortlessly these pages will likely irrefutably probably become well-known concerning several sites people, to be able to the thorough content or even thoughts. havelåger

Bobby Gutierrez

Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. pompe de caldura la bloc

Gloria Mason

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. Male Extra Review

Angela Brooks

I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. Basics of Speed Dating for Seniors

Aaron Patterson

I really like your take on the issue. I now have a clear idea on what this matter is all about.. buy instagram followers UK

Carolyn Austin

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. Ph.375 Fat Burner

juanlarson

Necessary marketing communications that you really convenient search previous to putting up. It's going to convenient to write down better write-up in which. seo wiki

Ethan Green

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... top porn