FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Inline image attachments
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Inline image attachments [message #162601] Fri, 18 June 2010 13:12 Go to next message
Anonymous   United States
Just curious to see what attached images look like and whether there's an easy way to get them to appear inline...

index.php?t=getfile&id=5988&private=0

Testing...
Re: Inline image attachments [message #162779 is a reply to message #162601] Thu, 15 July 2010 11:06 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
You can use the imgl and imgr BBtags
[imgl][/imgl][imgr][/imgr]


[Updated on: Thu, 15 July 2010 11:06]

Report message to a moderator

icon6.gif  Re: Inline image attachments [message #162808 is a reply to message #162779] Mon, 19 July 2010 23:34 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
I don't recall having seen BBtags for
[imgr][/imgr]
, could you explain further?


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Inline image attachments [message #162811 is a reply to message #162601] Tue, 20 July 2010 05:10 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
http://fudforum.org/forum/index.php?t=getfile&id=5988&This
is
text with imgl
http://fudforum.org/forum/index.php?t=getfile&id=5988&
This is imgr text da di do


I don't really know what there is to explain, image align left and image align right.

http://fudforum.org/forum/index.php?t=getfile&id=5988&http://fudforum.org/forum/index.php?t=getfile&id=5988&http://fudforum.org/forum/index.php?t=getfile&id=5988&http://fudforum.org/forum/index.php?t=getfile&id=5988&http://fudforum.org/forum/index.php?t=getfile&id=5988&http://fudforum.org/forum/index.php?t=getfile&id=5988&
inline


[Updated on: Tue, 20 July 2010 05:11]

Report message to a moderator

Re: Inline image attachments [message #162812 is a reply to message #162811] Tue, 20 July 2010 05:11 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
Aaaah, I totally missunderstood you.

Re: Inline image attachments [message #162813 is a reply to message #162601] Tue, 20 July 2010 05:19 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
drawmsg.tmpl -> attachment

Instead of wrapping each attachment in an LI, create either DIVs with float:left or make a table out of it.

This is how I have done it:

dmsg_drawmsg_file_attachments:
<div style="width: 100%; float: left;">
{TEMPLATE-DATA: drawmsg_file_attachments}
</div><div class="clr"></div>


and in
dmsg_drawmsg_file_attachment
I just place the code within a <div> with float: left on it
  • Attachment: balcony.jpg
    (Size: 17.34KB, Downloaded 912 times)


Re: Inline image attachments [message #162815 is a reply to message #162813] Tue, 20 July 2010 19:20 Go to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
index.php?t=getfile&id=6004&private=0Basic misunderstanding here!
It was the BBtags (imgl and /imgr) I was referring to never seeing, I always use the standard img tag in conjunction with align=center right or left if I want small images in line or separated, or I just put them together without spaces and they generally line up just fine.

I do understand that BBtags can be made for virtually any HTMLtag, but that is over my skill level. However it is obvious that (imgl and /imgr) do work with FUDforum yet they are not mentioned in the help section so I was naturally curious.

The major reason I was interested was to see if text would wrap around the image which is something I have never been able to accomplish.

See....Re: Can you wrap text around an image? http://fudforum.org/forum/index.php?t=msg&goto=162228&#msg_162228

But as you can see it does wrap, although it seem to disrupt the page layout a bit. Wink

Thanks!

As for:
Ernesto wrote on Tue, 20 July 2010 00:19
drawmsg.tmpl -> attachment

Instead of wrapping each attachment in an LI, create either DIVs with float:left or make a table out of it.

This is how I have done it:

dmsg_drawmsg_file_attachments:
<div style="width: 100%; float: left;">
{TEMPLATE-DATA: drawmsg_file_attachments}
</div><div class="clr"></div>


and in
dmsg_drawmsg_file_attachment
I just place the code within a <div> with float: left on it


I'm completely lost.
  • Attachment: donkey.jpg
    (Size: 4.12KB, Downloaded 1479 times)


"I'm a Witcher, I solve human problems; not always using a sword!"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New member restrictions
Next Topic: Can you wrap text around an image? (RESOLVED)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 17:43:48 GMT 2024

Total time taken to generate the page: 0.02427 seconds