DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: post photos in forum  (Read 10,229 times)

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
post photos in forum
« on: June 02, 2010, 08:56 PM »
hello

I want to post a photo and to make it appear in the post, how do I do it?

what is the right code for it?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: post photos in forum
« Reply #1 on: June 02, 2010, 10:06 PM »
is this what you want:
http://www.donationcoder.com/forum/index.php?topic=1996.0

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: post photos in forum
« Reply #2 on: June 02, 2010, 11:35 PM »
it seems yes, but I cannot understand, can you paste me the code? an example?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: post photos in forum
« Reply #3 on: June 02, 2010, 11:39 PM »
keep studying that thread, it shows the code to use.

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: post photos in forum
« Reply #4 on: June 02, 2010, 11:45 PM »
oh, I need to save the photo to my computer and upload it as an attachment first?

can it be done just by pasting the url of the photo?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: post photos in forum
« Reply #5 on: June 02, 2010, 11:48 PM »
Quote
I need to save the photo to my computer and upload it as an attachment first?
right.

now there is a way to show an image hosted on another site using [img]url[/img] but we HIGHLY discourage it, since inevitably over time the remotely hosted images disappear, resulting in confusion.

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: post photos in forum
« Reply #6 on: June 03, 2010, 12:07 AM »
wouldn't it be better the forum to automatically save in its cache all the images posted using (as it already does with attachments) ?

this automated process would save the time of all users to save the images to their computers and then upload them to the forums as attachments

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: post photos in forum
« Reply #7 on: June 03, 2010, 12:43 AM »
that's a nice idea for sure, but not trivial to implement.
it is a nice idea though.

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Re: post photos in forum
« Reply #8 on: June 06, 2010, 12:32 AM »
yeah, it is something that forum developers should implement (I don't know what this forum is, invision board? phpBB?)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: post photos in forum
« Reply #9 on: June 06, 2010, 02:27 AM »
yeah, it is something that forum developers should implement (I don't know what this forum is, invision board? phpBB?)

it's Simple Machines (SMF). why not try search in their forums, there might be a mod that does that..

Original address: https://www.donationcoder.com/forum/index.php?topic=22940.0