X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Generated Thumbs - file size issues (https://forum.x-cart.com/showthread.php?t=54922)

golfland 08-05-2010 09:34 AM

Generated Thumbs - file size issues
 
Can anyone point me to a source where I can configure the thumbnail generator used in the product creation area? My thumbnails are 125x125 and averaging around 32k ea. This is absurd, my product images (jpg) at 250x250 averages ~18-20k.

If a category page loads with 10 thumbnails, thats 320k in just images alone.. thumbs should be no larger than 4-6k IMO, and that's easily achievable with jpg's and still retain decent quality.

Any help would be appreciated.
Thanks!

balinor 08-05-2010 09:39 AM

Re: Generated Thumbs - file size issues
 
Pretty sure this was addressed in 4.3.2, was it not?

golfland 08-05-2010 10:44 AM

Re: Generated Thumbs - file size issues
 
Possibly, I'm still on 4.3.1. I will upgrade later today and see what happens. Thanks for the heads up!

golfland 08-05-2010 10:56 AM

Re: Generated Thumbs - file size issues
 
Css files are large too. Anyone have any tips for condensing css? I am using the artistic tunes template so I not only have a main.css but also and altskin.css. Main is around 87k, altskin is around 36k. I know I can get rid of a lot of the main.css as much of it gets replaced by the higher priority altskin.css. Is there any advantage to keeping these two css files seperate or would combining them into 1 file be better? Either way I need to clean up the main.css, there is a lot of unnecessary lines.

cflsystems 08-05-2010 11:34 AM

Re: Generated Thumbs - file size issues
 
Do it. css files size is ridiculous. You will have the skin1_original in case you need to go back

balinor 08-05-2010 03:23 PM

Re: Generated Thumbs - file size issues
 
I nuke the alts all together, no need for them. You can cut the main one down by half at least by removing unused and redundant, poorly coded classes

golfland 08-12-2010 12:13 PM

Re: Generated Thumbs - file size issues
 
I upgraded my test site to 4.3.2 and generated thumbnail sizes are still huge. I guess I need to go through and manually upload thumbs. Product I created after upgrade still has enormous thumb sizes. One thumb was 45k, it was created from an 22k 250x250 jpg! I don't like png files for thumbnails, jpg compresses better even though you lose some detail. I am not super familiar with using csv's, only played with them a little. Can I replace all thumbnails via csv by declaring a new path/imgname.jpg ? Is there any way to manipulate the generate thumb feature to create a jpg? or at least set a target file size?

I pulled a random category page with 21 products: according to yslow I have 465k of images, 136k css, and 132k of js. Total page weight was ~745k. Ridiculous.. All but about 25k of images are thumbs. 21 thumb images / 440k = ~21k per thumbnail. Is anyone else using "generate thumbs" feature and getting similar results?

Thanks!

gb2world 08-12-2010 12:31 PM

Re: Generated Thumbs - file size issues
 
Does this thread help?

golfland 08-13-2010 09:39 AM

Re: Generated Thumbs - file size issues
 
perfect. exactly what I needed. I should have been more persistent in my search. Not sure how i missed that thread. thanks! Thumbs are about 1/4 of the size they were and look decent.

Mr. G 01-30-2011 09:40 PM

Re: Generated Thumbs - file size issues
 
Does anyone know if this thumbnail size issue was addressed in 4.4.2?

seyfin 02-03-2011 11:34 PM

Re: Generated Thumbs - file size issues
 
Quote:

Originally Posted by Mr. G
Does anyone know if this thumbnail size issue was addressed in 4.4.2?


Unfortunately, this issue has not been addresses in 4.4.2.

However, you can still use the solution provided in this thread.

We will probably consider this improvement to be included into one of the minor releases of 4.4 branch.

Thank you.

qualiteam 02-04-2011 01:23 AM

Re: Generated Thumbs - file size issues
 
1 Attachment(s)
It will be included into 4.4.3 version.

I've attached a patch for 4.4.x to switch png 2 jpeg.

Note:PNG vs Jpeg

Royt 12-07-2011 08:12 AM

Re: Generated Thumbs - file size issues
 
I have just purchased version 4.4.4 and I am finding that not all of the thumbnail images are being generated.
I have ensured that all of the Product images are of the same type. Anybody else seen this? or any other cause known?
I have 800 images to Process but only get 300 thumbnails. No error messages or log generated.

cflsystems 12-07-2011 08:18 AM

Re: Generated Thumbs - file size issues
 
How do you try to generate thumbs? On import? Sometimes some images cannot be processed do to the way there created, there was something about indexing ...

This may help you - http://www.cflsystems.com/generate-thumbnails-in-bulk-mod-for-x-cart.html

Royt 12-07-2011 08:51 AM

Re: Generated Thumbs - file size issues
 
Thanks for the comment, I reprocessed the Products images to ensure they were all the same format and reimported them with no success.
If I manually processed the images from the Product page on a one by one basis it worked OK.

cflsystems 12-07-2011 08:53 AM

Re: Generated Thumbs - file size issues
 
That "auto generate on import" has never worked right


All times are GMT -8. The time now is 09:51 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.