I have been playing around with the printRandomImages function on an external page pretty successfully but wondering if it's possible to alter the link (created by the function) so rather than going to the random image itself (image.php) it goes to the album the image came from instead? My theme doesn't use the image.php page hence why I'm trying to get this to behave differently...
Currently there is this line within the printRandomImages function (in template-functions file):
`
getTitle())) . '">`
I'm just trying to figure out what bit of code to add in there to make what I'm trying to achieve possible.
Comments