Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

[CLOSED] How to open jpeg2000 files

  • 12 απαντήσεις
  • 2 έχουν αυτό το πρόβλημα
  • 51 προβολές
  • Τελευταία απάντηση από PatGuano

more options

I seem unable to adapt the firefox configuration to make it call an external graphics-viewer for jpeg2000 files. More exactly, I cannot even locate any configuration option which permitted me to name such an external program.

Those mime-type settings available, do not cover jpeg2000 and there appears to be no way to add something. The only option I have right now, is to save each and every jpeg2000 image, that I am interested in and call the viewer application explicitly.

The plug-ins, which were once available stopped working and there is no other working solution to be found anywhere.

No matter how this question is dealt and irrespective of your certainly helpful advice, I will not call this situation anywhere near "acceptable". I love free software and I love firefox. But I do not stop to give it a kick in the ?³$@#·µ, when I feel like it.

I seem unable to adapt the firefox configuration to make it call an external graphics-viewer for jpeg2000 files. More exactly, I cannot even locate any configuration option which permitted me to name such an external program. Those mime-type settings available, do not cover jpeg2000 and there appears to be no way to add something. The only option I have right now, is to save each and every jpeg2000 image, that I am interested in and call the viewer application explicitly. The plug-ins, which were once available stopped working and there is no other working solution to be found anywhere. No matter how this question is dealt and irrespective of your certainly helpful advice, I will not call this situation anywhere near "acceptable". I love free software and I love firefox. But I do not stop to give it a kick in the ?³$@#·µ, when I feel like it.

Τροποποιήθηκε στις από το χρήστη PatGuano

Επιλεγμένη λύση

That's normal, because as I said previously, the MIME type sent by the server is WRONG. Your server is sending the file as binary file (.exe or similar) and Firefox forbids to open/execute directly a binary file, you need to download it. You have to set your server to send the MIME type image/jp2. If you server is Apache, open .htaccess and add AddType image/jp2 .jp2

Ανάγνωση απάντησης σε πλαίσιο 👍 2

Όλες οι απαντήσεις (12)

more options
more options

"There is little you can do in these cases because the problem is at the server end. "

I want to state once and for all, that a document leading me to the above result is not helping, it is not an instruction which lets me advance towards a solution to my problem and it is useless to point me there in the first place.

I might try to describe the problem once again, a little shorter, maybe more direct and I beg you to adapt your answers accordingly:

A file, that I know well enough to determine its content/Mime-type myself cannot be opened in Firefox, because Firefox (not the server) does not let me choose an application to open it. Several files of such kind are linked on one and the same web-page and still I am dead-certain, that I have all the software needed to display them. But Firefox does not offer a single option to call that software upon clicking on one of the respective links.

It is not the server. And there was a time, when the fact that a file is of binary content did not prevent me from opening it in no matter which application. I can destroy my own systems in many ways, and it is not in the responsibility of my web-browser to hinder me.

Thank you.

P.S. It is of no additional value at all with respect to my previous writing, but I just want to add that any attempt to open a jpeg2000 file locally (not downloading it from a server) does also not work in Firefox. Clicking on the file-name will have Firefox freeze (no user-action is possible whatsoever) for a considerable time, before ... nothing happens. You stare at the same file-list and not a single (useless) dialog has popped up.

This is Firefox 9.0.1 by the way.

Τροποποιήθηκε στις από το χρήστη PatGuano

more options

Provied a link with JPEG2000 file to download, please. If Firefox doesn't offer an option to choose an application to open the file, it's likely because the MIME type sent by the server is bad or missing. And for the record: Bug 36351 - Support the jpeg2000 (jp2k) format

Τροποποιήθηκε στις από το χρήστη Oxylatium

more options

"Whatever the merits and demerits of jp2k, I think we can agree that it cannot be considered a stability improvement that might be worth including in a 4.0.x release for that reason." (2010-10-24)

I am asking for a possibility to open an external graphics-viewer.

And I just know, that the Mime-Type is transferred incorrectly by an arbitrary amount of web-servers.

I close this discussion as solved, even if t is not, with my final words:

I do not care what the received data looks like. I KNOW the file and I KNOW which software will handle it.

more options

Because you know the file and you know which software is able to handle it DOES NOT imply Firefox knows the file and knows which software is able to handle it.

And as I said, your server is surely bad configured, I tried to open 2 JPEG2000 files and Firefox let me the choice to open or save the file. With .J2K extension: http://i.imgur.com/kktAa.jpg With .JP2 extension: http://i.imgur.com/fELIQ.jpg

more options

I want to tell Firefox what to do. Why is that a bad idea?

Stop. It is not a bad idea and I do not really ask that question.

Τροποποιήθηκε στις από το χρήστη PatGuano

more options

Try to test with a new Firefox profile, that can help in many cases (Windows+R > firefox.exe -P)

more options

I am still using Linux. But anyway, I created a new profile with the profile-manager and can present you with the attached screen-shot.

Which does not show anything new to me.

Let us give it up. Firefox is not meant to open arbitrary applications, like ... e.g. any other browser, like Opera in the second screen-shot.

Τροποποιήθηκε στις από το χρήστη PatGuano

more options

Επιλεγμένη λύση

That's normal, because as I said previously, the MIME type sent by the server is WRONG. Your server is sending the file as binary file (.exe or similar) and Firefox forbids to open/execute directly a binary file, you need to download it. You have to set your server to send the MIME type image/jp2. If you server is Apache, open .htaccess and add AddType image/jp2 .jp2

more options

As I do not have a server and am only using a web-hosting service, I have up to this point in time been unaware of this possibility.

The last time, that I tried to alter an .htaccess file, my hoster warned me to leave the file alone.

I guess that from now on I will just not ask any more.

Oxylatium, I thank you for your patience. Anyway, I beg the maintainers of the documentation, which was recommended in the very first answer to my question, to add this very information.

"There is little you can do in these cases because the problem is at the server end. " has no right of existence in this document.

PLUS: Opera does a better job, anyway. Cheerio.

Τροποποιήθηκε στις από το χρήστη PatGuano

more options

Web hosting without the possibility to modify .htaccess file? So it's time to choose another one, really. Your issue about server sending bad MIME is common, and can be observed in many cases, like with HTML5 videos where the .ogv MIME type is not registered. Deal with it.

more options

It may be, that I have already chosen a better hosting-service in the meantime, as I could effectuate the necessary modification. Having uploaded an older .htaccess-file without further thinking about it, together with my web-site, I already knew, that the settings had been honored.

But as I am not an Apache-guy, the significance of the content-type setting in .htaccess has been new to me.

Okay. For the record:

  1. Firefox does not allow to open binary files in arbitrary applications (like Opera does) and full stop.
  1. Based on the filename-extension, a content-type setting can be imposed by means of the AddType command in the .htaccess file in the root-folder of a web-site.
  1. A different approach has to be chosen to explain this to the users of the firefox-browser, as the existing documentation is misleading.
  1. creating numerated lists in this embedded editor is cumbersome.

Edits: Some Kraut2English conversion.

Τροποποιήθηκε στις από το χρήστη PatGuano