[Rejected] Imagehosting image thumbnails disappear after refreshing the page.

I'm creating forum on my site and I'm facing an issue while posting bb image code links.

When I create a new thread consisting of images from other image-hosting sites, the thumbnails of images are showing on the forum only for the first time. As soon as I refresh the page, the thumbnails are replaced with broken image icon. But the page still redirects to the correct image-hosting page.


Attached Files Thumbnail(s)
You're likely using wrong links - paste the same here to check.
(2016-07-24, 06:48 PM)Destroy666 Wrote: You're likely using wrong links - paste the same here to check.

Here it is working. I saw from inspect element the difference between the codes:

Your code:
<a href="https://someimage.com/uAlcRa2" target="_blank"><img src="http://t1.someimage.com/uAlcRa2.jpg" border="0" alt="[Image: uAlcRa2.jpg]"></a>

My code:
<a href="https://someimage.com/3xwoPl0" target="_blank"><img src="http://t1.someimage.com/x3xwoPl0.jpg.pagespeed.ic.o4DquJWZ1h.webp" border="0" alt="[Image: 3xwoPl0.jpg]" data-pagespeed-url-hash="127999062" onload="pagespeed.CriticalImages.checkImageForCriticality(this);"></a>

It is adding "pagespeed.ic.o4DquJWZ1h.webp" to the url. Where is this method being called from "pagespeed.CriticalImages.checkImageForCriticality(this);"?
You should know which addons your forum has. But it looks it's a PageSpeed JS. Possibly inserted by enabling mod_pagespeed
I'm not sure what kind of URL that is, but the SomeImage server is not configured to accept such a URL.

The correct URL should be

If your site uses https, you can also use https for the thumbnails
RedHat Certified Systems Administrator

Forum Jump:

Users browsing this thread: 1 Guest(s)