Hi Danielef82,
The steps below shows you how to achieve your requirement with "Classic" layout of DotNetGallery
1. Open file"CuteSoft_Client\Gallery\Layout\Classic\Code.js"
2. Find section below, this is the photo onclick event.
img.onclick=ToDelegate(this,function()
{
this.Browser.ShowViewer(div.dngphoto);
});
3. By default, when you click on the photo, it will open the slide show view by this line this.Browser.ShowViewer(div.dngphoto);
in your requirement, you need to redirect to other page, then please remove this line and add the redirect code in this method, like below
img.onclick=ToDelegate(this,function()
{
window.location.href="http://www.google.com";
});
Now, when the user click on the photo, it will redirect to http://www.google.com.
If you are using other layout, please tell me, I will show you the steps to achieve it with other layouts.
Regards,
Ken