Inline-Attachments-Module
Posted by Thomas Seifert
Re: Inline-Attachments-Module March 04, 2005 01:02PM |
Registered: 20 years ago Posts: 264 |
Re: Inline-Attachments-Module March 04, 2005 01:04PM |
Registered: 20 years ago Posts: 264 |
Thom,
I liked the fact that it would show images but didn't like the fact I couldn'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.
http://www.krang.org
I liked the fact that it would show images but didn't like the fact I couldn'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.
http://www.krang.org
Re: Inline-Attachments-Module March 04, 2005 01:53PM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: Inline-Attachments-Module March 04, 2005 02:44PM |
Registered: 20 years ago Posts: 264 |
Thom,
Sorry if my comment sounded flippent I look at the page in thread view and your comment is attached to mine, not sakar's.
----
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't tried with any others. I usually test with Operah too, but I soooooo detest it.
http://www.krang.org
Edited 1 time(s). Last edit at 03/04/2005 02:48PM by Krang.
Sorry if my comment sounded flippent I look at the page in thread view and your comment is attached to mine, not sakar's.
----
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't tried with any others. I usually test with Operah too, but I soooooo detest it.
http://www.krang.org
Edited 1 time(s). Last edit at 03/04/2005 02:48PM by Krang.
Re: Inline-Attachments-Module May 15, 2005 01:11PM |
Registered: 20 years ago Posts: 50 |
Hi, I am new to Phorum and need help.
I'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.
I'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.
Re: Inline-Attachments-Module May 16, 2005 03:04PM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: Inline-Attachments-Module May 16, 2005 05:37PM |
Registered: 20 years ago Posts: 50 |
Re: Inline-Attachments-Module August 15, 2005 08:00AM |
Registered: 19 years ago Posts: 3 |
August 21, 2005 12:15PM |
Registered: 19 years ago Posts: 14 |
Probably a bit excessive in CPU usage but you could just use something like
This method should also stop most forms of abuse (ie viruses).
Carbonize
Edited 1 time(s). Last edit at 08/21/2005 12:17PM by carbonize.
$attachmentsize = getimagesize($attachment); if ($attachmentsize) { echo ('<img src="$attachment" alt="user posted image" height="$attachmentsize[1]" width="$attachmentsize=[0]" />'); } else { echo ('<a href="$attachment">$attachment</a>'); }It's only an idea and probably wide of th emark but thought I would pass it on.
This method should also stop most forms of abuse (ie viruses).
Carbonize
Edited 1 time(s). Last edit at 08/21/2005 12:17PM by carbonize.
Re: Inline-Attachments-Module September 24, 2005 11:37AM |
Registered: 19 years ago Posts: 18 |
Sorry, only registered users may post in this forum.