Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter pinoyswimming

    (@pinoyswimming)

    Plugin Author Pat Hawks

    (@pathawks)

    What is <!-- wpnl -->?

    It looks like you have another plugin that is interfering with the display of the PDF. This, I think, is what is causing the issue with whitespace.

    The “Unable to display PDF” message should not appear at all because, obviously, the PDF is displayed right above it.

    Hi.

    Also happened to me the same.

    After last update of Embed PDF a big blank white space appeared at bottom of the post …

    Thread Starter pinoyswimming

    (@pinoyswimming)

    and how did you solve it @geekviseu?

    @pat Hawks, plugins are all the same.. nothing has been added.. it worked before, but it’s no longer working now.. ??

    Is not solved.

    I’m just reporting.

    Plugin Author Pat Hawks

    (@pathawks)

    I am telling you that the problem is the <!-- wpnl --> tags that are being inserted into the plugin’s output.

    I do not know where they are coming from. If you do not know where they are coming from either, then there is nothing left that can be done.

    I solve it:

    Edit dirtysuds-embed-pdf/embed.php

    And open and close comment in

    $embed .= ‘>’.

    /*
    ‘<div style=”width:’.$width.’;height:’.$height.’;text-align:center;background:#fff;color:#000;margin:0;border:0;padding:0″>Dont see PDF ?Click here</div>’.
    */

    @geekviseu:

    If you dont have any idea what you do DONT POST STUPID ADVICES LIKE THAT.

    @all others:
    if you do what he say it will break your site giving you this error:

    Parse error: syntax error, unexpected end of file in /sites/XXXXX/wp-content/plugins/dirtysuds-embed-pdf/embed.php on line 113

    You only have acces then to your site again if you directly edit your page via ftp, web-ftp or shell

    @losing_weight
    STUPID is who don’t know how express it self in community and use a type of low language.

    I only share a solution to a problem, that works for me.

    I repeat the changes i made :

    $embed .= '>'.
    /*		'<div style="width:'.$width.';height:'.$height.';text-align:center;background:#fff;color:#000;margin:0;border:0;padding:0">N?o vê o PDF ?<a href="'.$url.'">Click Here</a></div>'.
    */
    		'</object>'.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘White Blank Space below the PDF File’ is closed to new replies.