Coder Social home page Coder Social logo

Comments (11)

thisislawatts avatar thisislawatts commented on June 2, 2024

Hey @antekera

Thanks for reporting this issue. Once you've activated the plugin it will rewrite all image urls hosted on your WordPress domain to point at the imgix URL.

I can see that all your images are hosted on a separate subdomain, img.noticiascol.com. How have you set this up?

Thanks again, Luke

from images-via-imgix.

antekera avatar antekera commented on June 2, 2024

I've set up the plugin this way: http://bit.ly/2mAIVQu

My WP version is 4.7.3.

from images-via-imgix.

thisislawatts avatar thisislawatts commented on June 2, 2024

Thanks for sending that across Miguel.

Have you got any other plugins that are doing something with the images?
Your images are all served from the subdomain img.noticiascol.com, this could be the cause of the issue.

This plugin attempts the following, using the WordPress URL:

  1. Identify an image URL eg. https://wordpress.url/example.jpg
  2. Replace's WordPress URL part with imgix URL.

So we would rewrite a URL as:
https://wordpress.url/example.jpg

https://wordpress.imgix.net/example.jpg

What are your URLs here set as:

wordpressurls

from images-via-imgix.

antekera avatar antekera commented on June 2, 2024

This way: https://cl.ly/jSHY

These are my active plugins:

  • Ajax Load More
  • CloudFlare Flexible SSL
  • Force SSL
  • Jetpack by WordPress.com
  • SSL Insecure Content Fixer
  • WP Super Cache

from images-via-imgix.

thisislawatts avatar thisislawatts commented on June 2, 2024

from images-via-imgix.

thisislawatts avatar thisislawatts commented on June 2, 2024

Hey @antekera,

Did you manage to get to the bottom of this issue at all?

from images-via-imgix.

antekera avatar antekera commented on June 2, 2024

I made some tests and disable all plugins but still not working.

from images-via-imgix.

thisislawatts avatar thisislawatts commented on June 2, 2024

Thanks @antekera. After disabling the other plugins, can you confirm what the image URLs were. For example on this single post page?
https://www.noticiascol.com/2017/03/08/mataron-a-adolescente-zuliano-en-barranquilla

from images-via-imgix.

antekera avatar antekera commented on June 2, 2024

The image url in this post is this:
https://img.noticiascol.com//2017/03/sijinx.jpg_1609701233-660x440.jpg

from images-via-imgix.

thisislawatts avatar thisislawatts commented on June 2, 2024

OK, so I'm guessing that within imgix your Web Folder is set up as something like https://img.noticiascol.com? Trying to load an image that's on the same server as WordPress returns an error. eg. https://ncol.imgix.net/wp-content/themes/ncol/library/images/favicon.png

Currently the plugin is making the assumption that your images will be stored on the same server as the WordPress instance. However as all your images are being offloaded to img.noticiascol.com you need to be able to set a custom string that get's replaced.

I will update the issue title slightly and mark it as a feature request. Would you like to write this functionality and submit a PR? Alternatively I will aim to pick it up ASAP.

from images-via-imgix.

urlexsven avatar urlexsven commented on June 2, 2024

Hello,

was there any update in regards of this "feature request" after the fact?

from images-via-imgix.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.