• Resolved Gouri

    (@gouri)


    I am dying to use this plugin on one of my blogs. But it shows the error: header already sent. Can this be patched up somehow?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    I had the same problem, i because you get no answere, I fixed it by myself.

    How? I toke an older version, and replace same code.

    What you must do:

    Go to https://www.yourdomain.com/wp-content/plugins/wordpress-simple-website-screenshot/simplewebsitescreenshot.php

    Open this file.

    Replace the content i that file, with this file:

    <?php
    /*
    Plugin Name: WordPress Simple Website Screenshot
    Plugin URI: https://www.digg-it.info/wordpress-simple-website-screenshot-v-0-5
    Description: Make simple website screenshot via shortcode without watermark.
    Version: 0.5
    Author: Pigi
    Author URI: https://www.digg-it.info
    License: GPL2
    */

    /* Copyright 2010 Pigi (email : [email protected])

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    */

    require_once(‘screenshot_menu.php’);

    function screenshot($atts) {
    extract(shortcode_atts(array(
    “url” => ‘www.’
    ), $atts));

    extract(shortcode_atts(array(
    “width” => ‘width’
    ), $atts));

    extract(shortcode_atts(array(
    “height” => ‘height’
    ), $atts));

    $sc_default_width = get_option(‘default_width’);
    $sc_default_height = get_option(‘default_height’);

    return ‘
    <img src=”https://s.wordpress.com/mshots/v1/http%3A%2F%2F&#8217;.$url.'” width=”‘.$sc_default_width.'” height=”‘.$sc_default_height.'” border=”0″><bt />

    <hr>
    ‘;
    }

    add_shortcode(‘screenshot’, ‘screenshot’);
    ?>

    Maybe it is not a nice way, but before there is a solution, you can you it now.

    Have fun!

    Plugin Author Pigi_the_digg

    (@pigi_the_digg)

    I think the problem is in the new function for thumbnail. I’m working to fix this problem. sorry!

    Plugin Author Pigi_the_digg

    (@pigi_the_digg)

    Ok, bug fixed, tomorrow 100 % work version, with new features.

    Stay tuned

    Ok, we will wait for it.

    Thanks!

    Plugin Author Pigi_the_digg

    (@pigi_the_digg)

    it’s online, please let me know if you have any problems with the last version

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WordPress Simple Website Screenshot] Screenshot plugin shows the error- header already sent’ is closed to new replies.