![]() |
|
Random Image--- can you make it pull pics from just 1 album - 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: Random Image--- can you make it pull pics from just 1 album (/thread-1350.html) |
Random Image--- can you make it pull pics from just 1 album - pluto459 - 2007-04-07 I want to set up the random image to only pull from one album instead of from them all. Thanks Random Image--- can you make it pull pics from just 1 album - antoxa - 2007-04-08 paste it at the end of your zen/functions.php file before ?> and add to your template ` function random_image($albumtitle){
} ` Random Image--- can you make it pull pics from just 1 album - dobiho - 2007-04-10 I'd like to show zenphoto random image on wordpress sidebar. how can I get it? Random Image--- can you make it pull pics from just 1 album - thinkdreams - 2007-04-10 dobiho- you can try the zenshow plugin for wordpress. It still exists at http://www.zenphoto.org/trac/wiki/ZenphotoPlugins (look for it at the attachments on the bottom of the page). It may still be available at http://www.ruicruz.com/index.php/zenshow/ with some instructions (last I checked) It seems to work OK for me on my current wordpress and zenphoto implementation. Random Image--- can you make it pull pics from just 1 album - PierreSnugg - 2008-04-28 Hy, i tried setting up your code (zenphoto1.1.5) but i get an error showing up: Fatal error: or is there another way around to get a rendom image from a specific album. curently i´m using this in my index.php: Random Image--- can you make it pull pics from just 1 album - acrylian - 2008-04-28 That code you are trying to use is old, we don't use the variable $zp_conf anymore. We have already a functions for that build in version 1.1.5. Take a look on the functions guide www.zenphoto.org/documentation-official Random Image--- can you make it pull pics from just 1 album - PierreSnugg - 2008-04-28 Ok, thanx - i replaced: ` Random Image--- can you make it pull pics from just 1 album - sevenupcan - 2008-04-28 With this code is it possible to put the album title and description below the image? Random Image--- can you make it pull pics from just 1 album - PierreSnugg - 2008-04-28 And what also would be interesting, is how to put a link on that to the image that´s shown by the random function... i tried "getRandomImageURL" etc. i don´t get it worky? Random Image--- can you make it pull pics from just 1 album - acrylian - 2008-04-28
Random Image--- can you make it pull pics from just 1 album - PierreSnugg - 2008-04-28 but i just need the link function for the already shown image, i don´t use random thumbnails... |