Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. Image compression on mobile is way too aggressive

Image compression on mobile is way too aggressive

Scheduled Pinned Locked Moved Bug Reports
48 Posts 3 Posters 1.7k Views
  • 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.
  • P Offline
    P Offline
    pavloradich
    wrote on last edited by pavloradich
    #1

    Hi Armin,

    I noticed that all my images on mobile layout are super compressed. I don't use any compression/optimization plugins, and upload images in a very good quality. Image setting is set to 100 and resizing is turned off in Lay settings.

    One image looks just how it should on desktop (original resolution and name), but the same image on the mobile layout is hyper compressed, resized to 1920 px width and renamed to something like IMG_9505. I tried to re-upload images, but they still act the same.

    I've tried regenerating thumbnails as well as installing "disable Wordpress image compression" plugins etc. Nothing seems to work. I also checked other websites built on Lay — and I can see the same thing everywhere. Same IMG_9505 naming, same 1920 px width.

    In other words — I’ve tried it all.

    Maybe there's some hidden compression in Lay? Perhaps you could disable (globally) the image compression deep down in theme function code just like it is explained here: https://www.narga.net/how-to-disable-image-compression-in-wordpress/

    My website: pavloradich.com

    Image quality matters a lot to me, especially on mobile – so any help will be appreciated.
    Thank you,
    Pavlo

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hello!

      what do you think about activating "lay options" -> "never show resized version of images"?

      do you think that would work for you?

      P 2 Replies Last reply
      0
      • arminunruhA arminunruh

        hello!

        what do you think about activating "lay options" -> "never show resized version of images"?

        do you think that would work for you?

        P Offline
        P Offline
        pavloradich
        wrote on last edited by pavloradich
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • arminunruhA arminunruh

          hello!

          what do you think about activating "lay options" -> "never show resized version of images"?

          do you think that would work for you?

          P Offline
          P Offline
          pavloradich
          wrote on last edited by pavloradich
          #4

          @arminunruh Screenshot 2023-07-29 at 13.04.49.png

          I already have that activated, no difference.

          But maybe you could allow this setting to be applied to a mobile as well? I am sure the problem is in here

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            will be included with the update i will release in a few minutes

            P 1 Reply Last reply
            0
            • arminunruhA arminunruh

              will be included with the update i will release in a few minutes

              P Offline
              P Offline
              pavloradich
              wrote on last edited by
              #6

              @arminunruh so cool, thanks! Will I have to regenerate thumbnails/images to make it work?

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote on last edited by
                #7

                no you dont need that

                P 3 Replies Last reply
                0
                • arminunruhA arminunruh

                  no you dont need that

                  P Offline
                  P Offline
                  pavloradich
                  wrote on last edited by pavloradich
                  #8

                  @arminunruh hi, it worked perfectly for a few days, but now ALL of my images (on mobile layout) are again got renamed and turned into super compressed versions :(

                  My website: pavloradich.com
                  I don't have any image compression plugins turned on

                  I just updated to 5.9.8 but it still shows that I'm on the 5.9.7 (don't know why)
                  something broke, pls help asap!

                  1 Reply Last reply
                  0
                  • arminunruhA arminunruh

                    no you dont need that

                    P Offline
                    P Offline
                    pavloradich
                    wrote on last edited by pavloradich
                    #9

                    @arminunruh some images that I uploaded to the desktop layout also look every compressed already even in my "media library" folder. So the quality drops already there, it can be seen if I go to the original link where image is located.

                    I tried regenerating thumbnails – didn't help.

                    Some time ago, I sent you a password and a login from my website via email. Perhaps you could login and have a closer look what is going on.

                    Thank you

                    My image settings:
                    Screenshot 2023-08-09 at 13.58.48.png

                    1 Reply Last reply
                    0
                    • arminunruhA arminunruh

                      no you dont need that

                      P Offline
                      P Offline
                      pavloradich
                      wrote on last edited by
                      #10

                      @arminunruh hey Armin, I seriously need your help asap, if you have a moment. Website looks like shit and I need it for work. Thanks a lot!

                      1 Reply Last reply
                      0
                      • arminunruhA Offline
                        arminunruhA Offline
                        arminunruh
                        Global Moderator
                        wrote on last edited by
                        #11

                        hey man!

                        yea what did you do?
                        it seems like all of your original images got turned into 80kb images!

                        P 1 Reply Last reply
                        0
                        • arminunruhA arminunruh

                          hey man!

                          yea what did you do?
                          it seems like all of your original images got turned into 80kb images!

                          P Offline
                          P Offline
                          pavloradich
                          wrote on last edited by pavloradich
                          #12

                          @arminunruh I literally didn’t do anything. Noticed the problem yesterday, after uploading one high res image which turned into super low res on a website. After that they all became like that. Do you have any idea how to fix it? Uploading new images doesn’t help.

                          1 Reply Last reply
                          0
                          • arminunruhA Offline
                            arminunruhA Offline
                            arminunruh
                            Global Moderator
                            wrote on last edited by
                            #13

                            it seems like all of your original images were turned into more compressed versions of your images. i have never seen this happen before.

                            maybe it has something to do with this:
                            https://wordpress.org/support/topic/bad-experience-33/

                            you need to re-upload the images and replace them in your layout

                            P 1 Reply Last reply
                            0
                            • arminunruhA Offline
                              arminunruhA Offline
                              arminunruh
                              Global Moderator
                              wrote on last edited by
                              #14

                              okay i will take a closer look

                              1 Reply Last reply
                              1
                              • arminunruhA arminunruh

                                it seems like all of your original images were turned into more compressed versions of your images. i have never seen this happen before.

                                maybe it has something to do with this:
                                https://wordpress.org/support/topic/bad-experience-33/

                                you need to re-upload the images and replace them in your layout

                                P Offline
                                P Offline
                                pavloradich
                                wrote on last edited by pavloradich
                                #15

                                @arminunruh but re-uploading new images doesn’t help. If you login into my website, you will see that any uploaded hi res image instantly turnes into super compressed one even in ‘media folder’. Even before I put it into my layout. I am basically stuck and have no idea what to do.

                                Strange enough, some images on desktop are still in good resolution, but on mobile everything got compressed. Maybe it still has something to do with the ‘Never show resized versions’ setting…

                                PS. I used Regenerate Thumbnails only after everything went to shit, so I don’t think it was a cause of the problem.

                                Thanks a lot! I have no idea who to ask for help if not you

                                1 Reply Last reply
                                0
                                • arminunruhA Offline
                                  arminunruhA Offline
                                  arminunruh
                                  Global Moderator
                                  wrote on last edited by
                                  #16

                                  i turned off all of your plugins and uploaded an image

                                  Screenshot 2023-08-09 at 22.01.26.png

                                  when i right click one of your images, it wants to save it as a webp which is not normal because it is a jpg image

                                  maybe in your webhost settings there are some image/webp compression settings turned on?

                                  your htaccess file contained some "ls cache" statements and you had another htaccess file that contained some image

                                  i uploaded a 3mb jpg file of mine and put the image here:
                                  https://pavloradich.com/hello-world/

                                  in the media library it looks correct:
                                  Screenshot 2023-08-09 at 22.07.52.png

                                  but on the website it has the wrong filesize, probably because its turned into a webp somehow:
                                  Screenshot 2023-08-09 at 22.08.14.png

                                  i know i recommended this plugin:
                                  https://wordpress.org/plugins/webp-converter-for-media/

                                  it turns jpgs into webp did you use that?

                                  can you try to re-upload an image of your frontpage again now and put it on the website and see if it looks better?

                                  at least the image that i uploaded seems to look fine, whereas many of the original images that you have uploaded seem to have like 90% compression

                                  P 1 Reply Last reply
                                  0
                                  • arminunruhA Offline
                                    arminunruhA Offline
                                    arminunruh
                                    Global Moderator
                                    wrote on last edited by
                                    #17

                                    so i know you had these 3 active:

                                    Screenshot 2023-08-09 at 22.12.20.png Screenshot 2023-08-09 at 22.12.30.png

                                    maybe one of them did this

                                    but yea nevertheless, jpg images being webp images on your website is fishy, maybe its some setting in your webhost control panel or sth

                                    oh, in your database i see this:
                                    Screenshot 2023-08-09 at 22.18.16.png
                                    Screenshot 2023-08-09 at 22.17.31.png

                                    so you had the webp converter plugin installed
                                    when uninstalling it probably didn't revert to using your old/original images

                                    1 Reply Last reply
                                    0
                                    • arminunruhA arminunruh

                                      i turned off all of your plugins and uploaded an image

                                      Screenshot 2023-08-09 at 22.01.26.png

                                      when i right click one of your images, it wants to save it as a webp which is not normal because it is a jpg image

                                      maybe in your webhost settings there are some image/webp compression settings turned on?

                                      your htaccess file contained some "ls cache" statements and you had another htaccess file that contained some image

                                      i uploaded a 3mb jpg file of mine and put the image here:
                                      https://pavloradich.com/hello-world/

                                      in the media library it looks correct:
                                      Screenshot 2023-08-09 at 22.07.52.png

                                      but on the website it has the wrong filesize, probably because its turned into a webp somehow:
                                      Screenshot 2023-08-09 at 22.08.14.png

                                      i know i recommended this plugin:
                                      https://wordpress.org/plugins/webp-converter-for-media/

                                      it turns jpgs into webp did you use that?

                                      can you try to re-upload an image of your frontpage again now and put it on the website and see if it looks better?

                                      at least the image that i uploaded seems to look fine, whereas many of the original images that you have uploaded seem to have like 90% compression

                                      P Offline
                                      P Offline
                                      pavloradich
                                      wrote on last edited by pavloradich
                                      #18

                                      @arminunruh I didn’t use any of the image compression settings from that plugin (because you need to pay a premium for that, which I didn’t).

                                      Can the that webp format conversion be reversed back to original?

                                      Just tried to upload new image — same thing, super compressed :(

                                      P 1 Reply Last reply
                                      0
                                      • P pavloradich

                                        @arminunruh I didn’t use any of the image compression settings from that plugin (because you need to pay a premium for that, which I didn’t).

                                        Can the that webp format conversion be reversed back to original?

                                        Just tried to upload new image — same thing, super compressed :(

                                        P Offline
                                        P Offline
                                        pavloradich
                                        wrote on last edited by
                                        #19

                                        @pavloradich now I deactivated ‘converter for media’. I had no clue I even had that plugin:

                                        Images still compressed but not renamed anymore

                                        P 1 Reply Last reply
                                        0
                                        • arminunruhA Offline
                                          arminunruhA Offline
                                          arminunruh
                                          Global Moderator
                                          wrote on last edited by
                                          #20

                                          yea it seems just disabling that plugin doesn't do much, it still loads the webp files

                                          P 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          I also code custom websites or custom Lay features.
                                          💿 Email me here: 💿
                                          info@laytheme.com

                                          Before you post:
                                          1. When using a WordPress Cache plugin, disable it or clear your cache.
                                          2. Update Lay Theme and all Lay Theme Addons
                                          3. Disable all Plugins
                                          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                                          This often solves issues you might run into

                                          When you post:
                                          1. Post a link to where the problem is
                                          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                                          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                                          Online Users
                                          K
                                          Kai Schecker
                                          S
                                          spale176
                                          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                                          laytheme.com
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Search