• Hi,

    I’m loading a custom twitter feed on a website, which means twitter images are loaded directly from the website and not inside an iframe.
    The problem is that Adaptive Images plugin when has the CDN setting active, it adds a “?resolution=1920,1” to the end of these images and they don’t load anymore.
    Is there any way to add some exceptions to this?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, David,

    Unfortunately, no, there is no way to separate some images from the others right now. The whole CDN support feature is still experimental, I’m afraid.

    However, you do have point there, such a feature should be available in a future version of the plugin.

    If I may ask, how come these images do not load at all? Usually, adding a couple of url parameters to an image should not affect its loading behaviour, unless the server it originates from is very particular about it.

    Cheers,
    Takis

    Thread Starter David Beja

    (@dbeja)

    On Twitter the url of the images is probably a script and not the image directly and their script is probably more strict.

    You can pick any Twitter image and you can’t add parameters to the url:
    https://pbs.twimg.com/profile_images/730612231021322240/Rl0_QYhL_bigger.jpg (this works)
    https://pbs.twimg.com/profile_images/730612231021322240/Rl0_QYhL_bigger.jpg?something=boo (this doesn’t work)

    Maybe it’s the way they get the filename, some rule that gets everything after the last slash including query vars.

    Plugin Author Takis Bouyouris

    (@nevma)

    Indeed, it seems that Twitter images with url parameters do not work and, as you say, it is probably a script that serves them, although I do not see any obvious reason as to why the url parameters should mess with the delivery of the images. Perhaps it is a caching issue in an attempt to server cached images (url parameters can be used as cache-busters).

    Thanks for sharing this info with me, David. I wish I could do more, but these are the limits of the CDN feature of our plugin so far. We will definitely try to tackle this issue in future versions!

    Cheers,
    Takis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems with CDN setting and Twitter images’ is closed to new replies.