peterpp Posted December 30, 2014 Share Posted December 30, 2014 HI, I am displaying an image of each page on homepage using foreach loop in template. I want to add a url to each image. I want to place url from backend not template. How can i achieve this? Regards, Pravin Link to comment Share on other sites More sharing options...
Gayan Virajith Posted December 30, 2014 Share Posted December 30, 2014 HI Pravin, What about Fieldtype image extra module by justb3a. Thanks Link to comment Share on other sites More sharing options...
peterpp Posted December 30, 2014 Author Share Posted December 30, 2014 HI Pravin, What about Fieldtype image extra module by justb3a. Thanks Hi Gayan Virajith Thanx for your reply. I got the solution. I am using single image field. I am putting url in Description field and in template, i am calling it as <a href='{$image->description}' target='_blank'><img src='{$image->httpUrl}'></a>. Regards, Pravin 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now