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. wp offload media

wp offload media

Scheduled Pinned Locked Moved Bug Reports
9 Posts 3 Posters 262 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.
  • E Offline
    E Offline
    enoznta
    wrote on last edited by
    #1

    Hi,

    We are having some very unusual issues with delivering media via WP Offload Media ever since we updated Lay Theme back in June. Some of our media is delivered via the correct CDN address, some is delivered via local files, and some is simply not delivered (Lay Theme somehow adds a "www" to the CDN URL).

    Examples below:
    (1) some media loads correctly via CDN (example: https://www.hartleshkina.com/commissioned-editorial/)
    (2) some media doesn't load via CDN - the url strangely adds "www" before (example: https://www.hartleshkina.com/soft-rush-images/)
    (3) some media only loads via our server, fully ignoring the CDN (example: https://www.hartleshkina.com/ - homepage)

    We have already enquired with the Offload Media team about this and they're looking into delivery issues - but given this only happened after updating Lay Theme, we suspect something is rewriting the URLs of our media.

    Their feedback is as below:

    • I looked at one of the posts, and an issue I see is that it looks like the Gridder plugin is saving the re-written version of the Media Library item, instead of the origina Media Library URL. It's possible the plugin or code isn't using standard WordPress functions to save the images.
    • I would recommend contacting the developers of Gridder if there's a way to use standard WordPress functions to save the Media Library URLs.
    • Kindly check the code that displays the images on the frontend (not sure if it's still Gridder) and modify it so that the extra www is not added.
      Maybe you have a condition in the code to add the www if the URL does not have it?

    Hoping we can hear back on what can be causing this URL rewriting - which is also affecting our backend, not only the frontend. Thanks.

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

      hey

      so for lay theme i had to write a function that changes the media urls, because people would change their urls around from any combinations of http://, https://, http://www and https://www

      i can make lay theme compatible with wp-offload

      which one is the plugin you use?
      Screenshot 2023-08-07 at 19.15.30.png

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

        will release an update later today that should fix this!

        E 1 Reply Last reply
        0
        • arminunruhA arminunruh

          will release an update later today that should fix this!

          E Offline
          E Offline
          enoznta
          wrote on last edited by
          #4

          @arminunruh thanks for replying - sorry did not get a notification so couldn't responder earlier.

          We are using this:
          https://deliciousbrains.com/wp-offload-media/

          Which is the paid version of the first plugin on your screengrabs. We tried updating again to 6.0.1 but it's still not working.

          Thanks!

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

            can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

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

              hey!

              today i will release an update that fixes this

              S 1 Reply Last reply
              0
              • arminunruhA arminunruh

                hey!

                today i will release an update that fixes this

                S Offline
                S Offline
                Stefan 0
                wrote on last edited by
                #7

                @arminunruh wow! Thank you thank you thank and thank you!!!! that was super-quick&does the trick!

                S 1 Reply Last reply
                1
                • S Stefan 0

                  @arminunruh wow! Thank you thank you thank and thank you!!!! that was super-quick&does the trick!

                  S Offline
                  S Offline
                  Stefan 0
                  wrote on last edited by
                  #8

                  ...unfortunately, the Marquee-element also suffers from the same issue: Pictures not showing up, an extra www inserted, which does not work together with wp-offload-media.

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

                    ok can u update lay theme now and see if it works?

                    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
                    gomegarealtorsinG
                    gomegarealtorsin
                    arminunruhA
                    arminunruh
                    T
                    ta_io
                    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