Bug-Tracker seems to be down (or empty, to be more exact).
Already posted in the forum, but maybe is here the better place.
Tested with V2.0.6. Problem arises, if PHPMyFAQ is installed to subfolder of webserver/domain.
I don't know, if this has been fixed. Fix for 2.0.6 and above may be:
AddImage method in Pdf.php in inc\PMF_Export:
Change
Code:
if ('http' != substr($image, 0, 4)) {
// Please note that the image must be accessible by HTTP NOT ONLY by HTTPS
$image = 'http://'.$_SERVER['HTTP_HOST'].$image;
}
to
Code:
if ('http' != substr($image, 0, 4)) {
// Please note that the image must be accessible by HTTP NOT ONLY by HTTPS
$image = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'.$image;
}
($image line only)
Explanation: If an image isn't fully referenced (incl. http), "http" and the domain will be added to the path. If you use PHPMyFAQ in a subfolder, this folder won't get added to the path. tinyMCE itself uses a relative path excluding the PHPMyFAQ subfolder, so the subfolder is always missing.
Regards,
HerrB
V2.0.6: Images are not added to PDF
Moderator: Thorsten
Hi,
thanks for the hint. The fix will be included in phpMyFAQ 2.0.10.
bye
Thorsten
thanks for the hint. The fix will be included in phpMyFAQ 2.0.10.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 45
- Joined: Fri Jun 08, 2007 6:49 pm
- Contact:
Gif Images in 2.0.10 funktionieren nicht
Hallo Thorsten,
ich habe die PDFs meinerseits kontrolliert. PNG sowie JPG Typen werden einwandfrei in PDF's angezeigt. Allerdings scheint es mit den GIF Typen nicht zu gehen.
Ist dem so??
Gruss Ivan
ich habe die PDFs meinerseits kontrolliert. PNG sowie JPG Typen werden einwandfrei in PDF's angezeigt. Allerdings scheint es mit den GIF Typen nicht zu gehen.
Ist dem so??
Gruss Ivan
Hi,
ja, GIFs werden nicht unterstützt.
bye
Thorsten
ja, GIFs werden nicht unterstützt.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist