Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Image's preview in SSL admin


RyanSmith

Recommended Posts

Hello,

 

I have my site configured so that the admin is under the same directory as the SSL checkout. It seems to be working fine, except that the image previews for things like products and reviews are trying to pull from the SSL site rather than the non-SSL site where they are stored. I have fixed reviews by changing line 263 to :

 

$contents[] = array('text' => '<br>' . tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES .$rInfo->products_image, $rInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT));

 

However this seems like a hack to me, and it seems that I should be able to fix this in an easier way. Any suggestions?

 

Thanks

osCommerce is a great piece of software with wonderful contributions.

Spend some time in the contribution area. There are a lot of gems there.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...