Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pointing to a pic... 2

Status
Not open for further replies.

cranebill

IS-IT--Management
Jan 4, 2002
1,113
US
I have a pic:


this link works...

when trying to reference it this way:

<td rowspan=\"12\" width=\"226\">
<div align=\"left\"><img src=\"images/black_bear/bbur.gif\" width=\"225\" height=\"248\"></div>
</td>


what am I doing wrong?
 
Huh? What's the problem?

*cLFlaVA
----------------------------
"Holy crip he's a crapple!
 
perhaps the page that's referencing the image is in a different subdirectory.

In which case, the src would be something like:
Code:
 <img src=\"[COLOR=red]../[/color]images/black_bear/bbur/gif\"
I presume you're using something like PHP, which explains why you're escaping the quotes.

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
If the path is your problem, as manarth suggests, then one way to reference the path regardless of location is this:

Code:
"[red]/[/red]images/black_bear/bbur.gif"

*cLFlaVA
----------------------------
"Holy crip he's a crapple!
 
You were exactly right.. I am using PHP but this was actually written in HTML lol... however your solution was correct.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top