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

Home » FUDforum » How To » Adding images to a post
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Adding images to a post [message #5068] Mon, 19 August 2002 23:53 Go to next message
CyberFungus is currently offline  CyberFungus   United States
Messages: 5
Registered: August 2002
Karma: 0
Junior Member
I got how to attach them and i know that i can put them on an FTP server then use the img tage to have them added in to a post but my question is.

Is there a way to put a pic in a post and have it show up with out having to put it on an ftp server.
Re: Adding images to a post [message #5069 is a reply to message #5068] Tue, 20 August 2002 00:20 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can put them on the server Smile

I understand what you are trying to do however, you want to upload an image and then have the image displayed inside a message, correct?

The solution is a little complex, but doable non-the-less. 1st you make a post and attach an image to it. Then you copy the link to the download page from which the image can be downloaded.
The you edit the post and put that link minus the S=fdfhfkasfda potion as image url.


FUDforum Core Developer
Re: Adding images to a post [message #5070 is a reply to message #5068] Tue, 20 August 2002 00:40 Go to previous messageGo to next message
CyberFungus is currently offline  CyberFungus   United States
Messages: 5
Registered: August 2002
Karma: 0
Junior Member
Thankx, that about what i though.
Possible solution for image display. [message #5546 is a reply to message #5069] Sun, 08 September 2002 14:00 Go to previous messageGo to next message
Fishtails is currently offline  Fishtails   United States
Messages: 4
Registered: September 2002
Karma: 0
Junior Member
I did something similar to a wwwthreads installation at work. In the message display I changed the code that provided the link to the file to an <img> tag and that was it. Images display within the message body. A user can either upload an image or link to one on their own server via the ubb code. Keep in mind that the forum has to be set for ONLY image file uploads, otherwise anything else will show broken images or try to display them.

I intend to do this with my Fudforum installation as well. Protoss, could you direct me to the file which contains the code for file uploads linking in the message display? If I get it to work I'll post the hack.

This may be a suggestion to provide this ability to set this in the admin, as many forums are of a different nature than technical ones like this where actual files and hacks are shared.

Thanks.
Re: Adding images to a post [message #5551 is a reply to message #5068] Sun, 08 September 2002 17:37 Go to previous message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
the file you are looking for is src/post.php.t (at least i think that is the correct file)

and if you checked the file extention you could automatically show the picture or the attach icon for other file types

[Updated on: Sun, 08 September 2002 17:38]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: flat view and tree view
Next Topic: Name Required in FUD 1.2.8 - Why?
Goto Forum:
  

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

Current Time: Fri Oct 04 23:18:24 GMT 2024

Total time taken to generate the page: 0.02735 seconds