Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • So far, seems to be working perfectly! πŸ™‚

    Awesome! Thanks!

    Did you notice in the screenshot what happens when trying to create multiple thumbnails? 1 or 2 thumbnails are perfect, but some other ones are black: Screenshot This is at stage 2 and I’m not getting any errors in the console at this point.

    Clicking okay and moving onto stage 3, still didn’t get any console errors, but the images are saved β€”Β even the black ones. Clicked the debug button and got this: Pastebin.

    Hope that helps. πŸ™‚

    And then, trying to use the plugin on 3 different images:

    Screenshot

    Looks like one thumbnail got cropped correctly. The others… not so much.

    πŸ™‚

    Seems to work, 1 image at a time.

    Here we go:

    20130125 17:26:51 - [string] ===== STARTUP PHP MESSAGES =====
    20130125 17:26:51 - [string] ===== SERVER LOG =====
    20130125 17:26:51 - [string] [DEBUG] - PARAMETERS: Array
    (
        [action] => pte_ajax
        [pte-action] => launch
        [id] => 164
        [TB_iframe] => true
        [height] => 550
        [width] => 750
    )
    
    20130125 17:26:51 - [string] [WARNING] - Couldn't find or generate metadata for image: 164-large
    20130125 17:26:51 - [string] [DEBUG] - PTE-VERSION: 2.0.0-alpha
    20130125 17:26:51 - [string] [DEBUG] - USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:18.0) Gecko/20100101 Firefox/18.0
    20130125 17:26:51 - [string] [DEBUG] - WORDPRESS: 3.5.1
    20130125 17:26:51 - [string] [DEBUG] - SIZER: 0.40000000
    20130125 17:26:51 - [string] [DEBUG] - SIZES: Array
    (
        [thumbnail] => Array
            (
                [width] => 150
                [height] => 150
                [crop] => 1
                [current] => Array
                    (
                        [file] => goggles-150x150.jpg
                        [width] => 150
                        [height] => 150
                        [path] => 2012/11/goggles-150x150.jpg
                        [url] => http://localhost/PoolMaster/www/wp-content/uploads/2012/11/goggles-150x150.jpg
                    )
    
            )
    
        [medium] => Array
            (
                [width] => 300
                [height] => 300
                [crop] =>
                [current] => Array
                    (
                        [file] => goggles-300x225.jpg
                        [width] => 300
                        [height] => 225
                        [path] => 2012/11/goggles-300x225.jpg
                        [url] => http://localhost/PoolMaster/www/wp-content/uploads/2012/11/goggles-300x225.jpg
                    )
    
            )
    
        [large] => Array
            (
                [width] => 1024
                [height] => 1024
                [crop] =>
                [current] =>
            )
    
        [shop_thumbnail] => Array
            (
                [width] => 50
                [height] => 50
                [crop] => 1
                [current] => Array
                    (
                        [file] => goggles-90x90.jpg
                        [width] => 90
                        [height] => 90
                        [path] => 2012/11/goggles-90x90.jpg
                        [url] => http://localhost/PoolMaster/www/wp-content/uploads/2012/11/goggles-90x90.jpg
                    )
    
            )
    
        [shop_catalog] => Array
            (
                [width] => 150
                [height] => 150
                [crop] => 1
                [current] => Array
                    (
                        [file] => goggles-150x150.jpg
                        [width] => 150
                        [height] => 150
                        [path] => 2012/11/goggles-150x150.jpg
                        [url] => http://localhost/PoolMaster/www/wp-content/uploads/2012/11/goggles-150x150.jpg
                    )
    
            )
    
        [shop_single] => Array
            (
                [width] => 300
                [height] => 300
                [crop] => 1
                [current] => Array
                    (
                        [file] => goggles-300x300.jpg
                        [width] => 300
                        [height] => 300
                        [path] => 2012/11/goggles-300x300.jpg
                        [url] => http://localhost/PoolMaster/www/wp-content/uploads/2012/11/goggles-300x300.jpg
                    )
    
            )
    
    )
    
    20130125 17:26:51 - [string] ===== REFLOW =====
    20130125 17:26:51 - [string] WINDOW WIDTH: 2560

    I’m not sure where you’re at, but maybe we could connect via Skype to hash this out. Let me know.

    This is what I see when clicking the “Thumbnails” link:
    ReferenceError: log is not defined
    ReferenceError: pte is not defined.
    Screenshot

    I noticed this on the Thickbox Codex:

    Note: As of WordPress 3.5, the “Media” button for WordPress’s post editor no longer utilizes ThickBox, but instead uses a custom Javascript modal. ThickBox is still used for other WordPress components and may still be used by developers.

    Not sure if that really applies to your plugin, though.

    I uploaded/installed the alpha version of your plugin. Not sure how to disable thickbox, since this comes default with wordpress. When trying to use the alpha-version of the plugin, the lightbox (thickbox) pops up and I can’t get passed the loading screen. I noticed the red “DEBUG” in the right corner.

    Screenshot

    I guess my issue is different than @Sjeiti.

    This is what I’m using (locally):
    PHP Version 5.3.6
    OS X Snow Leopard
    Browser: Firefox 18.0.1

    On line 229 it reads:

    $size_information = pte_get_all_alternate_size_information( $id );

    When I click the “Thumbnails” link the Media Library to activate the Thickbox overlay, this is what I see:

    Screenshot

    Any other thoughts?

    I’m using Firefox.

    This is the exact error I’m getting:

    Notice: Use of undefined constant size_information – assumed ‘size_information’ in [shortened URL string]/wp-content/plugins/post-thumbnail-editor/php/functions.php on line 255

    I have Firebug installed and I’m not getting any JavaScript errors.

    Having the same issue. I changed that line of PHP to
    $logger->debug( "SIZES: " . print_r($size_information, true) );
    but nothing changed.

    I make my selection and click “Create Thumbnails” button. The loading icon comes up then goes away, but no success message and no change to the thumbnail I needed edited.

    Thoughts

    Thread Starter sdaweb

    (@sdaweb)

    If you have IE7,8 installed check out http://aircombat.com to see.

Viewing 13 replies - 1 through 13 (of 13 total)