Badcaps.net Forum
Go Back   Badcaps Forums > General Topics > General Computer Discussion
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools Display Modes
Old 02-06-2019, 01:41 PM   #1
redwire
Badcaps Veteran
 
Join Date: Dec 2010
City & State: Alberta
My Country: Canada
Posts: 1,315
Default "Save Image As" I always get a 25KB .jpg that is HTML

In my browser, when I right click "Save Image As" I always get a 25KB .jpg file saved. It's not .jpg I can't open it.
The file is actually Badcaps HTML

I'm using Firefox 61.0.1 with Adblock plus and Ublock Origin. Turning them off does not change anything.

Any ideas why right click saving an image, saves HTML with JPEG filename ?
redwire is offline   Reply With Quote
Old 02-06-2019, 01:46 PM   #2
Per Hansson
Super Moderator
 
Per Hansson's Avatar
 
Join Date: Jul 2005
City & State: ----
My Country: Sweden
Line Voltage: 230v 50Hz
I'm a: Knowledge Seeker
Posts: 4,266
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Works fine here using Opera.
You could try to rightclick the image and open that in a new tab.
What I suspect happening is the addon we use to auto-resize images is somehow interfering.
But I have never seen such an issue myself with it...
__________________
"The one who says it cannot be done should never interrupt the one who is doing it."
Per Hansson is offline   Reply With Quote
Old 02-06-2019, 01:55 PM   #3
Curious.George
Badcaps Veteran
 
Join Date: Nov 2011
Posts: 1,310
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Quote:
Originally Posted by redwire View Post
In my browser, when I right click "Save Image As" I always get a 25KB .jpg file saved. It's not .jpg I can't open it.
The file is actually Badcaps HTML

Any ideas why right click saving an image, saves HTML with JPEG filename ?
What (exactly) are you right-clicking on? E.g., if you right-click on the "dunno" GIF that you included in your post, you should end up with a "dunno.gif" being saved as the "image". If you right-click on the "BADCAPS.NET FORUM" image atop these pages, you should get a "badcaps-banner-3.jpg" as the image being saved. The same should apply to the thumbnails in posts.
Curious.George is offline   Reply With Quote
Old 02-06-2019, 01:55 PM   #4
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,188
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

might be right clicking in the wrong hotspot or there's some evil html going on there that could tell that you're using a context menu and prohibiting download with the easiest possible save-as...

Which image?
eccerr0r is offline   Reply With Quote
Old 02-06-2019, 03:16 PM   #5
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 20,895
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

what usually works is right click and "save linked content as"
stj is offline   Reply With Quote
Old 02-06-2019, 03:20 PM   #6
R_J
Badcaps Veteran
 
Join Date: Jun 2012
City & State: ☻
My Country: Canada
I'm a: Professional Tech
Posts: 4,214
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Try firefox in safe mode, restart with addons disabled, see if that works
R_J is offline   Reply With Quote
Old 02-06-2019, 04:21 PM   #7
petehall347
Badcaps Veteran
 
Join Date: Jan 2015
City & State: worcester
My Country: United Kingdom
I'm a: Knowledge Seeker
Posts: 1,733
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

check what is says in bottom left after clicking save image .
petehall347 is offline   Reply With Quote
Old 02-07-2019, 10:41 PM   #8
redwire
Badcaps Veteran
 
Join Date: Dec 2010
City & State: Alberta
My Country: Canada
Posts: 1,315
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Click on Badcaps post that has an attachment: https://www.badcaps.net/forum/attach...5&d=1548445387

"Save Image As": get a wrong 25KB HTML file

"View Image Info":
Background: chrome://global/skin/media/imagedoc-darknoise.png
Image: https://www.badcaps.net/forum/attach...5&d=1548445387
Size: 24.06KB
Dimensions: 24px 24px (scaled to 1,000px 750px)

"Save Link As": works OK !


I'm not sure why. The browser seems to have a bug, it took me an hour to disable FF privacy crap settings so I don't look like I'll reinstall it.
I disabled the two add-ons but no difference.
redwire is offline   Reply With Quote
Old 02-07-2019, 10:57 PM   #9
Curious.George
Badcaps Veteran
 
Join Date: Nov 2011
Posts: 1,310
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Quote:
Originally Posted by redwire View Post
Click on Badcaps post that has an attachment: https://www.badcaps.net/forum/attach...5&d=1548445387

"Save Image As": get a wrong 25KB HTML file
I right-clicked on the above link and "Open Link in a new Tab". This displayed a photo. Cursor shows a magnifying glass with an encircled "+"). I then right-clicked on that photo and "Save Image As" gave me a 667KB file called "20190125_182340.jpg" (which was probably the name of the original file uploaded)

If you open (in your browser) the "25KB HTML file", what do you see? If you open it in Notepad, what does it say?
Curious.George is offline   Reply With Quote
Old 02-08-2019, 12:15 PM   #10
Per Hansson
Super Moderator
 
Per Hansson's Avatar
 
Join Date: Jul 2005
City & State: ----
My Country: Sweden
Line Voltage: 230v 50Hz
I'm a: Knowledge Seeker
Posts: 4,266
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Tried here now with latest Firefox too, works fine...
Per Hansson is offline   Reply With Quote
Old 02-10-2019, 12:18 PM   #11
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,188
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Works for me (Firefox 60.something ESR, Linux)

Attach the file you got?
eccerr0r is offline   Reply With Quote
Old 02-10-2019, 07:33 PM   #12
captainKKK
Senior Member
 
Join Date: Sep 2018
City & State: Katy, Texas
My Country: United States
Line Voltage: Low
I'm a: Knowledge Seeker
Posts: 104
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Just set the correct DEFAULT programs and it should work ok, or the browser addons got you.
Open Default Programs by clicking the Start button. ...
Click Associate a file type or protocol with a program.
Click the file type or protocol that you want the program to act as the default for.
Click Change program.

Last edited by captainKKK; 02-10-2019 at 07:35 PM..
captainKKK is offline   Reply With Quote
Old 02-12-2019, 06:16 PM   #13
redwire
Badcaps Veteran
 
Join Date: Dec 2010
City & State: Alberta
My Country: Canada
Posts: 1,315
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

It happens on other websites, "Save Image As" generates an image filename .jpg or .png - but the file is not an image file, it is HTML.

Unable to upload two image saves from Badcaps threads as they are not a valid image file. so I made zip file. Open with a text editor.

.jpg .png is associated to Windows Photo Viewer.

FF Web console inspector after clicking on an image:
<img src="https://www.badcaps.net/forum/attachment.php?attachmentid=190663&d=1550017639" alt="https://www.badcaps.net/forum/attachment.php?attachmentid=190663&d=1550017639" class="shrinkToFit" width="389" height="693">

I think Firefox is corrupted somewhere. I will mess around more.
Attached Files
File Type: zip Screenshot_2019-02-12-17-25-41.zip (12.9 KB, 6 views)

Last edited by redwire; 02-12-2019 at 06:19 PM..
redwire is offline   Reply With Quote
Old 02-17-2019, 08:13 AM   #14
Curious.George
Badcaps Veteran
 
Join Date: Nov 2011
Posts: 1,310
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

Quote:
Originally Posted by redwire View Post
It happens on other websites, "Save Image As" generates an image filename .jpg or .png - but the file is not an image file, it is HTML.
Find a JPEG on your computer. Verify it is a valid JPEG by double-clicking on it (which will probably have Windows Photo Viewer open it). Write down the complete path to that file.

Now, in your browser, type:
file:///path_name_to_file
(Note that there are THREE slashes, there)

So, if the file was on user Fred's desktop, that would be something like:
file:///C:/Users/Fred/Desktop/filename.jpg
You should see the JPEG displayed in your browser.

Now, try right-clicking on it and doing the "Save Image As..." trick to see how THAT works.
Curious.George is offline   Reply With Quote
Old 02-20-2019, 11:14 AM   #15
eccerr0r
Solder Sloth
 
eccerr0r's Avatar
 
Join Date: Nov 2012
City & State: CO
My Country: USA
Line Voltage: 120VAC 60Hz
I'm a: Hobbyist Tech
Posts: 4,188
Default Re: "Save Image As" I always get a 25KB .jpg that is HTML

The downloaded file looks like the framing html, as if somehow it was saving page as instead of saving the image... hmm...quite strange. At least it's not downloading some other third party html unrelated to BCN.
eccerr0r is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums 2003 - 2019
Powered by vBulletin ®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 11:49 PM.
Did you find this forum helpful?