image link broken??? help
-
I’ve had this WP site for 2 years and have never run into this issue, but this morning I noticed the image for my pic(which is hosted on my other hosting and is present on just about every single post) is missing, with a “sorry, this person moved or deleted this image.”
However, the image is still there on my hosting where it’s always been. The issue seems to be that a “i1.wp.com/” prefix is being automatically added at the beginning of the code.
The link to the image (as written in the html) is
http://www.fachridhzoe.com/banner_g.PNGbut when published, the link changes to
https://i1.wp.com/fachridhzoe.com/banner_g.PNGwhich is resulting in a broken link.
I did a bit of research, but all I found is a reference to something called Jetpack that uses something called Photon. These have been identified as being a cause of this type of issue. However, I’ve never heard of either of these, and to my knowledge they are not installed on my blog. I looked through my Dashboard but I don’t see any sign of either of them, and therefore I don’t have the option to disable them.
Can anyone help? Anyone else having this issue?
Thanks in advance!
JoeyThe blog I need help with is installulangbandung.wordpress.com
The blog I need help with is: (visible only to logged in users)
-
Hi Joey,
You’re not the only one. My son has a blog, which is uses for school projects, and he noticed a few days ago that a lot of his links to images etc. stopped working.
Any image that he made himself, or photos, uploaded to WordPress, still work fine, but src to images from external websites got truncated and prefixed with i0.wp.com or i1.wp.com, and stopped working.
For instance,
<img class="alignleft" src="https://upload.wikimedia.org/wikipedia/commons/4/46/Wikipedia-W-visual-balanced.svg" alt="Wikipedia Logo" width="400" />
…got transformed into
<img class="alignleft" src="https://i1.wp.com/upload.wikimedia.org/wikipedia/commons/4/46/Wikipedia-W-visual-balanced.svg" alt="Wikipedia Logo" width="400" />
…when published, and stopped working (you just get the ‘alt’ text showing up).If you use the link directly to see if it works, using either http or https, you simply get the error:
“Error 0002. The type of image you are trying to process is not allowed.”Also, he had links to latex.codecogs.com, to display equations etc., and WordPress mangled the src, and they became invisible.
For instance,
<img src="http://latex.codecogs.com/gif.latex?E=frac{ch}{lambda}" title="E=frac{ch}{lambda}" />
…got turned into
<img src="http://i0.wp.com/latex.codecogs.com/gif.latex" title="E=frac{ch}{lambda}" alt="" />
…and of course that didn’t work (the query string, from ‘?’ onwards, was removed, and an empty ‘alt’ added – so nothing displayed)He was able to change the codecogs links to latex expressions that WordPress displays properly:
$latex E=frac{ch}{lambda}&s=3$
…which get turned by WordPress into:
<img src="https://s0.wp.com/latex.php?latex=E%3D%5Cfrac%7Bch%7D%7B%5Clambda%7D&bg=ffffff&fg=333333&s=3" alt="E=frac{ch}{lambda}" title="E=frac{ch}{lambda}" class="latex">…but other links are still broken.
I don’t remember receiving any notification that this WordPress caching system was put in place. That’s a good idea of course, but if it breaks so many things, then it’s a major problem. How are we supposed to know that an ‘svg’ is now ‘not allowed’ for instance?!
Philippe
-
Hi there,
WordPress.com serves images over our servers if the original image is served via HTTP (with links starting with https://) instead of served securely over HTTPS. That prevents mixed content warnings or errors in your browser.
Philippe — can you provide links to posts or pages on your son’s blog where those images aren’t working? That way I can take a closer look at them for you.
The kind of latex links you mentioned won’t work because of how they are created on the other site, but as you found you can use WordPress.com’s built-in LaTeX syntax for those, instead. For other links and images, if you can provide a direct link to where we can see the problem, our team can take a look to see if we can resolve that for you.
-
Hi Rachel, thanks for following up.
My son’s blog post with the Wikipedia problem link is at https://studentsuborbit.wordpress.com/2014/12/04/wikipedia-delving/. The link which stopped working was https://upload.wikimedia.org/wikipedia/commons/4/46/Wikipedia-W-visual-balanced.svg, as I mentioned above. My son fixed it yesterday, by uploading the Wikipedia ‘W’ image into WordPress, and linking to that – the link is now https://studentsuborbit.files.wordpress.com/2014/12/wikipedia.png?w=400 and working fine (as it should!).
My son’s blog post with the CodeCogs problem links is at https://studentsuborbit.wordpress.com/2014/11/09/london-science-museum-continued/. As I mentioned above, links that were there and broke were of the form http://latex.codecogs.com/gif.latex?E=frac{ch}{lambda}. My son fixed them two days ago, replacing all the “formulas” with WordPress LaTeX expressions, e.g. $latex E=frac{ch}{lambda}&s=3$.
The problem here is not so much that the original links don’t work, or that you have to use WordPress LaTeX syntax, but the fact that *all* these things *used* to work… and _then_ *broke*. As a result, you probably have broken countless links in countless of blogs! Furthermore, nobody is apparently realising until they happen to visit their posts and notice bits missing or empty image rectangles!
I have no idea why you had to do what you did – you probably had good reasons – but not telling anyone (or if it was done, it was done quietly) is not a good approach!
What’s the story behind all this then?
And what are you going to do about all the people affected? (I would suggest some kind of public announcement.)
Also, do you have a knowledge base article or something that you could point everyone to?Regards.
-
PS: The forum editor has morphed most of my link addresses! I used angle brackets to surround each address, and the closing bracket has been changed into > in most cases (funnily, except when it’s after a URL query string part). Please adjust, manually, as needed.
-
PPS: Now of course, when I type >, it gets turned into >. What should appear in my previous PS is “[…] the closing bracket has been changed into ‘>’ in most cases”.
-
-
Hi Philippe,
I’m sorry for the trouble this change caused. You can read more about why WordPress.com is moving over to HTTPS in this announcement post from last year:
It’s hard to anticipate all of the issues that can pop up after a change like this, so as we come across this sort of thing our team is looking into solutions to address them. I’ll let our developers know about the Wikipedia image and Latex issues you mentioned — although your son already fixed those up on his blog, we’ll look to see if we can resolve those for others folks having the same issues.
-
Thanks Rachel.
Note again though that the links didn’t get broken specifically because of you using HTTPS yourselves, and balking at HTTPS links in posts instead of HTTP even the http://http://upload.wikimedia.org/wikipedia/commons/4/46/Wikipedia-W-visual-balanced.svg got broken. What broke them was the caching system you put in (with links, with addresses prefixed with e.g. i0.wp.com, now going through the cache) which you put in maybe because of that HTTP->HTTPS change (I’m just speculating here).
Philippe -
(Bad formatting; re-posted)
Thanks Rachel.
Note again though that the links didn’t get broken specifically because of you using HTTPS yourselves, and balking at HTTPS links in posts instead of HTTP — even the http://http://upload.wikimedia.org/wikipedia/commons/4/46/Wikipedia-W-visual-balanced.svg got broken. What broke them was the caching system you put in (with links, with addresses prefixed with e.g. i0.wp.com, now going through the cache) — which you put in maybe because of that HTTP->HTTPS change (I’m just speculating here).
Philippe
- The topic ‘image link broken??? help’ is closed to new replies.