test1
May 27, 2017, 12:52:54 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can attach photos hosted by the forum rather than using an external image hosting site, this means they will stay forever and not disappear after a year or two.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Attaching photos to posts.  (Read 3629 times)
Drewid
Administrator
Hero Member
*****
Posts: 2281


wielder of electric crayons


View Profile
« on: January 30, 2010, 09:10:35 PM »

Yes we now have a live hosting space.  It would be cool if people could upload photos to our space rather than using an external hosting site.  That way we shouldn't end up with missing images later on.

It's hidden in the "additional options" tab when you are posting a topic or reply, (bottom left).

Logged

Games work site:  Drewnorthcott.co.uk
Personal site: Bongofish.co.uk
cellofaan
Sr. Member
****
Posts: 240


View Profile
« Reply #1 on: February 07, 2010, 04:11:36 PM »

Is there a possibility to retrieve the lost pictures that once were attached to the forum, or are they lost for eternity?
Logged
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #2 on: February 09, 2010, 11:54:04 AM »

you may have some luck with the wayback machine -- but most of them are really lost. I've searched.

Now I am worried about all the images that work *today* but can disappear *anytime*
Logged
Drewid
Administrator
Hero Member
*****
Posts: 2281


wielder of electric crayons


View Profile
« Reply #3 on: February 11, 2010, 02:42:29 PM »

Yeah, same here.

Perhaps if we put put a blanket post asking people to move their pics inhouse?  Otherwise it's a load of work to do it one at a time.
Logged

Games work site:  Drewnorthcott.co.uk
Personal site: Bongofish.co.uk
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #4 on: February 12, 2010, 05:08:56 AM »

Well, it depends how SMF works, but if we can do some sort of scripting to insert images and scan & update post text, it could be done a bit more quickly.
Logged
Drewid
Administrator
Hero Member
*****
Posts: 2281


wielder of electric crayons


View Profile
« Reply #5 on: February 12, 2010, 09:32:26 AM »

It's all built on SQL, so Bobs (who likes that sort of thing  Huh ) could scan the database for all picture references, and give us a list of posts.   We would have to then grab pics dump them in the attachments folder, and poke the database again to pick them up from the right place.

It's the grabbing part that's the real pain.  We can't be the first to have this problem. I'll have a look for an SMF extension that manages pics.
Logged

Games work site:  Drewnorthcott.co.uk
Personal site: Bongofish.co.uk
bernard
Administrator
Hero Member
*****
Posts: 2584


pato mania


View Profile
« Reply #6 on: February 13, 2010, 05:31:54 AM »

"Grabbing" the image from a url is the most simple thing. You just make a HTTP request and keep the output (if a valid "200" status is returned) -- "curl" does that.

The tough part would not be technical but legal. It could be 100% automatic, but I think a "human" need to screen them one by one to accept/reject. To me, that is the annoying part.
Logged
Drewid
Administrator
Hero Member
*****
Posts: 2281


wielder of electric crayons


View Profile
« Reply #7 on: February 13, 2010, 01:10:34 PM »

Technically we would also need to check with the builders that they are OK with us hosting.   The copyright of the original images rests with the photographer even if publicly displayed on the internet.

I can send a blanket email out for that though. It only needs to be "We intend to do this, please notify us if you object" I should think.  I can't imagine anyone would have a problem with it.
Logged

Games work site:  Drewnorthcott.co.uk
Personal site: Bongofish.co.uk
Pages: [1]
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!