 | |  |
 |

MAGSGQ
User
Mar 22, 2003, 12:02 PM
Post #1 of 5
(1741 views)
Shortcut
|
|
_publish_listing.html images not showing up
|
Can't Post
|
|
Can someone tell me what is wrong with this code? The CODE is in a table beneath the AGENTS picture which is hard coded. Everything seems to work except the images are not listed. <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign=top align=center width=165> <font face="arial" size=1><b>Click photo to enlarge</b></font><br> <br> <!-- template insert : $images$ --> <!-- templatecell : image --> <p><a href="$listing_url$/images/$file$" target="_blank"><img src="$listing_url$/images/$file$" border=1 width=150 alt="Photo"></a><br> <font face="ms sans serif" size=1>$desc$</font><br> <!-- /templatecell : image --> <!-- templatecell : no_images --> <p> <table border=1 cellspacing=0 cellpadding=0 width=140 height=100> <tr> <td bgcolor="#EEEEEE" align=center><font face="tahoma,arial" size=4><b>Photo<br>Not<br>Available</b></font></td> </tr> </table> <!-- /templatecell : no_images --> </td> </tr> </table>
|
|
|  |
 |

Benjamin
Staff

Mar 23, 2003, 10:26 AM
Post #2 of 5
(1724 views)
Shortcut
|
|
Re: [MAGSGQ] _publish_listing.html images not showing up
[In reply to]
|
Can't Post
|
|
Hi MAGSGQ, The code looks absolutely fine... is this still a problem? So you've uploaded the file to your /templates directory and clicked "publish all listings" in your Setup Options, yet no image appears in any of your listings? Also, of course, make sure that the listing you're looking at has a corresponding image. Post me back about this - I'm curious to know the cause of the problem! Ben interactivetools.com
|
|
|  |
 |

MAGSGQ
User
Mar 23, 2003, 10:33 AM
Post #3 of 5
(1721 views)
Shortcut
|
|
Re: [Benjamin] _publish_listing.html images not showing up
[In reply to]
|
Can't Post
|
|
Good afternoon Ben. Yes, I'm still having problems. Let me list the paths for you: http://www.domainname.com/listings http://www.domainname.com/homepages For some reason, if I upload the original template file, it works but as soon as I upload my template that I have modified for cosmetic looks, the images do not get displayed and I pretty much have copied and pasted the code. I'm baffled over it. TIA Terry BEN...I have attached my _publish_listing.html file
(This post was edited by MAGSGQ on Mar 23, 2003, 10:40 AM)
|
|
Attachments:
|
_publish_listing.html
(12.4 KB)
|
|
|  |
 |

Benjamin
Staff

Mar 23, 2003, 3:28 PM
Post #4 of 5
(1702 views)
Shortcut
|
|
Re: [MAGSGQ] _publish_listing.html images not showing up
[In reply to]
|
Can't Post
|
|
Hi - thanks for posting that file. The problem was that you had doubled-up the template cells; at the very bottom of the page, right before the </body> tag, there were extra template cells. I removed them and tried it locally, and everything seems to work fine. I've posted the new file here. To be honest, I'm not wholly sure why this would happen... I guess the extra template cells just confused the program and it refused to print out anything. But give it a go! :-) Ben interactivetools.com
|
|
Attachments:
|
_publish_listing.html
(12.2 KB)
|
|
|  |
 |

MAGSGQ
User
Mar 23, 2003, 4:12 PM
Post #5 of 5
(1698 views)
Shortcut
|
|
Re: [Benjamin] _publish_listing.html images not showing up
[In reply to]
|
Can't Post
|
|
Hey Ben. Yep just saw that a few minutes ago and I'll chalk it up to my blindness. I appreciate your help very much. TIA Terry
|
|
|  |
|