Web dudes...

Come in! Have a margarita or root beer? How about some fresh trout? :)

Moderator: Moderators

Post Reply
Mavicator
Inmate
Posts: 234
Joined: Sat Nov 09, 2002 3:21 pm
Location: So Cal

Web dudes...

Post 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>
sys64738
Mavicator
Inmate
Posts: 234
Joined: Sat Nov 09, 2002 3:21 pm
Location: So Cal

Re: Web dudes...

Post 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>
sys64738
User avatar
XMEN Gambit
Site Admin
Posts: 4122
Joined: Thu Nov 18, 1999 12:00 am

Re: Web dudes...

Post 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>
Image
Mavicator
Inmate
Posts: 234
Joined: Sat Nov 09, 2002 3:21 pm
Location: So Cal

Re: Web dudes...

Post 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>
sys64738
THZGryphon
Inmate
Posts: 359
Joined: Thu Nov 08, 2001 10:23 am

Re: Web dudes...

Post 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>
Mavicator
Inmate
Posts: 234
Joined: Sat Nov 09, 2002 3:21 pm
Location: So Cal

Re: Web dudes...

Post 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>
sys64738
Post Reply