ce7 Posted July 27, 2018 Share Posted July 27, 2018 hi, thanks for this addon. I have installed it on 234.1Edge and it is work. However I think the admin site has something wrong with it, somehow the thumbnail directory not saved, and instead created a folder under admin, so it is like catalog/admin/DIR_WS_IMAGESthumbs/ there has no images generated inside. Something wrong I pasted with admin/includes/function/hutml_output.php ? Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted July 27, 2018 Share Posted July 27, 2018 (edited) @ce7, please use the latest version 2.8.1. and update the admin tep_image function to the one included there. Edited July 27, 2018 by raiwa Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted August 31, 2018 Share Posted August 31, 2018 On 7/27/2018 at 4:05 PM, raiwa said: @ce7, please use the latest version 2.8.1. and update the admin tep_image function to the one included there. @raiwa Thank you for the solution! with KissIT images thumbnail, it is now working perfect in the admin site, I am not sure if i do it right but will it also show at the frontpage categories? It will be great to have thumbnail next to the name, for example /thumbnail Gadagets/. Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted August 31, 2018 Share Posted August 31, 2018 Hello lyn @ce7 I'm glad to hear that all is fine. There is no support to show the categories images in the admin listing. I didn't consider it necessary to identify the categeories. Nethertheless it is possible to add it and I'll think about for the next update. Best regards Rainer ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted September 1, 2018 Share Posted September 1, 2018 (edited) On 8/31/2018 at 11:01 PM, raiwa said: Hello lyn @ce7 I'm glad to hear that all is fine. There is no support to show the categories images in the admin listing. I didn't consider it necessary to identify the categeories. Nethertheless it is possible to add it and I'll think about for the next update. Best regards Rainer @raiwa Thank you again for quick reply. I am not good at programming at all, yet try hard to self-learning oscommerce from scratch, start from 2.2-2.3.1, and now trying 234.1 Edge (BS). My product_info.php about the image is not the same as the installation instruction. #1 echo tep_image('images/' . $product_info['products_image'], NULL, NULL, NULL, 'itemprop="image" style="display:none;"'); #2 echo tep_image('images/'. $pi['image'], '', '', '', 'id="piGalImg_' . $pi_counter . '"'); #3 echo tep_image('images/'. $pi['image'], '', '', '', 'id="piGalImg_' . $pi_counter . '"'); However I found in the modules with this file: cm_pi_gallery.php and this is what i change, but it doesn't work, can you please help this out to have it show the thumbnail correctly in the front-end? #1 $pi_output .= '<div class="piGal" data-imgcount="' . $photoset_layout . KISSIT_MAIN_PRODUCT_IMAGE_WIDTH, KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT . '">'; #2 list($width, $height) = file_exists('images/'. $pi['image'])? getimagesize('images/'. $pi['image']) : array(150,150); $pi_output .= tep_image('images/'. $pi['image'], addslashes($product_info['products_name']) . ' ' . $pi_counter, (($pi_counter > 1 )? round(KISSIT_MAIN_PRODUCT_IMAGE_WIDTH/(($pi_total <= 5)? $pi_total-1 : 5)) : KISSIT_MAIN_PRODUCT_IMAGE_WIDTH), (($pi_counter > 1 )? round(KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT/(($pi_total <= 5)? $pi_total-1 : 5)) : KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT), 'id="piGalImg_' . $pi_counter . '" '. ((KISSIT_MAIN_PRODUCT_WATERMARK_SIZE > 0)? preg_replace('%<img width="[0-9 ]+" height="[0-9 ]+" src="(.*)title=.+%', 'data-highres="$1', tep_image('images/'. $pi['image'], null, $width, $height)) : 'data-highres="'. 'images/'. $pi['image'] . '"')); #3 else { list($width, $height) = file_exists(DIR_WS_IMAGES . $product_info['products_image'])? getimagesize(DIR_WS_IMAGES . $product_info['products_image']) : array(150,150); Thanks! Lyn Edited September 1, 2018 by ce7 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 1, 2018 Share Posted September 1, 2018 @ce7, please use the latest version 2.8.1. . It includes an already modified gallery module. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted September 1, 2018 Share Posted September 1, 2018 (edited) 5 minutes ago, raiwa said: @ce7, please use the latest version 2.8.1. . It includes an already modified gallery module. @raiwa Thanks you, that is very quick! I was going to ask extra question....not fast as you respond! 🙂 It's nothing to do with this addon, but i just can not figure out where to change the set up, right now with Edge version, in the index.php, it is always showing 2 rows with 4 columns. And It is ok, however the 2nd row always only show up 2 columns, and the rest of left hand side remain blank. How can I make it show up 4 columns at the 2nd row. And I also have the special module (box) install, however, it only show up 1 product, is it possible to make it as 3rd row with 4 columns (4 products in one row). And I will try the 2.8.1 now, thanks again! Lyn Edited September 1, 2018 by ce7 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 1, 2018 Share Posted September 1, 2018 5 minutes ago, ce7 said: It's nothing to do with this addon, but i just can not figure out where to change the set up, right now with Edge version, in the index.php, it is always showing 2 rows with 4 columns. And It is ok, however the 2nd row always only show up 2 columns, and the rest of left hand side remain blank. How can I make it show up 4 columns at the 2nd row. And I also have the special module (box) install, however, it only show up 1 product, is it possible to make it as 3rd row with 4 columns (4 products in one row). Please post this question in the apropriate thread, it's off topic here, sorry. ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted September 1, 2018 Share Posted September 1, 2018 43 minutes ago, raiwa said: Please post this question in the apropriate thread, it's off topic here, sorry. 43 minutes ago, raiwa said: Please post this question in the apropriate thread, it's off topic here, sorry. @raiwa Thank you again! Sorry i will make a new thread later on about these image questions. I had installed the new 2.8.1 version, but not sure if it works, as I could not see anything change. In admin side, with new categoreis, it will show the image thumbnail for the folder, which is really helpful. And I maybe explained it wrong earlier, that I wondering if in the front page, categories infobox, will it possible to have the thumbnail inside that infobox (image | product categories) . The new one I installed suppose to do this way and somehow i made it wrong so doesn't show up? Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 2, 2018 Share Posted September 2, 2018 15 hours ago, ce7 said: And I maybe explained it wrong earlier, that I wondering if in the front page, categories infobox, will it possible to have the thumbnail inside that infobox (image | product categories) . The new one I installed suppose to do this way and somehow i made it wrong so doesn't show up? Sorry, categories thumbs in the categories box on the public store side are not included. If I well remember @Tsimi included this in his horizontal categories menu. ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 2, 2018 Share Posted September 2, 2018 @ce7 Open your ..includes/classes/category_tree.php file FIND: if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . $category['name'] . $this->cpath_end_string; } else { $link_title = $category['name']; } REPLACE WITH: if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name'] . $this->cpath_end_string; } else { $link_title = tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name']; } ce7 and raiwa 2 Quote Link to comment Share on other sites More sharing options...
ce7 Posted September 3, 2018 Share Posted September 3, 2018 18 hours ago, raiwa said: Sorry, categories thumbs in the categories box on the public store side are not included. If I well remember @Tsimi included this in his horizontal categories menu. @raiwa Thank you.I will install the horizontal categories menu later.... this is really helpful information. Back to the kiss thumbnail for image, i had installed it, however it is now showing two images at the same time, and it change the position from left top cornor to right bottom cornor. do i need to delete the original cm_pi_gallery.php and keep only cm_pi_gallery_kissit.php? which part is the code to change the image location? Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
ce7 Posted September 3, 2018 Share Posted September 3, 2018 15 hours ago, Tsimi said: @ce7 Open your ..includes/classes/category_tree.php file FIND: if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . $category['name'] . $this->cpath_end_string; } else { $link_title = $category['name']; } REPLACE WITH: if ( ($this->follow_cpath === true) && in_array($category_id, $this->cpath_array) ) { $link_title = $this->cpath_start_string . tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name'] . $this->cpath_end_string; } else { $link_title = tep_image('images/' . $category['image'], $category['name'], SMALL_IMAGE_WIDTH*0.5, SMALL_IMAGE_HEIGHT*0.5, 'style="display:inline-block;"') . ' ' . $category['name']; } @Tsimi Thank you! It works perfectly! I just wonder if later on i installed what your add horizontal categories menu that Raiwa (Rainer) mentioned, do i need to change this code or just leave it as it is? Once again, thank you! Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted September 3, 2018 Share Posted September 3, 2018 You can keep the code in there. It shouldn't matter if you use later the horizontal menu or not. ce7 1 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 3, 2018 Share Posted September 3, 2018 (edited) 2 hours ago, ce7 said: Back to the kiss thumbnail for image, i had installed it, however it is now showing two images at the same time, and it change the position from left top cornor to right bottom cornor. do i need to delete the original cm_pi_gallery.php and keep only cm_pi_gallery_kissit.php? which part is the code to change the image location? No need to delete, just uninstall. Instructions: OsC 2.3.4.1 CE Frozen: In: admin => Modules => Content Modules: Uninstall: Gallery [product_info] Install : Gallery KissIt [product_info] Edited September 3, 2018 by raiwa ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted September 3, 2018 Share Posted September 3, 2018 7 hours ago, raiwa said: No need to delete, just uninstall. Instructions: OsC 2.3.4.1 CE Frozen: In: admin => Modules => Content Modules: Uninstall: Gallery [product_info] Install : Gallery KissIt [product_info] @raiwa Thanks for reply. And continue question, sorry lots of questions 😂 After install KissIT, I found the button of add to cart is changed to grey, and the button of review became just text with link. How can I change it back to original one? image on the top: before KissIT has green add to cart button and reviews button Image on the top: after KissIT, somehow the Add to Cart and Reviews is different... not sure if i did something wrong.... Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 3, 2018 Share Posted September 3, 2018 This should not be related to kiss it. The buttons are in other independant modules and kiss it doesn't interfere in buttons. ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted September 12, 2018 Share Posted September 12, 2018 On 9/4/2018 at 1:32 AM, raiwa said: This should not be related to kiss it. The buttons are in other independant modules and kiss it doesn't interfere in buttons. @raiwa Hi Raiwa, Thank you for the reply. Will try to check the button later on. I have one more question about the thumbnail. I have the thumbnail on product_info.php with the newest kiss_gallery, which is working great. However is there a way to have the thumbnail but no the watermark on the image? do i go to delete the ((KISSIT_MAIN_PRODUCT_WATERMARK_SIZE > 0) or need to do something with the configuration setting? Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 12, 2018 Share Posted September 12, 2018 31 minutes ago, ce7 said: I have one more question about the thumbnail. I have the thumbnail on product_info.php with the newest kiss_gallery, which is working great. However is there a way to have the thumbnail but no the watermark on the image? do i go to delete the ((KISSIT_MAIN_PRODUCT_WATERMARK_SIZE > 0) or need to do something with the configuration setting? Please read the instructions/check the configuration settings: E. Admin : Configure : Images : KissIT Product Watermark Size: Default : 0.6 KissIT Product Main Watermark size relativ to the image size (1.0=100%, 0.5 = 50%, 0=no watermark). H. Admin : Configure : Images : KissIT min image width to apply Watermark: Default : 60 The minimum width of thumbnail images to apply the watermark. ce7 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
ce7 Posted September 13, 2018 Share Posted September 13, 2018 14 hours ago, raiwa said: Please read the instructions/check the configuration settings: E. Admin : Configure : Images : KissIT Product Watermark Size: Default : 0.6 KissIT Product Main Watermark size relativ to the image size (1.0=100%, 0.5 = 50%, 0=no watermark). H. Admin : Configure : Images : KissIT min image width to apply Watermark: Default : 60 The minimum width of thumbnail images to apply the watermark. @raiwa Thank you! Sorry did not read the instruction carefully, just trying to find the code....and about the button, finally fix it, use dreamweaver to past the code, not working, but use ultraedit, it is working....not sure why... thank you very much for the add on and all the issue helps! Lyn Quote Link to comment Share on other sites More sharing options...
ce7 Posted September 20, 2018 Share Posted September 20, 2018 hi, come back again for more question, found cid= with strange string, instead of product ID, so redo everything, and make sure it is all ok...new 234.1Edge (BS) now with the button working, however keep have error message (after enable SEO related modules) and also have this errors after add new catagories. Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 383 Warning: Division by zero in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 385 Warning: imagecreatetruecolor(): Invalid image dimensions in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 393 Warning: imagealphablending() expects parameter 1 to be resource, boolean given in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 394 Warning: imagesavealpha() expects parameter 1 to be resource, boolean given in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 395 Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 397 Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 398 Warning: imagesx() expects parameter 1 to be resource, boolean given in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 400 Warning: imagesy() expects parameter 1 to be resource, boolean given in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 401 Warning: imagecopy() expects parameter 2 to be resource, boolean given in /home/home/catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php on line 424 Not sure why this warning happened...can someone please help? Thanks! Lyn Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted September 20, 2018 Share Posted September 20, 2018 @ce7 It seems you have a corrupted or wrong formatted image on the page you get this error. To find out which image produces the problem you could switch off one by one the modules which contain images. Once you have identified the module and it contains more than one image, remove the images one by one. When you found the image try to save it again in an apropriate format or replace it by a new image. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
RAC Posted December 26, 2018 Share Posted December 26, 2018 Hello Rainer, (Seasons Greetings). I have just installed your latest version on my Edge site, (Sep 16- Feb 18), now each product has double the number of images, (was 4 images, now 8). There are the normal images to the right of the product description, then there are another set below the description, but when viewing the images they all show. My admin/configuration/images Title Value Action Small Image Width 100 Small Image Height 80 Heading Image Width 57 Heading Image Height 40 Subcategory Image Width 100 Subcategory Image Height 80 Calculate Image Size true Image Required true KissIT Product Main Image Width 250 KissIT Product Main Image Height 250 KissIT min image size 25 KissIT Disable Image Upsize true KissIT Product Watermark Size 0 KissIT Watermark File Name RAC1.png KissIT Watermark position in image bottom-left KissIT min image width to apply Watermark 60 KissIT min image height to apply Watermark 60 KissIT missing image no_image_available_150_150.gif KissIT JPEG Quality 75 KissIT apply Background true KissIT Background Color 220,220,220. KissIT sharpen Thumbnail medium KissIT thumb directory thumbs/ KissIT Reset thumbs Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted December 26, 2018 Share Posted December 26, 2018 Hello Shaun, It sounds like you have still the original gallery module installed. Please remove it and leave only the KissIt Gallery module. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
RAC Posted December 26, 2018 Share Posted December 26, 2018 Hello Rainer I thought it would be something like that, I have searched through the admin side but can find no reference to gallery, only the Gallery Kissit, in admin/modules/content. would the original go under another name? Shaun 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.