Member
Member
bill61   2008-06-06, 13:52
#1

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

Member
Member
Member
bill61   2008-06-06, 16:01
#3

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??

http://mediabox.alankabout.com/zp-core/random.php?num=9&height=50&width=50&class=one-image&album=Picture%20Galleries/Animals/Big_Cats/Lions

in browser address it works

just confused still about how to make it showing in my html page

thanks

Member
Member
bill61   2008-06-06, 16:56
#4

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:

http://www.alankabout.com/

thanks

Member
Member
bill61   2008-06-06, 17:22
#5

hi fatman or developers

how can i make the image open in new page also to make the "border 0" in this code bellow pls:

Member
Member
bill61   2008-06-06, 18:47
#6

hi fatman or developers

how can i make the image open in new page also to make the "border 0" in this code bellow pls:

Member
Member
Mammlouk   2008-06-06, 18:55
#7

bill61,
To get rid of the border, just add border="0" at the end of your img tag like so:

'

Member
Member
bill61   2008-06-06, 19:31
#8

hi Mammlouk

the border are ok now thanks for that

i still have problem with open in new window:

Member
Member
Mammlouk   2008-06-06, 20:08
#9

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

Member
Member
bill61   2008-06-07, 02:05
#10

hi Mammlouk

thanks a lot Mammlouk, work very well now.

however, any idea how to align the image from the same file like: align top, and align center ??

i set the align in the iframe but it did not work so it must be from the random.php file itself.

regards

Member
Member
Mammlouk   2008-06-07, 04:54
#11

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

Member
Member
bill61   2008-06-07, 07:23
#12

hi Mammlouk

thanks a lot Mammlouk it works very well on all magor browsers

the php file looks like that now:

Member
Member
Bilder-Freak   2008-08-27, 10:48
#13

Great! Thank you very much.

Member
Member
bill61   2008-10-23, 12:55
#14

hi developers

any idea why this random link not working:

http://gallery.alankabout.com/zp-core/random.php?num=1&height=600&width=450&class=one-image&album=photo-gallery-arabic%2Frouya-raouf

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

Administrator
Administrator
acrylian   2008-10-23, 13:31
#15

First, random.php is not a standard theme page, so I can't say what you are actually doing on that.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.