Categories

Image preview not working

This is a very strange problem. I've been using ME without issues for some time. This morning, I went to write a post as I normally do. I uploaded an image to my server, and then I added the code for that image to the post. A blue question mark shows up in the preview area. I copied & pasted the URL into a browser, and the image appears there just fine. I then tried using a URL for a previous image I had uploaded to my server for another post. It displays in the preview window in ME without a problem. I tried several other images already on the server, also no problem. So then I uploaded another version of the image that won't preview. And it still doesn't preview. It seems that the preview won't work with any image that I have uploaded to my server today. Any ideas?

I think you're right about WebKit, because I'm also having trouble logging into the Wordpress admin panel on my domain. But get this - the problem only occurs with Safari! I have no trouble logging in with Firefox or Chrome. I also can't access the domain using the Wordpress iPhone app, which I believe is based on WebKit too.

I've cleared internet caches using Cocktail and flushed the DNS cache in Terminal; I also threw out the Safari and ME cache in Library > Caches, but so far the problem remains.

Great question. One of them is a dedicated IP with HTTPS. But the other does not. It's notable that the only problems I'm having are with Wordpress sites - whether accessing them through Safari, MarsEdit or the Wordpress iPhone app.

The reason I asked is because Safari, and the networking infrastructure that WordPress's iOS app, for that matter, is a little pickier about HTTPS security certificates than some browsers are. Would you mind pasting a URL for one of the images in question that won't load? I am curious to test it out on my Mac and see if it will load.

Another thing that comes to mind is whether it's possible that your site has some kind of security provision preventing "other sites" from loading images from them. That might cause the images to not show up in MarsEdit, too.

Thanks, Daniel. Before I do that... I have no trouble accessing the WP sites using Safari on my Macbook, so that tells me the issue is not with Safari per se but with Safari specifically on my Mac Pro. And it's not a problem in my user account, because I experience the same issue with Safari in my wife's account. Do you know if there is a WebKit cache at the system level that would effect both Safari and MarsEdit?

Then again, I am having the problem on the Wordpress iPhone app as well - which means it may extend beyond my Mac Pro. The error I'm getting there is "HTTP/1.1 404 Not Found".

Looks like I spoke too soon. Here's what happened: I uploaded the image to my server, then pasted the link to it in a new ME post window. It showed up in the preview immediately. However, about a minute later, the image disappeared and it was replaced with a "blue question mark". Here's the link to the image: http://thehealthyskeptic.org/images/ultrasoundmachine.jpg

After it disappeared in MarsEdit, can you still load the image in Safari? I am testing it in my copy of MarsEdit now, and will let it sit for a while. So far it is working, hopefully I'll see the blue question mark soon :)

If it's just in MarsEdit alone that the blue question mark ever happens, then it does sound like the WebKit cache for MarsEdit has somehow gotten screwed up and now contains a blank cache image or something for the given URL.

What the heck. Thanks for your patience, while I try to figure this out. And just to make sure we're on the same page, if you copy the image URL from MarsEdit to Safari, and load it, you can see it there directly, too?

I.e. if we focus just on the image problem, is it only happening in MarsEdit?

Could you copy/paste the entire HTML source from MarsEdit and maybe email it to me? I want to see if I load it up exactly like you have it, if I see any different behavior.