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

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

City - '04 Honda City iDSI EXi
90 day: 47.47 mpg (US)
Thanks: 3
Thanked 3 Times in 2 Posts
Unhappy Pics no longer available

Mods - Please have a look at this link -

http://ecomodder.com/forum/showthread.php/win-100-00-free-gas-design-contest-ecomod-246.html#post1717


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.

__________________
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-17-2010, 02:43 AM   #2 (permalink)
aero guerrilla
 
Piwoslaw's Avatar
 
Join Date: Oct 2008
Location: Warsaw, Poland
Posts: 3,750

Svietlana II - '13 Peugeot 308SW e-HDI 6sp
90 day: 58.1 mpg (US)
Thanks: 1,336
Thanked 749 Times in 476 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


[Old] Piwoslaw's Peugeot 307sw modding thread
  Reply With Quote
Old 05-20-2010, 12:34 AM   #3 (permalink)
Batman Junior
 
MetroMPG's Avatar
 
Join Date: Nov 2007
Location: 1000 Islands, Ontario, Canada
Posts: 22,534

Blackfly - '98 Geo Metro
Team Metro
Last 3: 70.09 mpg (US)

MPGiata - '90 Mazda Miata
90 day: 54.46 mpg (US)

Appliance car Mirage - '14 Mitsubishi Mirage ES (base)
90 day: 57.73 mpg (US)
Thanks: 4,082
Thanked 6,979 Times in 3,614 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).
__________________
Project MPGiata! Mods for getting 50+ MPG from a 1990 Miata
Honda mods: Ecomodding my $800 Honda Fit 5-speed beater
Mitsu mods: 70 MPG in my ecomodded, dirt cheap, 3-cylinder Mirage.
Ecodriving test: Manual vs. automatic transmission MPG showdown



EcoModder
has launched a forum for the efficient new Mitsubishi Mirage
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, 01:41 AM   #4 (permalink)
Moderate your Moderation.
 
Join Date: Nov 2008
Location: Troy, Pa.
Posts: 8,919

Pasta - '96 Volkswagen Passat TDi
90 day: 45.22 mpg (US)
Thanks: 1,369
Thanked 430 Times in 353 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, 02:13 AM   #5 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

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

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 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.

__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 05-20-2010 at 02: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




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



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