Guest ebabybox Posted July 31, 2005 Share Posted July 31, 2005 hi guys! Nice version ... if this has been covered please move accordingly! Have noticed that images are uploading ok but they are not showing as thumbnails on home page/featured products "no image available" If i remember right had this problem with v2 but cant remember the fix!?!? Cheers guys Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted July 31, 2005 Share Posted July 31, 2005 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"); } Let me know if this works ok :) Quote Link to comment Share on other sites More sharing options...
Guest ebabybox Posted July 31, 2005 Share Posted July 31, 2005 hi that code is already in place ?? :) Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted July 31, 2005 Share Posted July 31, 2005 Check these links maybe they will help Link 1 Link 2 :) Quote Link to comment Share on other sites More sharing options...
Guest ebabybox Posted July 31, 2005 Share Posted July 31, 2005 thanks for that .... i looked into my problem a bit further when i upload image thru add product, the image dispalys for the product only but not in featured prod etc. If i then go to images it states none uploaded but if i do a direct upload here and add this to the product then everything works fine so am guessing i have set something up wrong. so this will be all i will need to fix?? Quote Link to comment Share on other sites More sharing options...
Guest ebabybox Posted July 31, 2005 Share Posted July 31, 2005 ok problem sorted those links helped! Images were .jpg not jpeg thanks for time :) Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted July 31, 2005 Share Posted July 31, 2005 Glad i helped :) 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.