What should I do so that my photos are saved on the server and that it takes up

Posted in: Newspaper
Post count: 129

What should I do so that my photos are saved on the server and that it takes up less space. as a plugin smush it works (up to 70 kb – 100kb)

Post count: 9544

Did you try using the smush-it plugin?

You can download it here
https://wordpress.org/plugins/wp-smushit/

If that was not your question – can you be more specific?

You can also change the default compression by adding a line to your functions.php file (see my notes in the pagespeed sticky topic).

Post count: 129

Hey, the bigest problem is when smush it compress images i still get some images like 700 kb and i have 4 or 5 of them (for every resolution) so on the end because of one image i lose like 3.5 Mb (700 kb *5).
I dont know where is problem because in media panel on the same image i see only 100 kb but in ftp menager there is the bigger one… So i suppose that “regenerate thumbnails” do some extra images and smush it dont smush them :/ but i dont know… and it is not on any way good because i have hosting with 6 gb and I used 1GB in first seven days…

Thank you, Danijel.

Post count: 9544

Likely you should use the method of adding the compression change line to your functions.php file, turn off smush-it, and then do regenerate thumbnails.

You can find the compression setting in my posts in the pagespeed topic but here it is:

add_filter( 'jpeg_quality', create_function( '', 'return 60;' ) );

Add that to bottom of your functions.php file in the theme folder. Then do regenerate thumbnails. You can also set that to “50” if all the files are being reduced in size from your original images; if any images are being enlarged while also using thumbnail upscale plugin, leave it at 60.

  • This reply was modified 11 years by simchris.
Post count: 129

Thank you Christopher,
i do what you said and that give me 400 mb free 🙂
Do you know is there a way in which i can disable duing thumbnails for stuff that i dont use like two collumn slider 🙂
thank you

Post count: 9544

Hi, glad that helped 🙂

You can go into the functions.pho file and comment out the “sizes” you don’t plan to use in your layouts. I think the v5 version of theme will let you turn off thumbnails not being used, also.

Another trick is to make the small/medium/large images in the wordpress media settings page (not theme panel) match the three sizes you use the most.

You can find some of my other ideas for optimization in the “page speed” sticky topic. 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.