Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

search issues/product image not showing


Guest

Recommended Posts

Posted

Hi... First of all, I have a terrible time with searches on this forum. The answers, when I can find them, are brilliant - this is clearly the most helpful forum I've seen, on any topic.

 

But I can never get good search results! No matter how specific (or how general) I make my enquiry, I get the most random, non-related results. I've tried all kinds of things, but find it nearly impossible to find what I'm looking for.

 

At the moment, I'm trying to figure out why there's no image on the product listing page. And I'd love to be sure I'm not asking a question that's been asked before... but I can't get the search to give me good results!

 

Am I doing something wrong? Can anyone help me? With the search issue, or the product listing image issue?

 

Thank you, very much,

amy

Posted
Hi... First of all, I have a terrible time with searches on this forum. The answers, when I can find them, are brilliant - this is clearly the most helpful forum I've seen, on any topic.

 

But I can never get good search results! No matter how specific (or how general) I make my enquiry, I get the most random, non-related results. I've tried all kinds of things, but find it nearly impossible to find what I'm looking for.

 

At the moment, I'm trying to figure out why there's no image on the product listing page. And I'd love to be sure I'm not asking a question that's been asked before... but I can't get the search to give me good results!

 

Am I doing something wrong? Can anyone help me? With the search issue, or the product listing image issue?

 

Thank you, very much,

amy

 

what's your site address?. Have you uploaded the image when inputing the product? Do you have show image set in the admin area?

 

Trev

Posted
Hi Trev, and thank you very much.

 

It's http://www.theloonypin.com/onlineshop. I only have one product listed, while I'm trying to set it up - http://theloonypin.com/onlineshop/product_...84fb9ab65316fce

 

if that link will work for you...

 

I have Display Product Image listed in position 2 under Product Listing. Where else should I check?

 

Thanks very much,

amy

 

I right clicked on the vacant image and this was the address that the picture should be located,

 

http://theloonypin.com/onlineshop/images/

 

What is the settings in your catalog/includes/configure.php

 

e.g

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.web-fx.net.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.web-fx.net.au');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); etc

  • 1 year later...
Posted

If you can believe it, nearly two years later and I am still trying to get the product image to show on the product page. Up till now, I've solved the problem by putting the image in the item description, but I'd still prefer it if the image was in there properly.

 

This is my file. Is there something wrong here?

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://theloonypin.com');

define('HTTPS_SERVER', 'https://theloonypin.com');

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://theloonypin.com');

define('HTTPS_COOKIE_DOMAIN', 'https://theloonypin.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/onlineshop/');

define('DIR_WS_HTTPS_CATALOG', '/onlineshop/');

define('DIR_WS_IMAGES', '/onlineshop/images/');

define('DIR_WS_ICONS', '/onlineshop/icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'theloony_osc1');

define('DB_SERVER_PASSWORD', 'HE3TOFLe0B');

define('DB_DATABASE', 'theloony_osc1');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql');

?>

Posted

Okay, maybe this will help diagnose the problem. If I view the page source, this section is where I expect the image to be:

 

<td width="100%" valign="top"><form name="cart_quantity" action="http://theloonypin.com/onlineshop/product_info.php?cPath=36_41&products_id=95&action=add_product&osCsid=e2bd1a9ca77f3a394c5fb5881b5ec34b" method="post"><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading" valign="top">follow your imagination: D1611-917</td>

<td class="pageHeading" align="right" valign="top">$5.00</td>

 

</tr>

</table></td>

</tr>

<tr>

<td><img src="/onlineshop/images/pixel_trans.gif" border="0" alt=""></td>

</tr>

<tr>

<td class="main">

<table border="0" cellspacing="0" cellpadding="2" align="right">

 

<tr>

<td align="center" class="smallText">

<script language="javascript"><!--

document.write('<a href="java script:popupWindow('http://theloonypin.com/onlineshop/popup_image.php?pID=95&osCsid=e2bd1a9ca77f3a394c5fb5881b5ec34b')"><img src="/onlineshop/images/D1611-917.jpg" border="0" alt="follow your imagination: D1611-917" title=" follow your imagination: D1611-917 " hspace="5" vspace="5"><br>click to enlarge</a>');

//--></script>

<noscript>

<a href="http://theloonypin.com/onlineshop//onlineshop/images/D1611-917.jpg?osCsid=e2bd1a9ca77f3a394c5fb5881b5ec34b" target="_blank"><img src="/onlineshop/images/D1611-917.jpg" border="0" alt="follow your imagination: D1611-917" title=" follow your imagination: D1611-917 " hspace="5" vspace="5"><br>click to enlarge</a></noscript>

</td>

</tr>

</table>

<p>a voluptuous quarter of <b>follow your imagination</b> by <b>prints charming</b>.<br><br>

 

this exciting new range from prints charming is inspired by their original hand printed fabrics. it's a fresh look, using larger than average designs that work well cut large or small! the fun, bold colors, on a crisp white background, have become the signature look for prints charming and provide smooth organic shapes that are wonderful to hand quilt around. the base cloth is sueded poplin, great for home decor, clothing and quilting alike. big flowers, in monotone shades of red, black and stone, create a striking contemporary look, while softer multi-colored designs create a more whimsical world of butterflies, starbursts, bubbles and birds. follow your imagination to create your own world!<br><br>

 

---------------

 

(Here's that page: http://theloonypin.com/onlineshop/product_...c5fb5881b5ec34b - the image that you see is one that I put into the item description, not the one that automatically shows up like I want it to)

 

That javascript section in there, with the popupWindow - what's going on there? Is that what's causing the problem? What did I do to make that happen? I'm not surprised that I screwed something up - I just would desperately like to know what, and how to fix it!

 

Thanks again,

amy

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...