ZenphotoCMS Forum
How to add random image without widget? - 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: How to add random image without widget? (/thread-3189.html)



How to add random image without widget? - girlsspot - 2008-06-28

I want to add some image from zenphoto ablum at my sidebar,but I do not want add other widget because there is more much plugin in mysite that may lead to load slow. I try to find some way to solve this problem but failed. I have ever try to difine the code and js the randomn.php but not function.

Is there somebody accomplish the "great creative"??/? Expect to share your experience.




How to add random image without widget? - acrylian - 2008-06-28

Take a look at this: http://www.zenphoto.org/2008/01/hacks/#random-image-external-site




How to add random image without widget? - girlsspot - 2008-06-28

It do not function any more when I put the code ( @readfile(’http://yourgallery.com/zenphoto/zp-core/random.php?
num=9&height=50&width=50&class=one-image&album=city’) ) ps:the album city I had change my album.

Do I need to define the file in the header.php???

Please help me. thank you!




How to add random image without widget? - girlsspot - 2008-06-28

To call from another PHP ?? my try this way it is the same problem




How to add random image without widget? - girlsspot - 2008-06-28

first I will thanks fatman. His method now can play function. you must define or set up a frame or table that could contain the image loaded. just like this:

best luck to the same puzzled people.




How to add random image without widget? - girlsspot - 2008-06-30

Do not forget the or other frame. Bless!