We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39438
    • 15 Posts
    dear community

    I'm using Revo 2.2.6 on a lab account/MODX Cloud.

    Yesterday I added a Wayfinder based navigation to my build and since then on my mobile (Android Jelly Beans) a strange thing occurs to a link of a logo image.

    The link in the template goes src="assets/images/ts4se_logo.svg". When accessing a page on my desktop computer, everything's fine. On my mobile the image link is broken. Now I looked at the page source on the mobile and the link goes like this: http://1.2.3.13/bmi/MY_DOMAIN_IN_THE_CLOUD.COM/training-consultancy/assets/images/ts4se_logo.svg (please don't click or tap!).

    Funny thing is that 2 friends of mine don't have a broken image link on their mobiles and my iOS Simulator shows the image as well.

    Funny too is that this happens only on container pages which have children (training-consultancy is such a parent of 3 children). I have other pages which aren't parents and show the very same logo without a problem. I might have to add that I'm using Friendly URLs. The problem is consistent in two browsers on my mobile: Firefox and Chrome.

    Does anybody know what this is about. And does somebody know more about 1.2.3.13/bmi/ huh

    cheers
    Klaus [ed. note: kdmeloper last edited this post 13 years, 5 months ago.]
      • 39438
      • 15 Posts
      Well, I posted this obviously into the wrong slot. It's more an open question and not an open discussion where I wrongly posted it. Stupid me, next time I'll take more care.

      Besides, the problem is solved - at least until it turns up again which can very well happen.

      For those who are stumbling upon this because they are like me following the 'mobile first' approach:
      The mysterious h..p://1.2.3.13/bmi/ addition to an image link represents a server of my mobile network provider, which attempts to compress all images to reduce general bandwidth use. It's done with a bmi.js and this practice is very controversial. Can it e.g. break your image link as in my case and who knows what malicious else is happening along this way. I am very careful with my images and compression and I hate the idea that third party elements unknown to me are tampering with my creative work.

      However - I sorted it by adding the [[++site_url]] tag in front of the relative URL and so forced it to output an absolute link to the image in question. The bmi.crap is still there but at least the link isn't broken.

      If you want to know more about this practice here is an article about it: http://skippy.org.uk/bmi-js-is-not-my-baby/
      [ed. note: kdmeloper last edited this post 13 years, 5 months ago.]
        • 42901 ☆ A M B ☆
        • 73 Posts
        Features that make attempts to "improve" the user experience usually screw it up. I've been guilty of blaming MODX first before realizing it's "something else."
          Woodlands Ad Agency
          Our blog should NOT be read by anyone....EVER http://woodlandsadagency.com/blog/
          ...Don't say we didn't warn you.
          • 39438
          • 15 Posts
          Quote from: adagency at Apr 30, 2013, 04:35 PM
          ... I've been guilty of blaming MODX first before realizing it's "something else."

          Yep, Darren E, it's not MODX at all. BTW: here in the UK nearly all mobile network providers use this kind of controversial practice. Orange and BT seem to offer a web based service where a user can set individual preferences. E.g. how strong image compression shall be and maybe even opt out entirely. I'm with Virgin and unfortunately they don't offer such a preference option. Not yet! I will follow this up.