Page 1 of 1

Web dudes...

Posted: Sun Jun 20, 2004 1:05 pm
by Mavicator
Anyone know how to do this...<br><br>I have a thumbnail page where you can "click to enlarge". I want the large version to pop up in a new window with a black background. Besides writing an html page for each photo, is there a way to make the background black instead of default white? I'm using php. Can I make one html blank page with black background and call up whatever photo was clicked into it? <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>

Re: Web dudes...

Posted: Sun Jun 20, 2004 1:08 pm
by Mavicator
Oops! Can't post htmlin the forum. Here's an example of the code I used...<br><br><!--EZCODE IMAGE START--><img src="http://www.twosims.com/codesample.gif"/><!--EZCODE IMAGE END--> <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i>Edited by: <A HREF=http://p090.ezboard.com/bxmenclan.showU ... r</A>&nbsp; <IMG HEIGHT=10 WIDTH=10 SRC="http://home.pacbell.net/stevesim/mindmunch.gif" BORDER=0> at: 6/20/04 2:13 pm<br></i>

Re: Web dudes...

Posted: Mon Jun 21, 2004 5:40 pm
by XMEN Gambit
Well, short answer is yes.<br><br>However, I'm out of practice, and never did learn PHP. <p></p><i></i>

Re: Web dudes...

Posted: Mon Jun 21, 2004 6:30 pm
by Mavicator
Well here's my best solution so far between myself and a few others working on the problem...<br><br>I can create one HTML page which we will call "viewimage.html". On the thumbnail link I can enter 'viewimage.html?url=imagename.jpg' as the link. Then in the viewimage.html page I can parse the querystring, and use javascript to set an image src= the url querystring value.<br><br>Problem is, I'm not sure how to create the code in the viewimage.html page. <!--EZCODE EMOTICON START :( --><img src=http://www.ezboard.com/images/emoticons/frown.gif ALT=":("><!--EZCODE EMOTICON END--> <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>

Re: Web dudes...

Posted: Tue Jun 22, 2004 2:04 pm
by THZGryphon
Create a page popup.php in it place<br><br><!--EZCODE CODE START--><pre> <html><head></head><body bgcolor="black"><img src="<?php echo ''.$_GET["image"].''; ?>"></body></html></pre><!--EZCODE CODE END--><br><br>Make youre popup links<br><br><!--EZCODE CODE START--><pre> onClick="MM_openBrwindow('popup.php?image=dscn4651.jpg',</pre><!--EZCODE CODE END--><br> <p><a href="http://www.thzclan.com/gryphav.gif/sigs.php"><img src="http://www.thzclan.com/gryphav.gif" style="border:0;"/></a><a href="http://www.thzclan.com/index.php?p=4"><img src="http://www.thzclan.com/cam/gryphon/thb_ccam.jpg" style="border:0;"/></a><span style="font-size:xx-small;"><br><a href="http://www.gryphonllc.com">Gryphon, LLC</a> - My WebDev Adventures<br><a href="http://www.alliedtribalforces.com">Allied Tribal Forces</a> - A PlanetSide alliance started by Tribesplayers<br><a href="http://www.planettribes.com">PlanetTribes</a> - Adminstrator<br><a href="http://www.planetside-universe.com">PlanetSide Universe</a> - Code Monkey<br><a href="http://www.planetplanetside.com">PlanetSide Shuttle</a> - Newsie Extraordinaire</span></p><i></i>

Re: Web dudes...

Posted: Tue Jun 22, 2004 5:42 pm
by Mavicator
Oh...my...god...you..........rock! I'll whip it up and test asap. Thanks!!! <!--EZCODE EMOTICON START :D --><img src=http://www.ezboard.com/images/emoticons/happy.gif ALT=":D"><!--EZCODE EMOTICON END--> <p><!--EZCODE IMAGE START--><img src="http://www.camerasupport.com/oV/mavsigr ... <!--EZCODE IMAGE END--></p><i></i>