Go Back   EcoModder Forum > Forum News & Feedback
Register Now
 Register Now

Now available from EcoModder: ScanGauge II fuel economy gauge.  Click for details.  

Reply  Post New Thread
 
LinkBack Thread Tools
Old 05-16-2010, 09:55 PM   #1 (permalink)
PaleMelanesian's Disciple
 
hummingbird's Avatar
 
Join Date: Dec 2008
Location: Noida, UP, India
Posts: 194

City - '04 City iDSI EXi
90 day: 47.47 mpg (US)
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy Pics no longer available

Mods - Please have a look at this link -

Win $100.00 in Free Gas! Design Contest: Ecomod my Ride


There are several old posts ruined by bad links to third party image hosting sites. Some times the discussion dwells on the details contained in the pics so much that the post/thread is useless after the pics go away.

I suggest you have some tool that senses a link to a third party pic hosting site, pulls the pic and hosts it on your site, so that it continues to be displayed as long as the post stays up.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
  Reply With Quote
Old 05-17-2010, 01:43 AM   #2 (permalink)
aero guerrilla
 
Piwoslaw's Avatar
 
Join Date: Oct 2008
Location: Warsaw, Poland
Posts: 2,877

Svietlana - '05 307 SW
Diesel
90 day: 55.98 mpg (US)
Thanks: 668
Thanked 361 Times in 229 Posts
Posting pics from third-party sites reduces the space needed on EM's servers, but also has the risk of broken links. Anything I believe is more or less important, and comes from another site, I would propose to download to your computer, then upload to EM either as an attachment or into your album. In some cases it's nice to give credits.
__________________
e·co·mod·ding: the art of turning vehicles into what they should be

What matters is where you're going, not how fast.

"... we humans tend to screw up everything that's good enough as it is...or everything that we're attracted to, we love to go and defile it." - Chris Cornell

Piwoslaw's Peugeot 307sw modding thread

  Reply With Quote
Old 05-19-2010, 11:34 PM   #3 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 12,533

Blackfly - '98 Metro
Team Metro
90 day: 67.07 mpg (US)

ForkenSwift - '92 Metro EV
90 day: 125.37 mpg (US)

U.F.O. - '00 Insight
Team Honda
90 day: 85.75 mpg (US)
Thanks: 302
Thanked 1,019 Times in 568 Posts
Hummingbird, I agree it's a problem (images linked from other sites disappearing).

I'll check to see if there's an existing forum mod to do something like what you suggested.

Ideally: the server could fetch copies of all 3rd party linked images, and only serve them when it detects a missing image (though that would require a script to run periodically to go through the list of thousands to check them).
__________________
Latest project: removable Geo Metro boat tail
Latest test: Massive cardboard air dam on a Geo Metro


www.MetroMPG.com - fuel efficiency info for Geo Metro owners
www.ForkenSwift.com - electric car conversion on a beer budget
  Reply With Quote
Old 05-20-2010, 12:41 AM   #4 (permalink)
Moderate your Moderation.
 
Join Date: Nov 2008
Location: Troy, Pa.
Posts: 8,382

Herbie - '86 Golf Diesel
90 day: 51.89 mpg (US)

Steve - '92 Festiva
Thanks: 955
Thanked 324 Times in 273 Posts
How about a server script that gathers the images as they're posted, and a link to report broken images, so the server can then replace the image with the local copy?

The only time I can see this not working out well is (probably never going to happen on this forum) someone posts images of something they're not supposed to (perhaps from another person's image hosting account) and that person moves/removes the image from their account so that it's not posted live anymore.

This, of course, could be fixed with the "report spam" button, or via email with the mods.

Regardless, it's probably better for the server's health if we just "report broken image". Probably easier to code, too.
__________________
"¿ʞɐǝɹɟ ɐ ǝɹ,noʎ uǝɥʍ 'ʇı ʇ,usı 'ʎlǝuol s,ʇı"
  Reply With Quote
Old 05-20-2010, 01:13 AM   #5 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,032

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 156
Thanked 259 Times in 203 Posts
event wise it could be fairly simple to get a local copy working, not saying it needs doing, I must be bored . But customizing the vbulletin save/modify event isn't for everyone.
Code:
user adds/modifies post:
for each img tag
  if img url is not em based (begins with http...ecomodder.com)
    convert url to filename (uuencode?) and add original extension.
    if file doesn't exist 
      get image data into local filesystem (socket read) using filename
      convert filename to EM url (i.e. add appropriate http:// prefix)
  use em url for img url
preview can use whatever url is in the message

also, might want to secure the em url path so only logged in users can see pics if bandwidth is an issue.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 05-20-2010 at 01:18 AM..
  Reply With Quote
The Following User Says Thank You to dcb For This Useful Post:
Christ (05-20-2010)
Reply  Post New Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Electric car conversion: Project ForkenSwift MetroMPG Fossil Fuel Free 980 04-25-2012 10:12 AM
echo rear bellypan install pics. moonmonkey Aerodynamics 3 01-17-2010 11:30 PM
Shorter and Hillier vs. Longer and Flatter 99LeCouch Hypermiling / EcoDriver's Ed 7 09-14-2009 05:36 PM
Basjoos: any updated pics of the rear after the accident? Compaq888 The Lounge 5 01-09-2009 10:01 AM




Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com