Problem with HTTPS & Timeline Link Images

I've converted all my Dolphin websites to SSL/https.

Just about everything works great.

But ...1 problem.

 

When members post links to the timeline, there's a problem with the image posted for that link.

 

EITHER

I get a "mixed content" error message and the page is no longer considered secure (but each link image does display),

OR

if I add something like <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> to my header file so the site is secure, the image for each posted link no longer appears (image below).

 

Either way, it's an issue.

How to fix?

Quote · 18 Dec 2016

I think the right way would be to store image locally instead of referring to the original:

https://github.com/boonex/dolphin.pro/issues/516

Also as temporary workaround it maybe it would be ok to not allow to post HTTP links.

Rules → http://www.boonex.com/terms
Quote · 31 Dec 2016

I'd be fine with storing images locally if they are not https. To cut down on space used, Dolphin should optimize each image before storing.

 

Not allowing http links now would eliminate a lot of the internet. My members ain't gonna be happy.

Quote · 2 Jan 2017

Is there a way to remove the code that displays the image associated with a link post in timeline??

It just doesn't work well with ssl & I'm way past frustrated seeing posts with insecure images giving ssl mixed content errors. Gives a bad perception to visitors coming to my sites.

Quote · 28 May 2017

 

Is there a way to remove the code that displays the image associated with a link post in timeline??

You can try to change the following template - /modules/boonex/wall/templates/base/common_link.html by removing the following part:

<bx_if:show_thumnail>
		<div class="wall-lnk-thumbnail bx-def-padding-sec">
			<img class="bx-def-shadow bx-def-round-corners" src="__thumbnail__" />
		</div>
</bx_if:show_thumnail>

Then clear Dolphin template files cache

Rules → http://www.boonex.com/terms
Quote · 24 Jun 2017

Thanks Alex.

That's exactly what I did.

Works great now!

No SSL issues when posting links.

Quote · 24 Jun 2017
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.