+ Reply to Thread
Results 1 to 4 of 4

Thread: PDFExport and images

Share/Bookmark
  1. #1
    Junior Member reilmb is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    11
    Rep Power
    2

    Bash the Wall! PDFExport and images

    I cant get images to work in PDFExport and htmldoc

    I am behind a firewall , and using ssl on the page. I did look at the discussions and found the following excerpt.
    Add
    global $wgUploadPath;
    global $IP;
    and change
    # $bhtml = str_replace ($wgScriptPath, $wgServer . $wgScriptPath, $bhtml);
    # $bhtml = str_replace ('/w/',$wgServer . '/w/', $bhtml);
    $bhtml = str_replace ($wgUploadPath, $IP.$wgUploadPath.'/', $bhtml);

    But obviously behind a firewall the $IP thing wont work. After the changes there is at least a blank spot on the pdf where the image should be but unfortunately the image just isnt making it. Any thoughts any help any reply?

  2. #2
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,418
    Rep Power
    10

    Default

    $IP is "install path", not "internet protocol". It contains the location where your wiki is installed.

    You can output the values of those variables with error_log() to see what they actually contain.
    Private message are for private information. Please post public questions. Thanks

  3. #3
    Junior Member reilmb is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    11
    Rep Power
    2

    Default PDFExport and images

    Quote Originally Posted by Michael Daly View Post
    $IP is "install path", not "internet protocol". It contains the location where your wiki is installed.

    You can output the values of those variables with error_log() to see what they actually contain.
    Doh. Thanks for that. Unfortunately I still don't see why the images dont show up.In all cases the images do not show and in some cases the formating is all wrong.

    https://cabig-kc.nci.nih.gov/Biospec....php/Main_Page

    Is there something inherent in the pdfexport that it doesnt format well?

  4. #4
    Super Moderator Michael Daly will become famous soon enough Michael Daly will become famous soon enough Michael Daly's Avatar
    Join Date
    May 2006
    Location
    Homeless and OTR, Canada
    Posts
    4,418
    Rep Power
    10

    Default

    I don't know. However, when I tried to see the page as PDF, Adobe Reader said that there's an error on the page and to contact, well, you .

    There's a chance that the versions don't match. You've got MW 1.13 and the extension is for 1.14. Since there are no older versions readily available (as there are for MW SVN hosted extensions), you may need to upgrade the wiki to 1.14. That isn't as hard or risky as it might seem to some as long as you follow the instructions.
    Private message are for private information. Please post public questions. Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. images
    By Dikkie Dik in forum WikiWorld
    Replies: 1
    Last Post: May 6th, 2009, 21:28
  2. images in /images/ folder do not load
    By Culinary Wiki in forum MediaWiki General Discussion
    Replies: 12
    Last Post: April 21st, 2009, 09:05
  3. Images...grouping in an article to show groups of images...
    By emd212 in forum MediaWiki General Discussion
    Replies: 2
    Last Post: April 4th, 2009, 20:16
  4. PdfExport and IE
    By reilmb in forum Installation
    Replies: 0
    Last Post: March 3rd, 2009, 16:23
  5. images
    By omgland in forum MediaWiki General Discussion
    Replies: 3
    Last Post: November 8th, 2008, 20:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts