![]() |
|
random images on other website - 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 images on other website (/thread-3048.html) |
random images on other website - bill61 - 2008-06-06 hi fatman or developers i did browse pages : 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? 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 random images on other website - fatman - 2008-06-06 The URL should be random images on other website - bill61 - 2008-06-06 hi fatman sorry fatman the url should be: because the site address is : now i have this:
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 random images on other website - bill61 - 2008-06-06 hi fatman it is getting a bit better now i did search the net and i found this: 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 random images on other website - bill61 - 2008-06-06 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: random images on other website - bill61 - 2008-06-06 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: random images on other website - Mammlouk - 2008-06-06 bill61, ' random images on other website - bill61 - 2008-06-06 hi Mammlouk the border are ok now thanks for that i still have problem with open in new window: random images on other website - Mammlouk - 2008-06-06 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 random images on other website - bill61 - 2008-06-07 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 random images on other website - Mammlouk - 2008-06-07 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: One of those should do what you're looking for. -Jeremy random images on other website - bill61 - 2008-06-07 hi Mammlouk thanks a lot Mammlouk it works very well on all magor browsers the php file looks like that now: random images on other website - Bilder-Freak - 2008-08-27 Great! Thank you very much. random images on other website - bill61 - 2008-10-23 hi developers any idea why this random link not working: this is the actual url: 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 random images on other website - acrylian - 2008-10-23 First, random.php is not a standard theme page, so I can't say what you are actually doing on that. |