Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Image compression

    General Discussion
    3
    7
    1292
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Torsten last edited by

      Hi,
      thank you for a very nice theme. Good job.
      Is it possible to customize the image compression settings? I think the default settings compress the media files a little too hard.

      Thanks a lot,
      Torsten.

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        Hey! Thanks!
        In Lay Theme the image compression is set to 100. WordPress always compresses images a bit when you upload an image. Even at 100 compression it compresses the image a tiny bit, so there's nothing more I can do there :(.

        1 Reply Last reply Reply Quote 0
        • P
          psntrtr last edited by

          Hey Armin,

          Really good job with the plugin, I've enjoyed it so far, but I come across an issue with the image compression as well. When i upload a hi-res picture (2086x1482) that is 845ko, the outcome become a lot heavier, from 845 to 1200ko…

          How do you bypass this?

          Thanks in advance for your time.

          P 1 Reply Last reply Reply Quote 0
          • P
            psntrtr @psntrtr last edited by

            @psntrtr said:

            Hey Armin,

            Really good job with the plugin, I've enjoyed it so far, but I come across an issue with the image compression as well. When i upload a hi-res picture (2086x1482) that is 845ko, the outcome become a lot heavier, from 845 to 1200ko…

            How do you bypass this?

            Thanks in advance for your time.

            Ok, I checked and found in setup.php the add_filter and set_jpeg_quality, by removing the few lines regarding the filter quality, I solve my issue.

            How do you do for uploading hi-res picture? I downscale them beforehand and also use the RICG responsive image plugin.

            1 Reply Last reply Reply Quote 0
            • arminunruh
              arminunruh Global Moderator last edited by

              The images in Lay Theme are already responsive, so your plugin probably won't help.
              You could resize your hi res picture to 1920px width before you upload it.
              I'm gonna make an image compression option, that's on my todo list.

              P 1 Reply Last reply Reply Quote 0
              • P
                psntrtr @arminunruh last edited by

                @arminunruh

                Yes that's actually what I did, prior to my resize picture was 7000px, I resize it to 1920px, then exported it for the web, before uploading the picture to Wordpress, the weight and size was ~845ko for 1920px then after uploading it to Wordpress it was 1200ko with same 1920px.

                But nevertheless thank you for your time I hope that might help other people.

                1 Reply Last reply Reply Quote 0
                • arminunruh
                  arminunruh Global Moderator last edited by

                  Hm ok, I will do an option for the image compression!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Try this to fix issues before you post:

                  Use the Search Feature. Maybe there is already a solution to your issue.

                  1. Update Lay Theme and all Lay Theme Addons
                  2. Disable all Plugins
                  3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                  4. Now see if your problem solved itself
                  5. Go here, see if your problem is listed here:
                  Troubleshooting

                  When you post:
                  1. Post a link to where the problem is
                  2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                  Thanks!

                  Online Users

                  A
                  M
                  L
                  T

                  Recent Topics

                  • A

                    Broken images

                  • L

                    Hide mobile menu, when scrolling down

                  • J

                    Imagehover addon show mouseover state

                  • F

                    X-button (close) on category page

                  laytheme.com