Jump to:

22983 Posts in 11709 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Facebook image issue with how tinymce formats img info HELP

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 426 Views
  • Hello_electro
    Avatar
    Community Member
    80 Posts

    Facebook image issue with how tinymce formats img info HELP Link to this post

    Hey everyone.

    so i am coming across a weird issue.

    It seems ot be related to this article: http://ansonalex.com/troubleshooting/fix-articles-linked-on-facebook-dont-display-thumbnails-images/

    when I post my website page url in facebook, the article content appears but the images to the left wont show up. What seems to be the problem is that organization of tag information inside the img tag is causing facebook to not like it. specifically it is adding the resized height and width info after the img src.

    example:

    <img class="right" src="site url for image here.img" alt="" title="" width="120" height="219"/>

    has anyone had this issue? any thoughts how i can get tinymce to reorder this?

    I know I could do the following:

    1. resize the image exactly how I want it so the height and width attributes are not there.

    but obviously this causes more work.

    Any thoughts about this? thanks!

    426 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.