Jump to content

IMages


unidox

Recommended Posts

I have this code:

 

<tr height='10' width='100%'>
	<td width='30%'><b>" . getContent($mysql[news_topic]) . "</b></td>
	<td width='30%'>" . getContent($mysql[news_author]) . "</td>
	<td width='20%'>" . $mysql[topic_date] . "</td>
	<td width='20%' align='right'>
	<a href=\"" . $_SERVER['PHP_SELF'] . "?page=admin_news&m=3&id=" . $mysql[$id_type] . "\"><img height='14' width='14' border='0' alt='' src='images/ad_edit.gif'></a> <a href=\"" . $_SERVER['PHP_SELF'] . "?page=admin_news&m=5&id=" . $mysql[$id_type] . "\"><img height='14' width='14' border='0' alt='' src='images/ad_delete.gif'></a></td>
</tr>

 

I can see the images fine in IE, but when I use FF, the images never show. How can I fix this?

Link to comment
Share on other sites

I get:

 

<tr height='10' width='100%'>
	<td width='30%'><b>News 2</b></td>
	<td width='30%'>SAPPER</td>

	<td width='20%'>06/24/2007</td>
	<td width='20%' align='right'>
	<a href="/index.php?page=admin_news&m=3&id=50"><img height='14' width='14' border='0' alt='' src='images/ad_edit.gif'></a> <a href="/index.php?page=admin_news&m=5&id=50"><img height='14' width='14' border='0' alt='' src='images/ad_delete.gif'></a></td>
</tr>

Link to comment
Share on other sites

I tried, i looked at the source of the page, and this is what it came out with...

 

<tr width="100%" height="10">
	<td width="30%">Test</td>
	<td width="30%">asd</td>
	<td width="20%">asd</td>
	<td align="right" width="20%"><a href="/index.php?page=admin_demos&m=3&id=4"><img alt="0" style="display: none;" src="images/ad_edit.gif" border="0"></a> <a href="/index.php?page=admin_demos&m=5&id=4"><img style="display: none;" alt="0" src="images/ad_delete.gif" border="0"></a></td>
</tr>

 

Could it be the style?

 

I looked in all my files and I didnt find anything that had no display...

Link to comment
Share on other sites

<img height='14' width='14' border='0' alt='' src='images/ad_delete.gif'>

 

This image won't show?

 

Jesirose is right: the problem is your path. The source (src) should be an absolute path (that starts with http://) or a relative path (which will start with a period or a slash). Your image begins with neither of those.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.