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'] = 
    '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


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


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

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


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


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


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.


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.

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


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


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.

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


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


I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks... Ideal Shake

George Olson

Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own website soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any suggestions? Many thanks! Best grow lights

Ethan Schultz

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. Phenq in Stores

Edward Hansen

This article was written by a real thinking writer without a doubt. I agree many of the with the solid points made by the writer. I’ll be back day in and day for further new updates. watch free movies online streaming

Harold Santos

Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’r wait to read more posts. recliners for home theater

Emma Russell

Nice post. I was checking constantly this blog and I am impressed! Extremely helpful information specially the last part I care for such info a lot. I was seeking this particular information for a very long time. Thank you and good luck. male extra

Brittany Wagner

You have outdone yourself this time. It is probably the best, most short step by step guide that I have ever seen. High Protein Foods for Rapid Lean Muscle

Philip Burton

I read that Post and got it fine and informative. clinica dental en guadalajara

Amanda Reid

Attractive, post. I just stumbled upon your weblog and wanted to say that I have liked browsing your blog posts. After all, I will surely subscribe to your feed, and I hope you will write again soon! tienda en línea de zapatos


Finally found how to link image in the slide to a node, I have been quite busy at and they have been supporting so many of time, The link below is so much brilliant and worth trying, Have a great day ahead

where should this be placed ?


i need some help - drupal 6 with ddblock as news items, i just want to link the image to the node - same as the read more link. i guess i should put it in the template.php file where i put the ddblock preprocess functions code but where ??