Re: Hilfe bei der Integration von IIPImage in Zope
Michael Graf <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
Bei mir kommt bei beiden eine fehlermeldung: "No response from server http://urts173.uni-trier.de/fcgi-bin/iipsrv.fcgi" lg -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Christoph Wick Gesendet: Mittwoch, 20. Oktober 2010 15:50 An: [email protected] Betreff: [dzug-zope] Hilfe bei der Integration von IIPImage in Zope Hallo, ich habe Probleme bei der Integration von IIPImage (http://iipimage.sourceforge.net/) in Zope. Und zwar geschieht es im Moment über ein Python-Skript, das folgendermassen aussieht: from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE code = '' code = code + '<?xml version="1.0" encoding="UTF-8"?>\n' code = code + '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\n' code = code + ' "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n' code = code + '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >\n' code = code + ' <head>\n' code = code + ' <meta name="author" content="Ruven Pillay <[email protected]>"/>\n' code = code + ' <meta name="keywords" content="IIPImage Ajax Internet Imaging Protocol IIP Zooming Streaming High Resolution Mootools"/>\n' code = code + ' <meta name="description" content="IIPImage: High Resolution Remote Image Streaming Viewing"/>\n' code = code + ' <meta name="copyright" content="© 2003-2008 Ruven Pillay"/>\n' code = code + ' <link rel="stylesheet" type="text/css" media="all" href="http://urts55.uni-trier.de/mooviewer/css/iip.compressed.css" />\n' code = code + ' <link rel="shortcut icon" href="http://urts55.uni-trier.de/mooviewer/images/iip-favicon.png" />\n' code = code + ' <title>IIPMooViewer 1.1 :: IIPImage High Resolution Ajax Image Streaming Viewer</title>\n' code = code + " <script type=\"text/javascript\" src=\"http://urts55.uni-trier.de/mooviewer/javascript/mootools-1.2-core-compressed.js\"></script>\n" code = code + " <script type=\"text/javascript\" src=\"http://urts55.uni-trier.de/mooviewer/javascript/mootools-1.2-more-compressed.js\"></script>\n" code = code + " <script type=\"text/javascript\" src=\"http://urts55.uni-trier.de/mooviewer/javascript/iipmooviewer-1.1-compressed.js\"></script>\n" code = code + " <script type=\"text/javascript\">\n" code = code + " // The iipsrv server path (/fcgi-bin/iipsrv.fcgi by default)\n" code = code + " var server = \"http://urts173.uni-trier.de/fcgi-bin/iipsrv.fcgi\";\n" code = code + " // The *full* image path on the server. This path does *not* need to be in the web\n" code = code + " // server root directory. On Windows, use Unix style forward slash paths without\n" code = code + " // the \"c:\" prefix\n" code = code + " var images = \"/home/wick/images/img001px.tif\";\n" code = code + " // Copyright or information message\n" code = code + " var credit = \"© copyright or information message\";\n" code = code + " // Create our viewer object - note: must assign this to the 'iip' variable.\n" code = code + " // See documentation for more details of options\n" code = code + " iip = new IIP( \"targetframe\", {\n" code = code + " image: images,\n" code = code + " server: server,\n" code = code + " credit: credit,\n" code = code + " zoom: 1,\n" code = code + " render: 'random',\n" code = code + " showNavButtons: true\n" code = code + " });\n" code = code + " </script>\n" code = code + " </head>\n" code = code + " <body>\n" code = code + " <div style=\"width:99%;height:99%;margin-left:auto;margin-right:auto\" id=\"targetframe\"></div>\n" code = code + " </body>\n" code = code + "</html>\n" return code Das Problem ist, dass IIPImage nicht auf demselben Server läuft, sondern auf einem anderen Server unserer Einrichtung. Dies soll auch nicht geändert werden. Wenn ich den durch das Skript generierten Quellcode in eine HTML-Datei kopiere und diese aufrufe, funktioniert alles wie "geschmiert" (http://urts55.uni-trier.de/mooviewer/pic.html). Aber in Zope funktioniert es leider nicht. (vgl. http://urts173.uni-trier.de:9673/hhp_test/iiptestcw). Hat irgendjemand eine hilfreiche Idee? Ich habe übrigens festgestellt, dass der Internet Explorer die Zope-Seite anzeigt, allerdings fehlen hier ein paar Icons. Die Funktionen sind aber alle vorhanden. Vielen Dank für alle Hinweise. CW _______________________________________________ zope mailing list [email protected] https://mail.dzug.org/mailman/listinfo/zope ________________________________ Diese Nachricht erhalten Sie von einem IMC Mitarbeiter. Allfallige angehängte Dokumente sind vertraulich und nur für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat sein, ist jede Offenlegung, Weiterleitung oder sonstige Verwendung dieser Information nicht gestattet. In diesem Fall bitten wir, den Absender zu verstandigen und die Information zu vernichten. Für Übermittlungsfehler oder sonstige Irrtumer bei Übermittlung besteht keine Haftung. This message is being transmitted by an IMC employee. Any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission. Informationspflicht nach §14 UGB: IMC Fachhochschule Krems GmbH Piaristengasse 1, A-3500 Krems Austria, Europe ATU: 37552304 Firmenbuchnummer: 79297 p Firmenbuchgericht: Landesgericht Krems an der Donau DVR: 0798771 Fachgruppe Unternehmensberatung _______________________________________________ zope mailing list [email protected] https://mail.dzug.org/mailman/listinfo/zope