Skip to content
This repository was archived by the owner on Apr 15, 2021. It is now read-only.
This repository was archived by the owner on Apr 15, 2021. It is now read-only.

Image served from Jetpack photon has "?ssl=1" on end of URL and won't load in lightbox #76

@brencecoghill

Description

@brencecoghill

Related link: https://www.sandbox.imageworkshop.com/projects/william-angliss-institute/

Nivo works fine with Jetpack photon turned off.

When I turn on Jetpack photon, the image URL is updated to be "https://i0.wp.com/www.sandbox.imageworkshop.com/wp-content/gallery/case-study-william-angliss/wai-course-guide-pg14.jpg?ssl=1"

For some reason this URL does not get recognised as an image, and isn't launched by Nivo lightbox. Instead, it just opens the image as a separate link.

The following error is displayed in the console:
Resource interpreted as Document but transferred with MIME type image/webp: "https://i0.wp.com/www.sandbox.imageworkshop.com/wp-content/gallery/case-study-william-angliss/wai-course-guide-pg14.jpg?ssl=1".

you can see details on this page. I'm not sure how to resolve this?
I found this answer, which might be related - I'm just not sure how to implement it for NIVO?https://stackoverflow.com/questions/13985003/resource-interpreted-as-document-but-transferred-with-mime-type-image-jpeg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions