tommy916 Posted December 15, 2003 Posted December 15, 2003 What the difference between both? what would you recommend? Automatic thumbnail: http://www.oscommerce.com/community/contributions,1484 Image Resize: http://www.oscommerce.com/community/contributions,350 Quote
tommy916 Posted December 16, 2003 Author Posted December 16, 2003 (edited) I've installed Image Resizer 1.5 I have some problems. 1. I have "thumbs/" for Thumnail Subdirectory Why does it create thumbs in the /images/ instead of /images/thumbs/ ? is there a bug in it? It works with /images_big/ for original size. 2. When I use 0 for Small Image Resize Method, but on the shopping page, the picture displays incorrectly because it has a "width=100 height=80" inside img tag while the real size is 57 x 80. Are you suppose to remove that "width=100 and height=80" out?Am i doing wrong? Edited December 16, 2003 by tommy916 Quote
tommy916 Posted December 16, 2003 Author Posted December 16, 2003 (edited) When I tried to add new product with gif image. After I enter the info, then click preview, i got empty page. (here is the debug below) I'm using windows server. Isn't this suppose to ignore to resize the gif? Can you fix it soon? thanks target_small: c:/inetpub/wwwroot/oscommerce/images/pic7.gifResizing small image Starting in_resize_image() ? ? ? ? temp_pic:C:\php\uploadtemp\php5C.tmp ? ? ? ? image_new:c:/inetpub/wwwroot/oscommerce/images/pic7.gif ? ? ? ? width:237 Image has to be resized; checking for gd-lib GD-Lib found start resizing Image Format:1 Generated new SRC-Pic GD-LIB 2 - Generated new Pic Edited December 16, 2003 by tommy916 Quote
tommy916 Posted December 17, 2003 Author Posted December 17, 2003 (edited) I've discovered that Automatic Thumbnail is not good. It takes about 45% of CPU resource of 2.4Ghz on Windows Server. because each time you go to the page, the automatic thumbnail is checking every picture since it is On-The-Fly automatic resize. is there any good recommend? Edited December 17, 2003 by tommy916 Quote
defender39 Posted December 17, 2003 Posted December 17, 2003 Automatic thumbnail should not be using that much cpu... also it creates a thumbnail on the fly ONE TIME and then keeps it in the cache directory it creates I use it and I have about 1300 products..I have seen no extra cpu load I prefer auto thumb so I dont have to make it myself each time do you have a contrib that adds extra images? maybe thats the problem...lets say you have 6 images and you hit a page...it would want to make those thumbs asap and if your site is popular it would be doing a lot of work initially until most the thumbs were made also make sure the thumbs are being saved so that they arent being made over and over again Quote
tommy916 Posted December 17, 2003 Author Posted December 17, 2003 (edited) I don't have other contributions installed except UPS & Credit Card gateway contrib. All the products there are default that come from oscommerce installation. It shoots up to 13% of cpu with 28 products (default), then i add the Automatic thumbnail which shoots up to 45% of CPU. When I add new couple new products, it does auto create new thumbnail of that new product in the folder, but it keeps shooting up when i refresh or click the page again. I don't have anything running on the server, my server is Windows 2003. Do you think it's because of Windows for php that shoot high? Is linux more better for CPU? are there any difference speed between windows and linux for PHP? Edited December 17, 2003 by tommy916 Quote
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.
Note: Your post will require moderator approval before it will be visible.