[Rejected] Imagehosting image thumbnails disappear after refreshing the page.
#1
Hi,

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.


Thanks


Attached Files Thumbnail(s)
   
Reply
#2
You're likely using wrong links - paste the same here to check.
Reply
#3
(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);"?
Reply
#4
You should know which addons your forum has. But it looks it's a PageSpeed JS. Possibly inserted by enabling mod_pagespeed
Reply
#5
I'm not sure what kind of URL that is, but the SomeImage server is not configured to accept such a URL.
http://t1.someimage.com/x3xwoPl0.jpg.pag...JWZ1h.webp

The correct URL should be
http://t1.someimage.com/3xwoPl0.jpg

If your site uses https, you can also use https for the thumbnails
https://t1.someimage.com/3xwoPl0.jpg
RedHat Certified Systems Administrator
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)