XnTriq wrote:The border is not in the image data of your attachment (lqFT3Tp-transformed.png), cday. That's done by the forum's default style (“prosilver”).cday wrote:I don't know why there's a black line around the image -- it's not shown in the screenshot 'After' display?
To be sure, you can either view this page in print mode or switch to “subsilver2” via User Control Panel » Board preferences » Edit global settings » My board style.
<!--// EDIT //
// EDIT //-->
- Firefox lets you turn the page's CSS off: View » Page Style » No Style
Depending on how an image is embedded in a post, phpBB generates different HTML — which in turn has varying CSS (formatting) assigned to it. In “prosilver”, images embedded with [attachment=][/attachment] BBCode tags are displayed with a border, while images embedded with [img][/img] BBCode tags are not.cday wrote:But why is there a black border on the image I uploaded and not on the example images that were uploaded originally -- both viewed with the same forum settings?
User philippetev uploaded his examples to an external server. Images hosted on a different site have to be embedded with [img][/img] tags:BBCode guide ([url=http://newsgroup.xnview.com/faq.php?mode=bbcode#f5r0]Showing images in posts[/url]) wrote:Adding an image to a post
phpBB BBCode incorporates a tag for including images in your posts. Two very important things to remember when using this tag are: many users do not appreciate lots of images being shown in posts and secondly the image you display must already be available on the internet (it cannot exist only on your computer for example, unless you run a webserver!). To display an image you must surround the URL pointing to the image with [img][/img] tags. For example:
As noted in the URL section above you can wrap an image in a [url][/url] tag if you wish, e.g.Code: Select all
[img]http://www.google.com/intl/en_ALL/images/logo.gif[/img]
would generate:Code: Select all
[url=http://www.google.com/][img]http://www.google.com/intl/en_ALL/images/logo.gif[/img][/url]
Adding attachments into a post
Attachments can now be placed in any part of a post by using the new [attachment=][/attachment] BBCode, if the attachments functionality has been enabled by a board administrator and if you are given the appropriate permissions to create attachments. Within the posting screen is a drop-down box (respectively a button) for placing attachments inline.
Code: Select all
[img]http://i.imgur.com/nLrhAou.png[/img]

You OTOH chose to include your images as an attachment (to be uploaded to and stored on the server of newsgroup.xnview.com) and inserted the [attachment=][/attachment] tags with the Place attachment inline button:
Code: Select all
[attachment=0]Image_1.png[/attachment]
[attachment=1]lqFT3Tp-transformed.png[/attachment]
Your attachments have been given the IDs #1480 (lqFT3Tp-transformed.png) and #1481 (Image_1.png). Both attachments “belong” exclusively to your post #116286.
If you (or anybody else for that matter) would like to place these attachments into another post, they have to find out the ID of that attachment and embed it with the help of [img][/img] tags:
Code: Select all
[img]http://newsgroup.xnview.com/download/file.php?id=1480[/img]
Code: Select all
[img]http://newsgroup.xnview.com/download/file.php?id=1481[/img]
Code: Select all
[img]http://newsgroup.xnview.com/download/file.php?id=1481&t=1[/img]
Code: Select all
[url=http://newsgroup.xnview.com/download/file.php?id=1481][img]http://newsgroup.xnview.com/download/file.php?id=1481&t=1[/img][/url]
[url=http://newsgroup.xnview.com/download/file.php?id=1481]Image_1.png[/url]
Image_1.png