Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 23

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 08.05.2004, 22:08   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Mamber
 
funkygoodtime's Avatar
 
Join Date: Apr 2004
Location: Itzehoe/Germany
Posts: 84
funkygoodtime will become famous soon enough
Default Keine Bilder im PDF

Okay...ich habe mich noch nie mit der PDF-Geschichte befasst. Kann mir jemand sagen, wie es kommen kann, dass in einem über MOS 4.5 erstellten PDF (ihr wisst schon: über den Button oben rechts) die Bilder nicht angezeigt werden?
__________________
It's all happening.
funkygoodtime is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08.05.2004, 22:38   #2 (permalink)
Mamber
 
manni's Avatar
 
Join Date: Apr 2004
Location: Germany
Posts: 65
manni is on a distinguished road
Send a message via ICQ to manni Send a message via AIM to manni Send a message via MSN to manni
Default Re: Keine Bilder im PDF

Bilder werden nicht unterstützt, es gibt jedoch irgendwo einen Hack, mit dem
man PDFs mit Bildern erstellen kann
manni is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.05.2004, 23:00   #3 (permalink)
Elite Mamber
 
descartes's Avatar
 
Join Date: Mar 2004
Location: Nürnberg
Posts: 1,021
descartes is on a distinguished road
Default Re: Keine Bilder im PDF

Hi,

PDF Hack: This Add-On makes it possible to have a PDF version of an article with images and tables. www.mamboportal.com

Gruss
__________________
Christian Hent - Moderator
Download XAMPPMambo now!
descartes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.05.2004, 23:50   #4 (permalink)
Mamber
 
funkygoodtime's Avatar
 
Join Date: Apr 2004
Location: Itzehoe/Germany
Posts: 84
funkygoodtime will become famous soon enough
Default Re: Keine Bilder im PDF

Ja...von dem Teil hatte ich schon mal gehört.

Auf meiner Seite werden Bilder auch ohne PDF-Hack angezeigt...nun habe ich aber jemand anderem Mambo aufgeschwatzt und bei dem werden die Bilder nicht einmal mit dem PDF-Hack angezeigt.

Irgend eine Servereinstellung? Das wäre der Teil, mit dem ich mich noch nie befasst habe.
__________________
It's all happening.
funkygoodtime is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.05.2004, 00:08   #5 (permalink)
Baby Mamber
 
Join Date: May 2004
Posts: 6
Joe Kolade is on a distinguished road
Default Re: Keine Bilder im PDF

Diese Problem habe ich bereits im Thread PDF und Bilder beschrieben, der leider unbeantwortet blieb.

Bleibt das Problem, dass es Mamboseiten gibt, bei denen offensichtlich ohne pdf-Hack Bilder in pdfs angezeigt werden, z.B. auch bei http://www.mambosolutions.com.

Ich tippe wie funkygoodtime auf bestimmte Servereinstellungen bzw. -konfigurationen.

Wer weiß mehr - oder noch besser: was genaues?

@descartes
Wieso antwortest Du im deutschen Forum in Englisch??

Gruss Joe

Last edited by Joe Kolade; 09.05.2004 at 11:32.
Joe Kolade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.05.2004, 15:11   #6 (permalink)
bon
Mamber
 
bon's Avatar
 
Join Date: Apr 2004
Posts: 61
bon is on a distinguished road
Default Re: Keine Bilder im PDF

Quote:
Originally Posted by funkygoodtime
Ja...von dem Teil hatte ich schon mal gehört.

Auf meiner Seite werden Bilder auch ohne PDF-Hack angezeigt...nun habe ich aber jemand anderem Mambo aufgeschwatzt und bei dem werden die Bilder nicht einmal mit dem PDF-Hack angezeigt.

Irgend eine Servereinstellung? Das wäre der Teil, mit dem ich mich noch nie befasst habe.
@funkygoodtime
wenn es bei dir funzt, wäre es schön mal eine phpinfo-ausgabe von deinem server zu sehen, dann kann man evtl. analysieren warum es bei anderen nicht geht. vielleicht kannst du es ja mir auch mal via pm senden, denn bei mir geht es auch mit 'hack' nicht und ich verstehe das nicht da der hack die fpdf-klassen einbindet und die sollten eigentlich überall laufen!
__________________

cu bon
bon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.05.2004, 21:49   #7 (permalink)
Mamber
 
funkygoodtime's Avatar
 
Join Date: Apr 2004
Location: Itzehoe/Germany
Posts: 84
funkygoodtime will become famous soon enough
Default Re: Keine Bilder im PDF

Hi,

Ich denke, pixelsoul hat die Lösung gefunden: PDFHack but still no images
__________________
It's all happening.
funkygoodtime is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10.05.2004, 11:32   #8 (permalink)
Baby Mamber
 
Join Date: May 2004
Posts: 6
Joe Kolade is on a distinguished road
Default Re: Keine Bilder im PDF

Der Tipp von pixelsoul bezieht sich auf pdf-hack. Auch der geänderte Code bringt eine Fehlermeldung; das pdf-Dokument kann erst gar nicht aufgerufen werden.

Das eigentlich erstaunliche bzw. interessante ist doch, dass bei einigen Mambo-Installationen pdf-Dokumente mit Bildern angezeigt werden - und zwar ohne pdf-hack.
Das lässt vermuten, dass es serverseitig Einstellungen geben muss, die ein "fehlerfreies" Anzeigen von pdfs ermöglichen.

Ich fände es klasse, wenn dieses Problem weiterverfolgt würde. Vielleicht hat auch der eine oder andere in diesem Forum einen Zugang zu den Programmierern.

Gruss Joe
Joe Kolade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 13:29   #9 (permalink)
Expert Mamber
 
lukewill's Avatar
 
Join Date: Apr 2004
Location: Germany
Posts: 475
lukewill is an unknown quantity at this point
RedCross Re: Keine Bilder im PDF

Hallo,

hier meine Forschungsergebnisse:

Soweit ich das sehe kann ohne pdf-hack kein Bild in einem Pdf angezeigt werden. Ganz sicher bin ich mir da bei Bildern die über {mosimage} eingefügt werden.

Mit Pdf-hack werden die über {mosimage} eingefügten Bilder im Pdf angezeigt, ggf. kann es da noch ein paar Probleme geben. An einer Stelle ist mit Sicherheit ein Programmierfehler und ein anderer Bereich kommt mir ganz merkwürdig vor. Ich habe deshalb den hack gehackt

Folgendes ist zu tun:

a) Ersetzen der Zeilen 78-83

PHP Code:
//Treat the images that directly in the HTML
preg_match_all('/<IMG.+\>/'$html$htmlimages);
for(
$zzz=0$zzz count($htmlimages); $zzz++) {
   
preg_match('/src=\"http:.+\"/'$htmlimages[0][0], $imagehtml);
   
$html str_replace($htmlimages[0][0], '<IMG '.$imagehtml[0].'>'$html);

b) durch den folgenden code
PHP Code:

// (L) BEGIN AREA add by lukewill
// (L) remove all LF and CR in html, you don't see but they are here:-)
$html str_replace("\n"""$html);
$html str_replace("\r"""$html);
// (L) remove [url]http://myserver.dom/my/mambo/dir/[/url] 
$html str_replace($mosConfig_live_site.'/'''$html);
// (L) only files on remote machies have a [url]http://something[/url] ... in src-tag
// (L) get all img-tag linking a remote image
preg_match_all('/<IMG.+?>/'$html$htmlimages);
// (L) remove the remote images
foreach($htmlimages[0] as $elm) {
    
$pos strpos(strtolower($elm),'http');
    if (
$pos !== false ) {
        
$html str_replace($elm''$html);
    }
}
//Treat the images that directly in the HTML
// (L) BUG: preg_match_all('/<IMG.+>/', $html, $htmlimages);
// (L) get all html-code behind the first > if html-code behind this and linefeed 
// (L) BUG FIXED (L) 12.05.2004
preg_match_all('/<IMG.+?>/'$html$htmlimages);
// (L) I don`t like the next rows, I think it is to complicated
//for($zzz=0; $zzz < count($htmlimages); $zzz++) {
//    preg_match('/src=\"http:.+\"/', $htmlimages[0][0], $imagehtml);
//    $html = str_replace($htmlimages[0][0], '<IMG '.$imagehtml[0].'>', $html);
//}
foreach($htmlimages[0] as $elm) {
    
preg_match('/src=\".+\"/'$elm$imagehtml);
    
$html str_replace($elm'<img '.$imagehtml[0].'>'$html);
}
// (L) END AREA add by Lukewill 
Ich hoffe, das funktioniert bei Euch bei mir geht´s . Ach, so Bilder die auf einem anderen Server liegen werden herausgeworfen.

VG L
__________________
- Viele Grüße - Best regards - Lukewill

Mambo e.V. |Das Mambobuch
lukewill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 14:12   #10 (permalink)
Mamber
 
manni's Avatar
 
Join Date: Apr 2004
Location: Germany
Posts: 65
manni is on a distinguished road
Send a message via ICQ to manni Send a message via AIM to manni Send a message via MSN to manni
Default Re: Keine Bilder im PDF

Es geht auch noch einfacher, mit HTMLdoc, ich werde demnächst ein Hack auf mosforge releasen, mit dem man HTMLdoc auch aug shared hosts einsetzen kann sowie eine binary für Linux bereitstellen, schaut die nächsten Tage mal auf mosforge, es lohnt sich ;-)
manni is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.mambers.com/mambo-4-5-allgemein/2830-keine-bilder-im-pdf.html
Posted By For Type Date
Gelöst: - PDF/Print/Mail editieren - Joomla CMS Support Forum This thread Refback 24.02.2008 18:33

Similar Threads
Thread Thread Starter Forum Replies Last Post
AkoGallery V2.1 beta 2 auf deutsch+nur2 Bilder pro reihe? Jimmyking Komponenten 17 12.05.2004 17:15
PDF und Bilder Joe Kolade Mambo 4.5 Allgemein 0 08.05.2004 16:45
wo sind die bilder bei AkoGallery V2.1 beta 2 chrimp Komponenten 4 10.04.2004 14:03
Bilder auf der Frontpage sind nicht da. mib1976 Mambo 4.5 Allgemein 6 09.04.2004 21:27
Bilder in der Kontakt-Komponente MamboMax Komponenten 2 07.04.2004 00:38


All times are GMT +2. The time now is 04:10.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.