vampirehunter Posted July 16, 2012 Share Posted July 16, 2012 if there are no alt tags for multiple images, that effectively means its not valid code does it not? anybody have a fix for this or is it impossible? what other plugins are there similar to KissIT thumbnailer? Quote Link to comment Share on other sites More sharing options...
ce7 Posted July 17, 2012 Share Posted July 17, 2012 Hi Robert, Just want to say thanks for this great addon. Lyn Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 17, 2012 Author Share Posted July 17, 2012 if there are no alt tags for multiple images, that effectively means its not valid code does it not? anybody have a fix for this or is it impossible? what other plugins are there similar to KissIT thumbnailer? You would have to fix the osCommerce bxGallery it has nothing to do with KissIT. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 17, 2012 Author Share Posted July 17, 2012 Hi Robert, Just want to say thanks for this great addon. Lyn Well .. thank you .. don't often get that :) Moxamint and DogFoodIT 2 Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2012 Share Posted July 17, 2012 Excellent stuff Robert, This is by far the easiest to install contribution for thumbnails, and it works very well. I would recommend anyone to install this. It is also one of the most needed contributions for oscommerce. Best regards, Ian Quote Link to comment Share on other sites More sharing options...
ce7 Posted July 19, 2012 Share Posted July 19, 2012 Hi Robert, Thanks for this addon, it really help with the image size display as well. I had modify the product_info.php The original Samsung Galaxy, main product tab on top, and four small one at the bottom and when you mouse over it change to that image, and when you click on it, it bring up bigger size picture. http://demo.oscommerce.com/product_info.php?products_id=28 Somehow after install few addons, the image doesn't do same job anymore. I also install product zoomer, which works fine with only one picture. If I had more then one picture, the first one will be covered and the zoom fucntion will disappear. Since you are expert in oscommerce and also have knowledge about the image, do you mind to take little time to read my product_info.php code and give me advises. If you are free and happy to help, I will send PM to you. If you are busy, it is ok. Once again, thank you very much. Lyn Quote Link to comment Share on other sites More sharing options...
pvoce Posted July 19, 2012 Share Posted July 19, 2012 An issue I have run into is when adding images in admin, it appears that you can only display either the thumbnail or the large image in a product. Is the large image supposed to "overwrite" the thumbnail image? Sorry so dense:) Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 19, 2012 Author Share Posted July 19, 2012 @@pvoce You upload an image of "any size" ( ideally of a decent dimension matching your choice of smaller image dimensions ) Then in the script the image is displayed using the osCommerce tep_image() wrapper. When the tep_image() wrapper is used in the script it passes in width and height. KissIT looks at this info and produces an image/thumbnail exactly to the dimensions passed in. tep_image() example ( from index.php product listings ): - tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) This translates to: - tep_image( 'images/my_product_image.jpg', 'product_name', 100, 80) Now presuming that the image is larger than width 100 height 80, KissMT will resize the image to those dimensions and display it. Hope that helps. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
pvoce Posted July 19, 2012 Share Posted July 19, 2012 RWF: To an extent. When adding an image to a product, I am to upload a larger one to the thumbnail, which I do. However, the image is displayed within the product as full sized, not shrunken. Am I missing something? Quote Link to comment Share on other sites More sharing options...
♥altoid Posted July 20, 2012 Share Posted July 20, 2012 Am I missing something? In the install instructions, there's a separate page with instructions on how to handle the product image on the product page. Make sure you did that part. Quote I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can. I remember what it was like when I first started with osC. It can be overwhelming. However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc. There are several good pros here on osCommerce. Look around, you'll figure out who they are. Link to comment Share on other sites More sharing options...
pvoce Posted July 20, 2012 Share Posted July 20, 2012 In the install instructions, there's a separate page with instructions on how to handle the product image on the product page. Make sure you did that part. Found it. I made the changes here on the localhost, but the configure.php didn't make the ftp upload for some reason. I'm blaming the lack of coffee. Works like a charm now. Thank both of ya'll for your time and patience. Quote Link to comment Share on other sites More sharing options...
mr_absinthe Posted July 23, 2012 Share Posted July 23, 2012 Hi, I've tested on my test shop and it works fine and quite fast, however I've noticed that thumbnails and images in admin are not resized in correct proportions, Did I make a mistake or do I need to change something in settings. Also, the transparent gifs are not being changed correctly, it seems that they may have lost their transparency, but it could also be the problem of the original gif...? Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 23, 2012 Author Share Posted July 23, 2012 (edited) Hi, I've tested on my test shop and it works fine and quite fast, however I've noticed that thumbnails and images in admin are not resized in correct proportions, Did I make a mistake or do I need to change something in settings. Also, the transparent gifs are not being changed correctly, it seems that they may have lost their transparency, but it could also be the problem of the original gif...? Images are resized correctly, the system though has to create an exact size of image because you have stipulated an exact size for the <img tag. If you upload images that can't be scaled to the correct size then they will be placed within a white background of the correct size. There is no support for transparencies as most usage is for non transparent. Edited July 23, 2012 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
ce7 Posted August 5, 2012 Share Posted August 5, 2012 Hi Robert, I kept recieve this error message when I edit the product images, what should I do to fix it? Many thanks in advance. Lyn Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /includes/modules/kiss_image_thumbnailer/classes/Image.php on line 146 return imagepng ( $this->_image, $save_in, $quality, $filters ); Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 5, 2012 Author Share Posted August 5, 2012 Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /includes/modules/kiss_image_thumbnailer/classes/Image.php on line 146 Good catch Lyn catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php Find ( line 144 ) $quality = is_null ( $quality ) ? 0 : $quality; Change to ... $quality = is_null ( $quality ) ? 7 : floor ( $quality / 10 ); Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
ce7 Posted August 5, 2012 Share Posted August 5, 2012 Hi Robert, Thanks. It's working great now. Lyn Quote Link to comment Share on other sites More sharing options...
ce7 Posted August 10, 2012 Share Posted August 10, 2012 Good catch Lyn catalog/includes/modules/kiss_image_thumbnailer/classes/Image.php Find ( line 144 ) $quality = is_null ( $quality ) ? 0 : $quality; Change to ... $quality = is_null ( $quality ) ? 7 : floor ( $quality / 10 ); Hi Robert, It's me again. I am trying to install the jQZoom, test it and it didn't work so I put the original product_info.php back However the picture quality of the product list became really bad now. Also I started to receive the same error message again. Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /includes/modules/kiss_image_thumbnailer/classes/Image.php on line 149 Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /includes/modules/kiss_image_thumbnailer/classes/Image.php on line 149 I had change the code as you suggested $quality = is_null ( $quality ) ? 7 : floor ( $quality / 10 ); Can you pleaes help? I can PM you my site if you need to have a look. Thanks Lyn Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 10, 2012 Author Share Posted August 10, 2012 @@ce7 Well my correction wasn't quite right but unless you have set quality in html_output.php to 100 then it isn't the problem. I'll give a better solution anyway: - Find ( line 144 ) $quality = is_null ( $quality ) ? 0 : $quality; Change to:- $quality = !is_numeric ( $quality ) ? 7 : floor ( $quality / 10 ); if ( $quality < 0 ) { $quality = 0; } elseif ( $quality > 9 ) { $quality = 9; } Now as to your problem, please empty the thumbs directory so it can rebuild the thumbs. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
al3ks Posted August 12, 2012 Share Posted August 12, 2012 (edited) @@FWR Media Really helpful contribution Rob, I have just one problem- It doesn't seem to create thumbnails for category pages, I use the product listing grid thumbnail view add-on and it shows browser resized images instead of the ones generated by this add-on. But if I switch to list view then the images are the correct ones generated from your addon. On other pages like homepage it's fine. Any ideas why it doesn't show the generated images only on grid view in categories? Edited August 12, 2012 by al3ks Quote Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 12, 2012 Author Share Posted August 12, 2012 (edited) @@FWR Media Any ideas why it doesn't show the generated images only on grid view in categories? Yup http://addons.oscommerce.com/info/8495 Read please note: at the bottom. Example: - tep_image(DIR_WS_IMAGES . $image, $products['products_name'], PRODUCT_IMAGE_WIDTH, '') Obviously bad code as it doesn't supply the tep_href_link() wrapper with a height. Edited August 12, 2012 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
al3ks Posted August 12, 2012 Share Posted August 12, 2012 Ok, I've changed the PRODUCT_IMAGE_WIDTH, to SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT and it works. Thanks for the great addon. Quote Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
vampirehunter Posted August 14, 2012 Share Posted August 14, 2012 hi FWR does this image thumbnailer display pictures ok if javascript is turned off? also, i can't remember where i read, but was there an issue with "alt" tags or something? im going to give it a go and install it on my 2.3.2 shop. thanks Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 14, 2012 Author Share Posted August 14, 2012 (edited) @@vampirehunter Javascript off has no effect as KissIT makes no use of javascript. ( not that it matters as no shoppers who actually expect to buy anything will have javascript off ). There are no known issues currently ( although I will be looking at transparencies in the future ). Other than those already mentioned in this support thread: - See: http://www.oscommerce.com/forums/topic/388022-kissit-image-thumnailer/page__view__findpost__p__1646044 Edited August 14, 2012 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
newburns Posted August 15, 2012 Share Posted August 15, 2012 There seems to be an answer somewhere here on the forum, but I am just not seeing it. http://mtrosemedia.tk/web_store/catalog/product_info.php/cPath/21/products_id/28 My additional product images are also the KISS_IMAGE_MAIN_WIDTH size Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 15, 2012 Author Share Posted August 15, 2012 @@newburns I can't see an example. But .. KissIT does what you tell it to do .. you put in a width and height into tep_image and that is the size it will create. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. 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.