vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Image Compression (https://vborg.vbsupport.ru/showthread.php?t=309720)

DemOnstar 03-20-2014 07:19 AM

Image Compression
 
Recently I did a website test speed test and the results said that my images were slowing site loading times. It was recommended that I compress them.
Anybody any tips were to start?
As the images are already uploaded, does the de-compression take place during site load?

Thanks..

ozzy47 03-20-2014 10:56 AM

What type of images are we talking about, different ones require different tactics.

Which site did you use to do the test, a link to the results would help. :)

DemOnstar 03-20-2014 11:51 AM

Hey geeza, how ya doing?

The images are jpg's primarily..
Never knew the results could be linked until now..

Here you go..http://www.webpagetest.org/result/140319_J4_EPK/

Ta..

ozzy47 03-20-2014 11:59 AM

Those are some horrible response times on the images. Where is this server located? What host is this? What system are you using for the front page?

DemOnstar 03-20-2014 12:05 PM

The host is based in the states I believe..

http://www.justhost.com/

Quote:

What system are you using for the front page?
Not sure how to answer this one..

ForceHSS 03-20-2014 12:09 PM

<a href="https://www.webpagetest.org/pageimages.php?test=140319_J4_EPK&run=1&cached=0" target="_blank">http://www.webpagetest.org/pageimage...run=1&cached=0</a>

ozzy47 03-20-2014 12:09 PM

Is it the vBCMS?

I have a couple of other sites to work on at the moment, but once I sort those, I can try to help you with yours. :)

DemOnstar 03-20-2014 12:16 PM

I think most of the images are vBCMS, there are few in the forum areas..

I just did this as the first test and it seems that the images are standing out as the main issue.
Not so worried about it, just a niggle really.
The site does indicate a compression factor of which I was not aware of hence the thread.

I was guessing that some inline compression was necessary but only a guess as I haven't looked into it yet..

Cheers for the assist..

ForceHSS 03-20-2014 12:17 PM

You must not compress any images try checking settings

DemOnstar 03-20-2014 12:37 PM

Quote:

Originally Posted by ForceHSS (Post 2488550)
You must not compress any images try checking settings

Didn't want to compress images anyway..
I put them through Photoshop and Save for Web then bring them down to an (visually) acceptable level before uploading them.

Which settings are you referring to?

Barcham 03-20-2014 02:08 PM

I have serious doubts regarding how valid the results from that web site actually are. I've tested a good number of websites, forums and other, many that are lightning fast in my browser and they all seem to get almost Fs across the board.

Max Taxable 03-20-2014 03:27 PM

Quote:

Originally Posted by Barcham (Post 2488557)
I have serious doubts regarding how valid the results from that web site actually are. I've tested a good number of websites, forums and other, many that are lightning fast in my browser and they all seem to get almost Fs across the board.

What we see when loading sites on our computers is subjective. The WebPagetest site is objective - it's actual reality.

It's not difficult at all to optimize your site and get straight A grades.

Max Taxable 03-20-2014 03:32 PM

To the OP: You have alot of large images which display small due to scaling. You should go through all of these and reduce their size closer to the size you are scaling them to, it will save you alot of KB load and bandwidth. Browsers load the entire KB size of the image, no matter how small you are scaling them to appear, to render.

Image Breakdown

The N/A grade for image compression means it didn't find any that weren't already progressive. So that's one less hurdle.

Max Taxable 03-20-2014 03:36 PM

Your F grade for caching static content is a easy fix, article on that here.

DemOnstar 03-22-2014 04:45 AM

Quote:

Originally Posted by Max Taxable (Post 2488569)
To the OP: You have alot of large images which display small due to scaling. You should go through all of these and reduce their size closer to the size you are scaling them to, it will save you alot of KB load and bandwidth. Browsers load the entire KB size of the image, no matter how small you are scaling them to appear, to render.

Seems a sensible solution.
How would I go about doing this for images that are already uploaded?

Quote:

Originally Posted by Max Taxable (Post 2488569)
The N/A grade for image compression means it didn't find any that weren't already progressive. So that's one less hurdle.

Not sure what this means. You mean this is set during the saving process?

Thanks.

Max Taxable 03-22-2014 04:05 PM

Quote:

Originally Posted by DemOnstar (Post 2488876)
Seems a sensible solution.
How would I go about doing this for images that are already uploaded?

The Image breakdown link I provided shows you all the images you are loading on browsers. You can copy them from there, re-size them, re-name them to match what is on the server, then upload to overwrite.

DemOnstar 03-24-2014 05:16 AM

Thanks for that Mr Taxable...
I looked through and I am at the point where if I reduce the images anymore, I will be unhappy with how they look..

I think I can live with the load speed niggle until I get another front page.

Cheers for the site link also..

Max Taxable 03-24-2014 03:48 PM

Quote:

Originally Posted by DemOnstar (Post 2489213)
Thanks for that Mr Taxable...
I looked through and I am at the point where if I reduce the images anymore, I will be unhappy with how they look..

I'm not talking about reducing the size you are displaying them as... The entire KB load of the large images are loading on browsers no matter how small you scale them to appear on the page.

Reducing them will have no affect whatsoever on how they look on the rendered page.


All times are GMT. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01213 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete