hi fatman or developers
i did browse pages :
http://www.zenphoto.org/support/topic.php?id=243&replies=9
http://www.zenphoto.org/trac/ticket/555
now
i downloaded the "random.php" as it is into the zp-core
in my html test page i put:
%%Include.http://www.alankabout.com/mediabox/zp-core/random.php?
num=9&height=50&width=50&class=one-image&album=Lions')%%
lions album url is : http://mediabox.alankabout.com/Picture%20Galleries/Animals/Big_Cats/Lions/
in my html test page on my other website i am getting:
Zenphoto Error: the requested object was not found. Please go back and try again.
so what i did wrong??
thanks
hi fatman
sorry fatman
the url should be:
http://mediabox.alankabout.com/zp-core/random.php?num=9&height=50&width=50&class=one-image&album=Picture%20Galleries/Animals/Big_Cats/Lions
because the site address is :
http://mediabox.alankabout.com/
now
i have this:
%%Include.http://mediabox.alankabout.com/zp-core/random.php?num=9&height=50&width=50&class=one-image&album=Picture%20Galleries/Animals/Big_Cats/Lions%%
but still not showing
so how can i include this code into html page??
in browser address it works
just confused still about how to make it showing in my html page
thanks
hi fatman
it is getting a bit better now
i did search the net and i found this:
http://gallery.menalto.com/node/59563
i did have this now:
the problem is the boxes are there but empty no images.
take a look pls at the bottom of this page:
thanks
bill61,
I downloaded random.php so I could look and find the information you needed. From what I'm seeing the code for hte link is on line 36 of the file. If it's not on that line for you, then it should be near there. It should look like this before it's changed:
echo 'getTitle() . '" class="' . $class . '">' .
Now you need to change it and add target="_blank" to the end of the code as follows:
echo 'getTitle() . '" class="' . $class . '" target="_blank">' .
That should take care of your problem.
-Jeremy
You have a few options to try. You can use center tags, or you can use CSS.
Center tags work by just placing them at the beginning and end of the image like so:
echo 'getTitle() . '" class="' . $class . '">' .
'getCustomImage(null, $width, $height, null, null, null, null) . '" width="' . $width . '" height="' . $height . '" alt="'.$randomImage->getTitle().'"'; echo "/>\n";
One of those should do what you're looking for.
-Jeremy
Great! Thank you very much.
hi developers
any idea why this random link not working:
this is the actual url:
http://gallery.alankabout.com/index.php?album=photo-gallery-arabic%2Frouya-raouf
sometimes it show one image than it go black when i re-load the page
i do have the random.php in zp-core folder and everything
thanks