ulmonica Posted October 5, 2007 Share Posted October 5, 2007 All went well with my site until I added my first product. First, I uploaded the image related to it in the folder /images, in a subfolder I have created. This upload was successful, the image can be viewed at its own address. But not on the site. In my admin, I get this message: Error: Catalog images directory does not exist: /home/virtual/englishtea.ro/www/images/. Also, when I check in the browser View page source, the code for the image looks like this: <tr><td align=center><a href="http://www.englishtea.ro/product_info.php?products_id=316"><img src="images/" border="0" alt="Mint Chocolate Chip Hot Chocolate" title=" Mint Chocolate Chip Hot Chocolate " width="180" height="110" vspace=0></a></td></tr> </table> </td> In my configure.php file: define('DIR_WS_IMAGES', 'images/'); Thank you for your time! Link to comment Share on other sites More sharing options...
diddly Posted October 19, 2007 Share Posted October 19, 2007 All went well with my site until I added my first product. First, I uploaded the image related to it in the folder /images, in a subfolder I have created. This upload was successful, the image can be viewed at its own address. But not on the site. In my admin, I get this message: Error: Catalog images directory does not exist: /home/virtual/englishtea.ro/www/images/. Also, when I check in the browser View page source, the code for the image looks like this: <tr><td align=center><a href="http://www.englishtea.ro/product_info.php?products_id=316"><img src="images/" border="0" alt="Mint Chocolate Chip Hot Chocolate" title=" Mint Chocolate Chip Hot Chocolate " width="180" height="110" vspace=0></a></td></tr> </table> </td> In my configure.php file: define('DIR_WS_IMAGES', 'images/'); Thank you for your time! To go catalog->includes->function->html_output.php, and verify this line: >>>>>>>>>> //// // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'true') ) { return false; } <<<<<<<<<<<<<<< Check to see if IMAGE_REQUIRED == 'true'. If it's false it'll show all the broken images, even when the dir is correct. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.