Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15177

place inline attachments images can't be centered in phpBB 3.2 using the center bbcode.

XMLWordPrintable

      in phpBB 3.2, we can no longer center an inline-attachment image.

      So everyone that used the custom bbcode center to place their inline attachment image in their posts in phpBB 3.1.x or older versions, this function will look broken in their posts.

      Here is the custom BBCode that I am using that fails with inline attachment images:

      BBCode usage

      [center]{TEXT}[/center]
      

      HTML replacement

      <div align="center">{TEXT}</div>
      

      Help line

      [center]your text here[/center]
      

      See this ongoing support topic discussing this issue. https://www.phpbb.com/community/viewtopic.php?p=14715281#p14715281 – That topic displays more screenshots (I also include one below).

      Link to an offline test site that you can test this bug at: http://forum.mattfriedman.me/viewforum.php?f=8
      I currently started a test topic there, but it auto-prunes daily: http://forum.mattfriedman.me/viewtopic.php?f=8&t=1663

      According to the abbc3 extension developer, he states that this is a phpBB 3.2 issue. Not something he can fix on his end.

      Hopefully you can fix it. If yes, please offer some code, so I can test on my offline board. Thanks in advance.

      If you got more questions, please reply below, but please read my UPDATES in that support topic at phpbb.com for more details and also what we've tested.

      Plus another weird issue: When we press the "PREVIEW" button, we can see the image inline attachment being displayed and centered correctly. I talk about this more in this reply: https://www.phpbb.com/community/viewtopic.php?p=14715956#p14715956

            Marc Marc
            M.O.B. M.O.B.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: