Help - Search - Members - Calendar
Full Version: Image Don't Display Properly At Addon Domain !
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
Bliss Ryan
My problem is the image doesn't display properly on mainpage when I view it at

http://www.mycartdomain.com/ [This cartdomain is the add on domain from mymainhost.com]

But when I view at this directory it is working okay.

http://www.mymainhost.com/mycarthost/


Is it due to the php file in include/index.inc.php, Can someone help me with the code ?

-------------------------------------------------------------------------------------------------------------------
if(file_exists($GLOBALS['rootDir']."/images/uploads/thumbs/thumb_".$latestProducts[$i]['image'])){

$index->assign("VAL_IMG_SRC",$GLOBALS['rootRel']."images/uploads/thumbs/thumb_".$latestProducts[$i]['image']);

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

May I know what shall I amend ?


Thank you very much,
Ryan
Bliss Ryan
Sorry for posting, the problem is solved by changing the global.inc.php.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.