php forum
php mysql forum
php mysql smarty
 
Topic Options
#115767 - 02/14/04 05:57 PM Image in the Header
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
I am new at this. I am trying to place a header with an image that has links (Hotspots) I designed it with Dreamweaver MX and copied the HTML code but the image does not show up. Do I need to create the image somewhere else. Please Help me before I yell random cuss words at neighbors.

Thanks

Top
#115768 - 02/14/04 06:00 PM Re: Image in the Header
Stilgar Offline
Old Hand

Registered: 02/06/01
Posts: 2324
Loc: Northern California
Post a link to your forums so we can have a look and try to see what the trouble is.

Top
#115769 - 02/14/04 06:55 PM Re: Image in the Header
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
Here it is. Actually the links don't work either.

http://www.brownandkeene.com/cgi-bin/ultimatebb.cgi#

Top
#115770 - 02/14/04 06:58 PM Re: Image in the Header
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
you're using relative urls to images. hardcode the url for the image and it should work fine.

Right now the url is...

http://www.brownandkeene.com/cgi-bin/luxury_cruise_talk_Heading.gif

Top
#115771 - 02/14/04 07:01 PM Re: Image in the Header
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
Please
What is "hardcode" the url

Top
#115772 - 02/14/04 07:30 PM Re: Image in the Header
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
make it
Code:
<img src="http://www.brownandkeene.com/ubb/luxury_cruise_talk_Heading.gif" ... />
instead of
Code:
<img src="/luxury_cruise_talk_Heading.gif" ... />

Top
#115773 - 02/14/04 07:33 PM Re: Image in the Header
Deb Offline

Pooh-Bah

Registered: 02/13/00
Posts: 3480
Loc: Wisconsin
What Ian said and the image probably needed to be located in the non-cgi bin. smile
_________________________
- Deb

Top
#115774 - 02/14/04 07:35 PM Re: Image in the Header
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
I can't find my non-cig bin.
I will try it out
Thanks

Top
#115775 - 02/14/04 07:37 PM Re: Image in the Header
Deb Offline

Pooh-Bah

Registered: 02/13/00
Posts: 3480
Loc: Wisconsin
Look in the file where the avatars, icons and other ubb images are located. smile
_________________________
- Deb

Top
#115776 - 02/15/04 11:32 AM Re: Image in the Header
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
This whole thing is killing me. I can usually figure things out.
I got the image there now my links are screwed up.
Maybe I'm just trying something that is too advanced for me.
I can make the links work if they are in a table with plain text.
Here is the link
http://www.brownandkeene.com/cgi-bin/ultimatebb.cgi

Top
#115777 - 02/15/04 11:48 AM Re: Image in the Header
Stilgar Offline
Old Hand

Registered: 02/06/01
Posts: 2324
Loc: Northern California
Your image is not complete. This is the path you are using for your image: http://www.brownandkeene.com/ubb/edit

Try and replace it with this:
http://www.brownandkeene.com/ubb/luxury_cruise_talk_Heading.gif

or, you can use the 1 pixel transparent trick. Replace the ubb header image with a 1 pixel transparent image. You can download and use mine if you like: http://ogzr.org/forum/ubb/blank.gif Just don't direct link to it. wink

Good luck!

Top
#115778 - 02/15/04 11:51 AM Re: Image in the Header
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I think I'm doing pretty much what you want here . <--- Click this. I added this code to the header HTML in the templates;

Code:
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr align="left">
<td background="http://www.netwerkin.com/noncgi/header/netwerk_logo.gif" align="left" valign="top" height="70">

<table border="0" cellpadding="5" cellspacing="0" width="100%" align="center" valign="top">
<tr>
<td align="left">
<a href="http://www.netwerkin.com/noncgi/ultimatebb.php">
<img src="http://www.netwerkin.com/noncgi/blank.gif" border="0" height="50" width="200" />
</a>
</td>
<td align="right" valign="top"><font size="1" face="verdana">



<a href="http://www.netwerkin.com/noncgi/ultimatebb.php" onMouseover="show_text(0,'div1')" onMouseout="resetit('div1')"><b>Forum Home</b></a> | 
<a href="http://www.netwerkin.com/cgi-bin/ultimatebb.cgi?ubb=search" onMouseover="show_text(1,'div1')" onMouseout="resetit('div1')"><b>Search</b></a> | 
<a href="http://www.netwerkin.com/cgi-bin/ultimatebb.cgi?ubb=msg" onMouseover="show_text(2,'div1')" onMouseout="resetit('div1')"><b>I.M.</b></a> | 
<a href="http://www.netwerkin.com/cgi-bin/ultimatebb.cgi?ubb=my_profile" onMouseover="show_text(3,'div1')" onMouseout="resetit('div1')"><b>Profile</b></a> | 
<a href="http://www.netwerkin.com/cgi-bin/ultimatebb.cgi?ubb=directory" onMouseover="show_text(4,'div1')" onMouseout="resetit('div1')"><b>Directory</b></a> | 
<a href="http://www.netwerkin.com/cgi-bin/ultimatebb.cgi?ubb=get_daily" onMouseover="show_text(5,'div1')" onMouseout="resetit('div1')"><b>Active Topics</b></a> | 
<a href="http://www.netwerkin.com/cgi-bin/ultimatebb.cgi?ubb=calendar" onMouseover="show_text(6,'div1')" onMouseout="resetit('div1')"><b>Calendar</b></a> | 
<a href="http://www.netwerkin.com/cgi-bin/games.cgi?" onMouseover="show_text(7,'div1')" onMouseout="resetit('div1')"><b>Games</b></a> 



<b>
<span id="div1"> </span>
</b>
</font>

</td>
</tr>
<tr>
<td align="right" valign="bottom">

</td>
</tr>
</table>
</td>
</tr>

  
</table>
I have the images that wrap the tables in there too but I left them out in this example. I hard coded the image and the links.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#115779 - 02/15/04 11:52 AM Re: Image in the Header
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Damn, Stilgar beat me to it. Maybe my example is a little long winded.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#115780 - 02/15/04 11:58 AM Re: Image in the Header
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
Thats pretty much what I want, I'll just have to redesign it. I am trying to use different hotspots on the image, and it doesn't seem to work.
What program did you use to design yours.

As you can tell I am a Photoshop user who is just getting into the websit thing.

Thanks

Top
#115781 - 02/15/04 12:17 PM Re: Image in the Header
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
I used UltraEdit to do it but Notepad would work just as well. I do all that kind of stuff by hand, no generators or WYSIWYG editors.
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#115782 - 02/15/04 12:22 PM Re: Image in the Header
ASPSOUP Offline
Junior Member

Registered: 02/14/04
Posts: 10
You ar a better man then me.
Im all about WYSIWYG.
Thanks

Top



Moderator:  Gizmo, tackaberry 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks