Guest Lunnmh Posted May 19, 2005 Share Posted May 19, 2005 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 It worked for me and thanks :( Quote Link to comment Share on other sites More sharing options...
Guest MrBigBargin Posted May 28, 2005 Share Posted May 28, 2005 Thanks a million Lun, worked great. Quote Link to comment Share on other sites More sharing options...
xmasnut Posted June 4, 2005 Share Posted June 4, 2005 Thanks for the clear instructions. I have no experience with PHP but was able to easily make the change due to your thorough instructions. Thanks much! B) Quote Link to comment Share on other sites More sharing options...
Guest majorsky Posted June 6, 2005 Share Posted June 6, 2005 Worked like a charm! A Million Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted June 20, 2005 Share Posted June 20, 2005 It does work, perfectly, thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted June 23, 2005 Share Posted June 23, 2005 Excellent Thanks Mate! I O ya a beer! :wacko: Quote Link to comment Share on other sites More sharing options...
Guest Yakhunter Posted June 28, 2005 Share Posted June 28, 2005 Sweet thanks! Quote Link to comment Share on other sites More sharing options...
Guest pataiki1 Posted June 29, 2005 Share Posted June 29, 2005 ;) Thank you thank you SO much! Quote Link to comment Share on other sites More sharing options...
Guest cycles Posted October 9, 2005 Share Posted October 9, 2005 Mine already says "rand" - why is my picture not displaying? thanks! I also have this warning on entering admin: Warning: stat failed for (errno=2 - No such file or directory) in /home/virtual/site74/fst/var/www/html/cart/admin/index.php on line 101 190 KB 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.