<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Inline-Attachments-Module</title>
        <description> thats a simple module which turns any attachments to a message into an image-tag which is attached to the body of the message.
so its the same result as in phorum3, every attachment is shown as image, whether it could be done or not.

Left for anyone who wants to do it: 
- settings to tell which file-types should be shown as image
- working with both html- and bbcode-mod</description>
        <link>https://www.phorum.org/phorum5/read.php?16,10319,10319#msg-10319</link>
        <lastBuildDate>Fri, 13 Mar 2026 03:52:01 -0400</lastBuildDate>
        <generator>Phorum 5.2.22</generator>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,50526#msg-50526</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,50526#msg-50526</link>
            <description><![CDATA[ If you look at the latest version of the module php-file, you will find:<br />
<pre class="bbcode">
    $img_ext=array(&quot;gif&quot;,&quot;jpeg&quot;,&quot;jpg&quot;,&quot;png&quot;);
</pre>Those are the only extensions which are handled as an inline images. Other attachments are converted to regular links. I would say that the only way in which your video is placed inline, is when your video has on of the listed extensions. That seems a bit weird, so maybe I have not understood your problem correctly?]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 25 Sep 2005 06:20:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,50525#msg-50525</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,50525#msg-50525</link>
            <description><![CDATA[ yes i am using the latest version. how do i change or edit.<br />
<br />
]]></description>
            <dc:creator>kyron2u</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 24 Sep 2005 22:35:10 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,50524#msg-50524</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,50524#msg-50524</link>
            <description><![CDATA[ Are you using the last version posted in this forum? That one contains a list of extensions that should be handled as inline images.]]></description>
            <dc:creator>Maurice Makaay</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 24 Sep 2005 19:10:11 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,50518#msg-50518</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,50518#msg-50518</link>
            <description><![CDATA[ how do i remove the inline mod from making my videos inline. i want them to link. the only way it does that is if i turn of the inline mod. but i like to inline my pictures.<br />
<br />
thanks]]></description>
            <dc:creator>kyron2u</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sat, 24 Sep 2005 11:37:37 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,49822#msg-49822</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,49822#msg-49822</link>
            <description><![CDATA[ Probably a bit excessive in CPU usage but you could just use something like<pre class="bbcode">$attachmentsize = getimagesize($attachment);
if ($attachmentsize)
{
  echo (&#039;&lt;img src=&quot;$attachment&quot; alt=&quot;user posted image&quot; height=&quot;$attachmentsize[1]&quot; width=&quot;$attachmentsize=[0]&quot; /&gt;&#039;);
} else {
   echo (&#039;&lt;a href=&quot;$attachment&quot;&gt;$attachment&lt;/a&gt;&#039;);
}</pre>It&#039;s only an idea and probably wide of th emark but thought I would pass it on.<br />
<br />
This method should also stop most forms of abuse (ie viruses).]]></description>
            <dc:creator>Carbonize</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 21 Aug 2005 12:15:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,49694#msg-49694</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,49694#msg-49694</link>
            <description><![CDATA[ Please review my inline-attachments.php .<br />
I&#039;ve added an array of extentions that can be treated as images; everything that is not in_array :) will be shown as a link.]]></description>
            <dc:creator>Smith</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 15 Aug 2005 08:00:46 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,16790#msg-16790</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,16790#msg-16790</link>
            <description><![CDATA[ Thanks a lot, <br />
I have no idea of php but I tried for a while changing things and IT WORKED<br />
<br />
Great Job. Thanks]]></description>
            <dc:creator>Santi</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 16 May 2005 17:37:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,16779#msg-16779</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,16779#msg-16779</link>
            <description><![CDATA[ edit inline-attachments.php<br />
there is a line<br />
$msgs[$id][&#039;body&#039;].=&quot;&lt;img src=\&quot;&quot;.$att_data[&#039;url&#039;].&quot;\&quot; alt=\&quot;&quot;.$att_data[&#039;name&#039;].&quot;\&quot; title=\&quot;&quot;.$att_data[&#039;name&#039;].&quot;\&quot;&gt;&lt;br /&gt;\n&quot;;<br />
<br />
which is used for every image. change it to every way you like it.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 16 May 2005 15:04:18 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,16753#msg-16753</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,16753#msg-16753</link>
            <description><![CDATA[ Hi, I am new to Phorum and need help.<br />
<br />
I&#039;ve downloaded the inline attachment module and now what happens is that when I upload more than one picture to my phorum they all display together, with absolutely no space between them, how could I solve this problem, if I could at least insert one blank line between one another it would look much better.<br />
<br />
]]></description>
            <dc:creator>Santi</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 15 May 2005 13:11:04 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,14838#msg-14838</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,14838#msg-14838</link>
            <description><![CDATA[ Thom,<br />
  Sorry if my comment sounded flippent I look at the page in thread view and your comment is attached to mine, not sakar&#039;s.<br />
<br />
----<br />
I thought it would too but I was surprised that it just shows the file name.  At least in Firefox and Internet Explorer it does.  Haven&#039;t tried with any others.  I usually test with Operah too, but I soooooo detest it.]]></description>
            <dc:creator>Krang</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 04 Mar 2005 14:44:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,14837#msg-14837</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,14837#msg-14837</link>
            <description><![CDATA[ Krang, yeah thats fine. My post was meant for sakar.<br />
<br />
but what do you mean with other files? pdf/doc etc.? <br />
You would have a broken image for them with your change if I&#039;m not mistaken.<br />
You might want to put an if-statement there to separate between images and other files.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 04 Mar 2005 13:53:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,14831#msg-14831</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,14831#msg-14831</link>
            <description><![CDATA[ Thom,<br />
   I liked the fact that it would show images but didn&#039;t like the fact I couldn&#039;t download any of the other files any more, so I fixed it for my site.  I thought the point of this board was to share.  Well I am sharing.]]></description>
            <dc:creator>Krang</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 04 Mar 2005 13:04:17 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,14830#msg-14830</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,14830#msg-14830</link>
            <description><![CDATA[ sakar,<br />
   inline_attachments.php]]></description>
            <dc:creator>Krang</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 04 Mar 2005 13:02:17 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,14829#msg-14829</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,14829#msg-14829</link>
            <description><![CDATA[ huh? which changes? no one told to make changes to these files.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 04 Mar 2005 12:49:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,14828#msg-14828</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,14828#msg-14828</link>
            <description><![CDATA[ hey guys, <br />
<br />
I am trying to add the module to my phorum. Cant figure out where do make the changes. <br />
<br />
Which file do i edit? I cant find those lines in read.php or attach.php <br />
<br />
please reply.]]></description>
            <dc:creator>sakar</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 04 Mar 2005 12:38:38 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,14575#msg-14575</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,14575#msg-14575</link>
            <description><![CDATA[ two things<br />
<br />
1) I didn&#039;t see this in the &quot;Index of Modules&quot;<br />
[<a href="http://phorum.org/phorum5/read.php?16,7753" target="_blank" >phorum.org</a>]<br />
<br />
2) I changed the following line<br />
$msgs[$id][&#039;body&#039;].=&quot;&lt;img src=\&quot;&quot;.$att_data[&#039;url&#039;].&quot;\&quot; alt=\&quot;&quot;.$att_data[&#039;name&#039;].&quot;\&quot; title=\&quot;&quot;.$att_data[&#039;name&#039;].&quot;\&quot;&gt;&lt;br /&gt;\n&quot;;<br />
<br />
to:<br />
$msgs[$id][&#039;body&#039;].=&quot;&lt;a href=\&quot;&quot;.$att_data[&#039;url&#039;].&quot;\&quot;&gt;&lt;img src=\&quot;&quot;.$att_data[&#039;url&#039;].&quot;\&quot; alt=\&quot;&quot;.$att_data[&#039;name&#039;].&quot;\&quot; title=\&quot;&quot;.$att_data[&#039;name&#039;].&quot;\&quot;&gt;&lt;/a&gt;&lt;br /&gt;\n&quot;;<br />
<br />
Which allows you to click the link and download items .<br />
<br />
If there is a more effecient way to do this I&#039;d like to hear it.]]></description>
            <dc:creator>Krang</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Mon, 28 Feb 2005 09:23:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,10734#msg-10734</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,10734#msg-10734</link>
            <description><![CDATA[ Thanks.<br />
I did&#039;nt understood the principe. Now yes :)<br />
]]></description>
            <dc:creator>florent</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 24 Oct 2004 08:14:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,10731#msg-10731</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,10731#msg-10731</link>
            <description><![CDATA[ just like each other module ... copy the *whole* inline_attachments-folder into the mods-folder and then disable/enable it in the admin -&gt; modules -part.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 24 Oct 2004 06:42:51 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,10729#msg-10729</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,10729#msg-10729</link>
            <description><![CDATA[ Hello<br />
I am sure it&#039;s simple, but I do not see how to use the file &quot;inline_attachments.php&quot; ?<br />
i must include it....<br />
Thanks]]></description>
            <dc:creator>florent</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Sun, 24 Oct 2004 06:21:30 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,10406#msg-10406</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,10406#msg-10406</link>
            <description><![CDATA[ Sorry, had editted out my very moronic question (I ought to know what inline attachment is, and now I do; no need for snapshots) and replaced it with something else.]]></description>
            <dc:creator>Ryan</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 15 Oct 2004 17:12:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,10405#msg-10405</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,10405#msg-10405</link>
            <description><![CDATA[ No.<br />
Its quite simple to try it out.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 15 Oct 2004 17:06:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,10390#msg-10390</guid>
            <title>Re: Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,10390#msg-10390</link>
            <description><![CDATA[ Very interesting, but it seems to just turn the attachment (if not a picture but a zipped file) into just text instead of a link to it.]]></description>
            <dc:creator>Ryan</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Fri, 15 Oct 2004 13:17:08 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?16,10319,10319#msg-10319</guid>
            <title>Inline-Attachments-Module</title>
            <link>https://www.phorum.org/phorum5/read.php?16,10319,10319#msg-10319</link>
            <description><![CDATA[ thats a simple module which turns any attachments to a message into an image-tag which is attached to the body of the message.<br />
so its the same result as in phorum3, every attachment is shown as image, whether it could be done or not.<br />
<br />
Left for anyone who wants to do it: <br />
- settings to tell which file-types should be shown as image<br />
- working with both html- and bbcode-mod]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>5.1 Phorum Modules / Add-Ons</category>
            <pubDate>Thu, 14 Oct 2004 07:01:40 -0400</pubDate>
        </item>
    </channel>
</rss>
