![]() |
|
printRandomImages link to album not image? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: printRandomImages link to album not image? (/thread-9792.html) |
printRandomImages link to album not image? - shiatostorm - 2012-03-22 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): printRandomImages link to album not image? - sbillard - 2012-03-22 You would need to replace that link with a link to the album. PrintRandomImages does not automatically provide you with the album object, but you can use the image methot |