Guest cikopajo Posted May 18, 2005 Share Posted May 18, 2005 I upgraded from alpha to beta. In featured product is no image. In product i have image and its displaying... whats wrong? txn :D Quote Link to comment Share on other sites More sharing options...
Guest bamchi Posted May 19, 2005 Share Posted May 19, 2005 I just installed 3.0 Beta and I have the same problem. No image in the Featured Product box. I did not have any previous versions. Bamchi Quote Link to comment Share on other sites More sharing options...
Guest bamchi Posted May 19, 2005 Share Posted May 19, 2005 I just found the fix for this that was posted by another member and it works. Thanks Lunnmh Lunnmh Posted: May 19 2005, 09:16 AM Newbie Group: Members Posts: 6 Member No.: 37,931 Joined: 17-May 05 Submissions: None Submitted Downloads: 3 I Installed version 3 beta, and found that the Image wouldn't display in the Featured Product area... but I managed to fix it.. Goto /includes/boxes/ and edit randomProd.inc.php Near the bottom of the page there is an if statement like this if(!empty($result[0]['image'])){ $box_content->assign("IMG_SRC","images/uploads/thumbs/thumb_".$result[0]['image']); } else { $box_content->assign("IMG_SRC","skins/".$config['skinDir']."/styleImages/thumb_nophoto.gif"); } change the bold areas to the following... and all works fine again. if(!empty($randProd[0]['image'])){ $box_content->assign("IMG_SRC","images/uploads/thumbs/thumb_".$randProd[0]['image']); } else { $box_content->assign("IMG_SRC","skins/".$config['skinDir']."/styleImages/thumb_nophoto.gif"); } Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted May 20, 2005 Share Posted May 20, 2005 The same problem occured here Thanks to bamchi and his found and repost it worked like a charm. Thanks again :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.