Integrating web url into image output for a clickable image

Hi Jatlin,

Thank you for helping and your patience. There are two points.

  1. The ‘Visit Website’ code uses a database driven website url which is for a specific link.
  2. The ‘background-image’ code uses the same database for that specific website but does not click to go to the website.

So what I want to do is allow the specific ‘Visit website’ code to allow users to click the image as well as use the ‘Visit Website’ link. It gives the user the option to click the picture and go to the same destination that the ‘Visit Website’ link uses.

Does that make sense? I thought it would be quite straightforward to people that understand CakePhp, unfortunately for me I am only a novice with this.

If you can give me the code that would add the link to the web address into the background image code it would be much appreciated. I will test it out and see if it works and tell you if I have had any success with it.

Much appreciated if you can solve this little puzzle.