• I have installed the latest version from your site. It converts my link to a gallery, but it doesn’t appear. After closer inspection, I see that the flash <object> tag is there but the height & width are set to “”. It may be because the ‘settings’ option does not appear on the plug-in’s page so I can’t set these values? An issue with WP 3.1 I guess.

    Thanks for an good plug-in, I’m sure its great when it works!

    Cheers,

    Ian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter zymotik

    (@zymotik)

    Hope this helps, from the post the link is on:

    Notice: Use of undefined constant PICASNA_MAXSIZE – assumed ‘PICASNA_MAXSIZE’ in \wp-content\plugins\picasna\picasna-functions.php on line 6

    Notice: Use of undefined constant PICASNA_THUMBSIZE – assumed ‘PICASNA_THUMBSIZE’ in \wp-content\plugins\picasna\picasna-functions.php on line 14

    Notice: Use of undefined constant PICASNA_COVERSIZE – assumed ‘PICASNA_COVERSIZE’ in \wp-content\plugins\picasna\picasna-functions.php on line 22

    Notice: Use of undefined constant PICASNA_COLOR – assumed ‘PICASNA_COLOR’ in \wp-content\plugins\picasna\picasna-functions.php on line 31

    Notice: Use of undefined constant PICASNA_COVERTITLE – assumed ‘PICASNA_COVERTITLE’ in \wp-content\plugins\picasna\picasna-functions.php on line 38

    Notice: Use of undefined constant PICASNA_BADGETYPE – assumed ‘PICASNA_BADGETYPE’ in \wp-content\plugins\picasna\picasna-functions.php on line 45

    Notice: Use of undefined constant PICASNA_UPDATE – assumed ‘PICASNA_UPDATE’ in \wp-content\plugins\picasna\picasna-functions.php on line 53

    Notice: Use of undefined constant PICASNA_CACHETIME – assumed ‘PICASNA_CACHETIME’ in \wp-content\plugins\picasna\picasna-functions.php on line 143

    Notice: Undefined offset: 1 in \wp-content\plugins\picasna\picasna-functions.php on line 275

    Notice: Undefined variable: noUpdate in \wp-content\plugins\picasna\picasna-functions.php on line 154

    Notice: Undefined variable: albumcover in \wp-content\plugins\picasna\picasna-functions.php on line 165

    Notice: Undefined variable: coverwidth in \wp-content\plugins\picasna\picasna-functions.php on line 167

    Notice: Undefined variable: coverheight in \wp-content\plugins\picasna\picasna-functions.php on line 167

    Notice: Undefined variable: coverwidth in \wp-content\plugins\picasna\picasna-functions.php on line 167

    Notice: Undefined variable: coverheight in \wp-content\plugins\picasna\picasna-functions.php on line 167

    Notice: Undefined variable: coverwidth in \wp-content\plugins\picasna\picasna-functions.php on line 167

    Notice: Undefined variable: coverheight in \wp-content\plugins\picasna\picasna-functions.php on line 167

    Thread Starter zymotik

    (@zymotik)

    Fixed most of the undefined constants by adding single quotes to the defined function in the picasna-functions.php file, ie:

    if (!defined(PICASNA_MAXSIZE)){

    with:

    if (!defined(‘PICASNA_MAXSIZE’)){

    Thread Starter zymotik

    (@zymotik)

    Added missing script to top of picasna-function.php:

    if (!defined(‘PICASNA_CACHETIME’)){
    $picasna_cachetime = (int) get_option( PICASNA_OPTION . ‘cachtime’ );
    define(‘PICASNA_CACHETIME’, $picasna_cachetime);
    }

    Thread Starter zymotik

    (@zymotik)

    Added to line 170 of picasna-functions.php:

    if ($coverwidth == 0) {$coverwidth =144;}
    if ($coverheight == 0) {$coverheight =144;}

    Fixed/Botched for now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Picasna] Width & Height Not Set’ is closed to new replies.