bannerColor WARNING_YELLOW templateName poodleSSLVulnerability

In Share Button and HTML Image Tag

11 posts / 0 new
Last post
Michael Brewer's picture
Joined: 2012-01-11
Jan 17, 2012
In Share Button and HTML Image Tag

How do I suppress the image tag source code from displaying when using the "Share on LinkedIn" JavaScript API - in.js.

I was able to edit the image tag reference and delete the information to accomplish this task; however, I would hate for the end-user to have to do this each time.

Any suggestions?

<img src="http://www.ama-assn.org/assets/amawire/images/dec-21-2011/2011-12-4-web-infographic.jpg" alt="Physician-led consortium drives quality improvement" width="368" height="250" /> Looking for ways to improve your patients'...

Steven Citron-Pousty's picture
Joined: 2011-08-02
Jan 19, 2012

Greetings Michael:
It is unclear from your statement what you are trying to do. Can you please share a page that demonstrates your problem?
Thanks
Steve

Kirsten Hunter's picture
Joined: 2011-06-30
Jan 23, 2012

We don't support customization of this sort on the plugins - how are you sharing the link?

Michael Brewer's picture
Joined: 2012-01-11
Feb 15, 2012

Hey Steven, an example of the error is on my LinkedIn homepage. The problem seems to be rooted in the javascript plugin - http://platform.linkedin.com/in.js.
Also, follow the inShare link on this page - http://www.ama-assn.org/ama/pub/amawire/2011-december-07/2011-december-07.shtml and you will be able to recreate the "image tag" problem.

Michael Brewer's picture
Joined: 2012-01-11
Feb 15, 2012

Hey Kirsten, please see my comment to Steven and see if that adds clarity. Thanks, Mike

Steven Citron-Pousty's picture
Joined: 2011-08-02
Feb 16, 2012

Michael:
Are you trying to suppress the img tag on the pop-up dialog that appears? If so that is unsupported.
If not then I am still not sure what you are trying to do. Can you please try explaining it a different way so I can get a better sense of what you are trying to do.
Thanks
Steve

Michael Brewer's picture
Joined: 2012-01-11
Feb 16, 2012

I'm attempting to suppress the image tag source once the link is shared on my LinkedIn home page.

This HTML source is displayed along with the image. The only way to suppres it is to delete it from the pop-up prior to posting the link.

<img src="http://www.ama-assn.org/assets/amawire/images/dec-21-2011/2011-12-4-web-infographic.jpg" alt="Physician-led consortium drives quality improvement" width="368" height="250" /> Looking for ways to improve your patients'...

Steven Citron-Pousty's picture
Joined: 2011-08-02
Feb 16, 2012

Hey Michael:
Now I understand. That is odd that there is raw HTML being shared with the share - I have not seen that behavior before. It looks like our crawler is seeing something different on your page when it goes to fill in the blurb.

That said - I am pretty sure what you are trying to do is unsupported. I will send along to my engineering team and see if they have any suggestions.
Thanks
Steve

Michael Brewer's picture
Joined: 2012-01-11
Feb 16, 2012

Okay, thanks Steve.

Steven Citron-Pousty's picture
Joined: 2011-08-02
Feb 16, 2012

Hey Michael:
One of our engineers caught that you have an img tag in one of your meta fields

Remove that and you should be ok.

Michael Brewer's picture
Joined: 2012-01-11
Feb 16, 2012

I'll give it a shot and let you know, thanks!