Coin Community Family of Web Sites Join Thousands of Coin, Bullion, & Money Collectors
Royal Estate Auctions - $1 Coin AuctionsCoin, Banknote and Medal Collectors's Online Mall Royal Canadian Mint products, Canadian, Polish, American, and world coins and banknotes. 300,000 items to help build your collection! Vancouvers #1 Coin and Paper Money Dealer Join Thousands of Coin, Bullion, & Money Collectors Specializing in Modern Numismatics








Username:
Password:
Save Password
Forgot your Password?


This page may contain links that result in small commissions to keep this free site up and running.

Welcome Guest! Registering and/or logging in will remove the anchor (bottom) ads. It's Free!

A Solution To The Shapeshifting Picture Problem?

To participate in the forum you must log in or register.
Author Previous TopicReplies: 3 / Views: 1,713Next Topic  
Moderator
Learn More...
Sap's Avatar
Australia
16847 Posts
 Posted 02/23/2009  10:02 am Show Profile   Bookmark this topic Add Sap to your friends list Get a Link to this Message Number of Subscribers
DL20K has complained about one of his pictures suddenly changing to a different picture, in this post. It's not the first time I've seen him (and others) complain about it happening to them, but it seems to happen to DL20K more than other folks.

I had a hunch, and just ran a simple test to see what would happen if you downloaded two pictures with the exact same filename to CCF (via the "add image" camera icon) on the same day. In this test thread, the picture in my OP was originally my avatar coin, which I downloaded under the name "test.jpg". I then saved another file (the Australian round 50¢) with the name "test.jpg" too, and downloaded that. The first "test.jpg" appears to have been completely over-written and replaced by the second one.

The download page doesn't come up with any kind of warning or error that there's already a file with that name, and the old one will be deleted. It simply deletes it, and any thread with the old pic now shows the new one.

CCF-downloaded image files all have a date-stamp attached to the name. My older CCF downloaded images have, in addition to this date-stamp numbers, an additional set of numbers - they're either random, or the number of downloads that happened that day - presumably to prevent this exact sort of thing from occurring.

Is there any chance of modifying the forum code to either send up an error/warning message when a file is about to be replaced (eg. "Did you intend to delete the file xxxxx.jpg which has already been downloaded today? (y/n)"), or reinstate the additional time-stamp numbers to ensure all downloaded files are uniquely named?
Don't say "infinitely" when you mean "very"; otherwise, you'll have no word left when you want to talk about something really infinite. - C. S. Lewis
Forum Dad
Learn More...
bobby131313's Avatar
United States
24171 Posts
 Posted 02/23/2009  6:41 pm  Show Profile   Bookmark this reply Add bobby131313 to your friends list Get a Link to this Reply
Well it does overwrite it Sap, just like anyone's computer would.

The set of numbers that used to show was a time stamp and I HAD to stop it or the server would be full right now. New members would join and upload the same 100K photo dozens of times in the testing forum or wherever and I simply had to stop it as it was getting ridiculous.

I don't think checking the server every time someone uploads a photo is feasible. Maybe I'll put a generic warning on the upload popup though.
Moderator
Learn More...
Sap's Avatar
Australia
16847 Posts
 Posted 02/23/2009  10:33 pm  Show Profile   Bookmark this reply Add Sap to your friends list Get a Link to this Reply
Thanks, Bobby.
Don't say "infinitely" when you mean "very"; otherwise, you'll have no word left when you want to talk about something really infinite. - C. S. Lewis
Forum Dad
Learn More...
bobby131313's Avatar
United States
24171 Posts
 Posted 02/25/2009  11:06 am  Show Profile   Bookmark this reply Add bobby131313 to your friends list Get a Link to this Reply
OK done. Spruced up the look a little too since I'm a goofball that thinks I have plenty of time on my hands but really doesn't.
  Previous TopicReplies: 3 / Views: 1,713Next Topic  

To participate in the forum you must log in or register.



    




Disclaimer: While a tremendous amount of effort goes into ensuring the accuracy of the information contained in this site, Coin Community assumes no liability for errors. Copyright 2005 - 2026 Coin Community Family- all rights reserved worldwide. Use of any images or content on this website without prior written permission of Coin Community or the original lender is strictly prohibited.
Contact Us  |  Advertise Here  |  Privacy Policy / Terms of Use

Coin Community Forum © 2005 - 2026 Coin Community Forums
It took 0.24 seconds to rattle this change. Forums