New Pornstar Interviews - [more]
Introducing Brandi Swan

"I’ve been really liking how they cum inside me. Now that I’m on birth control, fill me up!"
All Forums > Tech Talk > Tech Talk Forum Page 23 > Drew ......
AuthorPost
RandomPrecision
Senior Member

Enjoy!
8175 Posts
3/06
Posted - Mar 1 2009 : 11:39PM
I have a Firefox add-on called Save Image In Folder. It works like a charm for most sites. However, when I use it to save a photo from ADT, when I go to open the file, I get a message telling me that it's a Jpeg file with an incorrect extension. I am then prompted to manually choose a program to open the file with. I usually choose Irfanview and it asks if I want to rename. It is only than that I can view the file.
Just thought you should know. I don't know if it affects anything else or not. If I save a photo from ADT with the normal save dialog, it works fine. Any idea what's causing this?
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Mar 1 2009 : 11:57PM
It's intentional. That's the way I wrote it.
If you right click an image and look at the properties you will see a path/filename like //img1-ps.adultdvdtalk.com/cf4b7a38143a46ccb82bd45 Notice that there's no extension on the file name. I do this for a number of reasons but basically the idea is to keep images from automatically being fetched. It's not a foolproof method but at least there's no telltale .jpg in the page source to make it easy for them. And even if a scraper program gets around this mechanism they will most likely end up receiving a poor quality, washed-out, watermarked version of the image.
Browsers will render the image properly because the MIME type supplied by our server is accurate. That's the important part from my perspective.
RandomPrecision
Senior Member

Enjoy!
8175 Posts
3/06
Posted - Mar 2 2009 : 12:21AM
Hmmmmm.....so what is the difference between the normal save dialog and the way this add-on does it? I've noticed this happens occasionally on other sites. Is it likely it's for the same reason?
I guess this is as good a time as any to ask if anyone knows of anything similar to this add-on that would be foolproof?
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Mar 2 2009 : 12:47AM
The save dialog must look at the media MIME type of the locally cached file and automatically appends the appropriate extension. The browser plug-in just saves the file as it's named in the HTML source.
Unfortunately, file extension naming conventions aren't universal. Different operating systems and programs may assign different extensions based on their own settings. That's why the save file dialog operates differently. That type of functionality is more closely tied to the operating system. The browser plug-in is most likely more generic since Firefox is designed to run on multiple platforms.
I would make a suggestion to the authors of the plug-in to expand their file saving/naming feature set. They might appreciate the suggestion.
Zoid
Senior Member

Boobies and Anal
2004 Posts
5/04
Posted - Mar 8 2009 : 8:31PM
That might be a good suggestion. From what I can tell, that plug-in seems to determine the extension by grabbing the portion of the url after the last dot. Obviously, that will not work here.
 
Drew Black
broken crankshaft

8009 Posts
9/99
Posted - Mar 8 2009 : 11:40PM
They should save it based on the MIME type supplied by the server. That would be the best method.



Jump To: