close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Images Not Displaying On Results Page...Help Please

Thread began 7/14/2011 4:27 am by drew.shever427850 | Last modified 7/14/2011 1:57 pm by drew.shever427850 | 835 views | 3 replies

drew.shever427850

Images Not Displaying On Results Page...Help Please

Hello, I am currently building a website and I am using Data Assist to import a MySQL product catalog in which I have all my products listed. I want to sell my products in a store front which is why I am using Data Assist to help create one for me. I am at the point where I have all my products showing up but no pictures and instead just the little question mark symbol. I have already created an Upload spot in my product Update page that was created with Data Assist. The Upload behavior is working perfectly as far as I know with the images appearing on the server and the file name appearing in my database. I just can't seem to get the product Image to appear on the results page (I haven't tried details page yet because I am just focusing on one thing at a time. ) I have done lots of research but I just can't seem to find a solution to why it is not appearing. I pasted some of my PHP code in case that helps. Can you guys please help me figure out the proper way to make my images appear on my web page?

Thanks and I greatly appreciate all the help!

<input name="q" type="text" class="keywords" id="textfield" maxlength="50" value="Search..." />
</span>
<input name="b" type="image" src="../html/images/search.gif" class="button" />
</label>
</form>
</div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<div class="clr"></div>
<div class="body_resize">
<div class="body">
<div class="clr"><!-- InstanceBeginEditable name="test" -->test

<div class="WADAResultsContainer"> <a name="top"></a>
<div id="WADAPageTitleArea">
<div id="WADAPageTitle">Page Title</div>
<div><a href="products_Search25.php">New Search</a></div>
</div>

<?php if ($totalRows_WADAproducts > 0) { // Show if recordset not empty ?>
<div class="WADAResults">
<div class="WADAResultsNavigation">
<div class="WADAClearRight"></div>
<div id="WADAResultsNavTop">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap">
<?php if ($pageNum_WADAproducts > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAproducts=%d%s", $currentPage, 0, $queryString_WADAproducts); ?>" title="First"><img border="0" name="First" id="First" alt="First" src="../WA_DataAssist/images/Pacifica/Ultramodern_first.gif" /></a>
<?php } // Show if not first page ?>
</td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap">
<?php if ($pageNum_WADAproducts > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAproducts=%d%s", $currentPage, max(0, $pageNum_WADAproducts - 1), $queryString_WADAproducts); ?>" title="Previous"><img border="0" name="Previous" id="Previous" alt="Previous" src="../WA_DataAssist/images/Pacifica/Ultramodern_previous.gif" /></a>
<?php } // Show if not first page ?>
</td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap">
<?php if ($pageNum_WADAproducts < $totalPages_WADAproducts) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAproducts=%d%s", $currentPage, min($totalPages_WADAproducts, $pageNum_WADAproducts + 1), $queryString_WADAproducts); ?>" title="Next"><img border="0" name="Next" id="Next" alt="Next" src="../WA_DataAssist/images/Pacifica/Ultramodern_next.gif" /></a>
<?php } // Show if not last page ?>
</td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap">
<?php if ($pageNum_WADAproducts < $totalPages_WADAproducts) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAproducts=%d%s", $currentPage, $totalPages_WADAproducts, $queryString_WADAproducts); ?>" title="Last"><img border="0" name="Last" id="Last" alt="Last" src="../WA_DataAssist/images/Pacifica/Ultramodern_last.gif" /></a>
<?php } // Show if not last page ?>
</td>
</tr>
</table>
</div>
<div class="WADAResultsCount">Records
<?php echo ($startRow_WADAproducts + 1) ?>
to
<?php echo min($startRow_WADAproducts + $maxRows_WADAproducts, $totalRows_WADAproducts) ?>
of
<?php echo $totalRows_WADAproducts ?>
</div>
<div class="WADAClearRight"></div>
</div>
<table id="WADAResultsTable" border="0" cellpadding="0" cellspacing="0">

<?php do { ?>
<tr>

<?php
// RepeatSelectionCounter_1 Begin Loop
$RepeatSelectionCounter_1_IterationsRemaining = $RepeatSelectionCounter_1_Iterations;
while($RepeatSelectionCounter_1_IterationsRemaining--){
if($RepeatSelectionCounterBasedLooping_1 || $row_WADAproducts){
?>
<td class="WADAResultsEntry"><div class="WADAResultThumbArea"><a href="products_Detail25.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" title="Image Name"><img src="/home5/paducahi/images/<?php echo $row_WADAproducts['ProductThumb']; ?>" alt="Image Name" border="0" class="WADAResultThumb" /></a></div>
<div class="WADAResultInfoArea">
<div class="WADAResultTitle"><a href="products_Detail25.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>"><?php echo $row_WADAproducts["ProductName"]; ?></a></div>
<div class="WADAResultDescription"><?php echo $row_WADAproducts["ProductShortDesc"]; ?> <a href="products_Detail25.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>">More...</a></div>
<div class="WADAResultCommerceArea">
<div class="WADAResultCommerceButton">[ button ]</div>
<div class="WADAResultPrice"><?php echo $row_WADAproducts["ProductPrice"]; ?></div>
<div class="WADAClearRight"></div>
</div>
<div class="WADARecordNavigationButtons">
<table class="WADAEditButton_Table">
<tr>
<td><a href="products_Detail25.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" title="View"><img border="0" name="View<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" id="View<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" alt="View" src="../WA_DataAssist/images/Pacifica/Ultramodern_zoom.gif" /></a></td>
<td><a href="products_Update25.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" title="Update"><img border="0" name="Update<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" id="Update<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" alt="Update" src="../WA_DataAssist/images/Pacifica/Ultramodern_edit.gif" /></a></td>
<td><a href="products_Delete25.php?ProductID=<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" title="Delete"><img border="0" name="Delete<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" id="Delete<?php echo(rawurlencode($row_WADAproducts['ProductID'])); ?>" alt="Delete" src="../WA_DataAssist/images/Pacifica/Ultramodern_trash.gif" /></a></td>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...