Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help me find my path! ...


lyphagroup

Recommended Posts

Posted

in this code

 

<body onload="resize();">

<?php

 

define('IN_IMAGE_SUBDIR','images_big/');

// if the big image isnt shown unkomment the next line, and check the path:

// maybe you have to remove '/'. or adjust the path, depends on your configuration

  echo DIR_FS_CATALOG.'/'.DIR_WS_IMAGES.IN_IMAGE_SUBDIR.$products_values['products_image'];

         if (is_file(DIR_FS_CATALOG.'/'.DIR_WS_IMAGES.IN_IMAGE_SUBDIR.$products_values['products_image'])) {

               $image=DIR_WS_IMAGES.IN_IMAGE_SUBDIR.$products_values['products_image'];

         }

         else {

               $image=DIR_WS_IMAGES . $products_values['products_image'];

         }

          echo tep_image($image, $products_values['products_name']);

?>

 

</body>

 

this points somewhere else and as a result its not showing the images that are inside by images_big folder. i looked inside they are there.

 

this is where my normal images are /public_html/shop/images/

and

this is where my big images are /public_html/shop/images/images_big/

 

please show me the how the "quoted" code should look so that it can access my images_big folder 8)

 

thanks

mario

Posted

that script basically says

if there is a big image show that one

if there is no big image show the little one

 

-

 

i dont know php well enough to edit properly

but the location of where the big images are saved folder is listed above

 

-

 

i just need to know if the code is correct as is or if it is incorrect because pointing to wrong folder location, and if so show me a correct path to the big images folder.

 

please help

mario

Posted
define('IN_IMAGE_SUBDIR', DIR_WS_IMAGES . 'images_big/');

Archived

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

×
×
  • Create New...