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. Slow website and too big sized images on mobile

Slow website and too big sized images on mobile

Scheduled Pinned Locked Moved Bug Reports
8 Posts 3 Posters 168 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.
  • H Offline
    H Offline
    HGDumont75
    wrote on last edited by
    #1

    Hi everybody,

    I'm doing a portfolio on Laytheme and have a problem. The images are loading very slowly, especially on phones. It seems that on mobile, images are not served in their phone-sizes. For example on my iPhone 7, the images seems to be around 2000 px, that is really too much and I don't understand why it doesn't load the smaller sizes of my images. Could you help me please? :)

    Here is the link: https://aletheia.works/

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

      Dear @HGDumont75
      I assume that in the settings you selected to use resized images already, right?

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • H Offline
        H Offline
        HGDumont75
        wrote on last edited by
        #3

        Hello!

        Of course, this parameter ? :)

        Capture d'écran 2020-03-09 11.52.46.png

        1 Reply Last reply
        0
        • H Offline
          H Offline
          HGDumont75
          wrote on last edited by
          #4

          Also the font seems to load slowly but it's maybe cause of the large sized images.

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

            Dear @HGDumont75
            ok, we do not think that on the phone the high quality images are getting loaded. But we will have a look.
            Also we will release a major update soon which will make the website way faster.

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • H Offline
              H Offline
              HGDumont75
              wrote on last edited by
              #6

              Thanks for the answer.
              Optimole is not compatible with Laytheme ? I tried to use it to serve scaled-images but it doesn't seem to work.

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

                Optimole and other image related plugins will probably work with the upcoming lay theme update/release that will have a PHP generated instead of JS generated Frontend.

                After looking at your images in the markup I see something really went wrong there.
                Here is an example:

                <img class="carousel-lazy-img h100 lazyautosizes lazyloaded" data-sizes="auto" data-ar="0.5255" data-w="2000" data-h="1051" data-aspectratio="1.9029495718363463" alt="" src="undefined" data-srcset="https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02-1280x673.jpg 1280w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02-1920x1009.jpg 1920w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 265w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 512w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 768w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 1024w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 2560w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 3200w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 3840w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 4096w" sizes="512px" srcset="https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02-1280x673.jpg 1280w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02-1920x1009.jpg 1920w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 265w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 512w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 768w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 1024w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 2560w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 3200w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 3840w, https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg 4096w">
                

                All images in scrset are https://aletheia.works/wp-content/uploads/2020/03/chocolat_type_02.jpg instead of the resized versions of the images that should be there ususally.

                Also src is undefined instead of a real value.

                Can you disable any non-lay theme plugins?
                Can you send me:
                your URL
                link to this topic
                your /wp-admin/ login
                to info@laytheme.com ?

                Have a great day!

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  HGDumont75
                  wrote on last edited by
                  #8

                  Thanks @arminunruh !
                  Sent you a mail with my infos :)

                  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
                  C
                  copytheory
                  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