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

Home » FUDforum » FUDforum Suggestions » Image Upload Repository
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Image Upload Repository [message #5596] Tue, 10 September 2002 14:37 Go to next message
ben! is currently offline  ben!   United States
Messages: 7
Registered: July 2002
Karma: 0
Junior Member
Greetings.

I'm running a board (http://thelocust.org/bored) and we tend to do a lot of inline image posting. Now, most of us have some webspace to use to host images that we don't want to link to remotely, but some of my users don't.

Now, i know there is already an attachment function for posts, but what I would like to see (and it would most definitely be an optional thing) is a public image repository.

When a user posts/replies, there would be a button for the image repository. Click on it, and it pops a new window with a File Upload dialog, a listing of the most recently uploaded files, and a search box. The user may upload his/her own picture (and the upload would be checked for image format/size restraints) and the page would refresh, showing his/her photo as the most recently uploaded.

Now, in the listing of the most recently uploaded image, he/she may choose to "Add to Post" any image he/she sees there, and thanks to the wonder of javascript, a FUD or HTML tag will be placed in the message for that image.

The search box will allow the user to search by name and/or image extension any of the images in that public directory. The result set is shown and he/she may choose them at will.

Now, i realize that this has a lot of possible issues with it, but again, it would be an optional amenity for those image-heavy boards.

If this doesn't get picked up by one of the blessed FUDForum regular developers, i may go ahead an implement it (once 2.3.1 comes out and i can upgrade my postgresql database Smile )
Re: Image Upload Repository [message #5597 is a reply to message #5596] Tue, 10 September 2002 14:52 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
As I've mention to you (?) on IRC, this issue has been considered since a few other people had made simular requests. So far, my best solution involves the following:
If the uploaded file is determined to be an image, beside the uploaded file on the post form, there would be a JavaScript link allowing the user to insert this image into their message.
For example, if a user uploads test.jpg, clicking on the JS link would insert
[code]
index.php?t=getfile&id=img_id
[code]

There is one problem however, what happens when the image is for whatever reason removed? Currently this would make a forum spit out an error, which would result in a broken image. I am currently considering whether or not that is acceptable solution.


FUDforum Core Developer
Re: Image Upload Repository [message #5621 is a reply to message #5596] Tue, 10 September 2002 18:58 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
maybe a fall back "image no longer available" image?
Re: Image Upload Repository [message #5625 is a reply to message #5621] Tue, 10 September 2002 19:55 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Not easily done, and would require an ugly hack. Since the only way to make this possible would be pass an additional parameter to the getfile form and have it act upon it. Since this is really only affects 1 option IMO it is not a good solution.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: french language?
Next Topic: Notifying on PM
Goto Forum:
  

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

Current Time: Tue Nov 26 05:42:01 GMT 2024

Total time taken to generate the page: 0.03923 seconds