Linux Lite Forums

Full Version: Trouble viewing d/l'ed pics
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to save a few pics from the mighty web.  They save fine but I can't view them.  The viewer says, "Error interpreting JPEG image file (Not a JPEG file: starts with 0x3c 0x21)".  The file properties show the pic name as: DCF1020.jpeg meaning it's a .jpeg.  Both the thumbnail and the pic in the viewer just shows a red circle with a line through it.

What gives?  How do I fix this?  I'm trying to d/l some legit pics of some old friends.
Perhaps you could give us a link to one of the pics to try on our LL.
Sure.  Here ya go.  Pic just about any random pic, right click on it to d/l it, then go to the file manager and try to look at it.  I get maybe 1 in 20 that save correctly.

http://www.fiero.nl/forum/Forum6/HTML/036133-117.html
Every picture I have tried so far works fine. Where are you saving them to?
More on a side note:

(04-09-2015, 10:39 AM)Monkeyman link Wrote: [ -> ]The file properties show the pic name as: DCF1020.jpeg meaning it's a .jpeg.

The file extension on Linux is a lot more flexible. If you run in a terminal
Code:
file <name_of_your_file>
you will see what the system assumes what type of file it is. On Linux you can easily rename for example a jpg file to txt. The system (run file on it) will still recognize it as jpg. The use of extensions to open the file in a certain application is a different story though.
You got me a little lost, my friend, but no matter.  It still does it randomly.  Sometimes, I can save a pic just fine.  Other time, I can't.
Sorry Monkeyman,

I know that was no solution to your problem. Therefore I said "side note"... and wanted to clarify that concluding from a file name (esp. the extension) to the type of the file is not always correct Smile And Linux is smart enough to know Wink

I just had a look at that website you posted in the attempt to be of more help to you.
Hm, I only can see "Click and discover Imageshack." And there is nothing to click on, too. Or "Image was deleted or moved. Picturetrail.com".
Except one single pic of a birthday girl that downloaded just fine...

Have you tried downloading pics on the command line, for example with wget? Right click on the pic and choose "Copy Image Location" and use it like this in a termnal:
Code:
wget <link to pic_location>
Once in a awhile, a default application does not, open a file I force it open in another program.  In your case, firefox, gimp, image viewer (probably default), LO, and other programs all open image files.
Start one of those program.  Then file -> open + navigate to where you saved the jpeg files and see what happen.  For images, I found gimp almost always work.

Sheng-Chieh
LL-user --- I'll try that.

shengchieh --- I've tried opening them in Gimp.  If it doesn't show in the picture viewer, it doesn't show in Gimp.