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

Home » FUDforum » How To » Adding images to a post
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Adding images to a post [message #5068] Mon, 19 August 2002 19:53 Go to next message
CyberFungus is currently offline  CyberFungus   United States
Messages: 5
Registered: August 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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] Mon, 19 August 2002 20: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
add to buddy list
ignore all messages by this user
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] Mon, 19 August 2002 20:40 Go to previous messageGo to next message
CyberFungus is currently offline  CyberFungus   United States
Messages: 5
Registered: August 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thankx, that about what i though.
Possible solution for image display. [message #5546 is a reply to message #5069] Sun, 08 September 2002 10:00 Go to previous messageGo to next message
Fishtails is currently offline  Fishtails   United States
Messages: 4
Registered: September 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 13:37 Go to previous message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 13:38]

Report message to a moderator

Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Jun 18 09:46:57 EDT 2018

Total time taken to generate the page: 0.00625 seconds