Title: [Plugin: Post Thumbnail Editor] Troubleshooting &#8211; error message when resize
Last modified: August 20, 2016

---

# [Plugin: Post Thumbnail Editor] Troubleshooting – error message when resize

 *  [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/)
 * Hi there,
 * I have installed the pluggin as normal and now when i try to use it i get an 
   error message, it seems that i’m doing everythng right but i get this when i 
   generate the resizing.
    Please look below.
 * Could someone help me on this please, i’ll really appreciate, thanx.
 * 20111028 22:52:04 – [string] ===== STARTUP PHP MESSAGES =====
    20111028 22:52:
   04 – [string] ===== SERVER LOG ===== 20111028 22:52:04 – [string] [DEBUGGER] –
   PARAMETERS: Array ( [action] => pte_ajax [pte-action] => launch [id] => 267 [
   TB_iframe] => true [height] => 550 [width] => 750 )
 * 20111028 22:52:04 – [string] [DEBUGGER] – USER-AGENT: Mozilla/5.0 (Macintosh;
   Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
    20111028 22:52:04–[
   string] [DEBUGGER] – WORDPRESS: 3.2.1 20111028 22:52:04 – [string] [DEBUGGER]–
   SIZER: 0.46082949 20111028 22:52:04 – [string] [DEBUGGER] – META: Array ( [width]
   => 868 [height] => 287 [hwstring_small] => height=’42’ width=’128′ [file] => 
   2011/10/tatooisme.png [sizes] => Array ( [thumbnail] => Array ( [file] => tatooisme-
   150×150.png [width] => 150 [height] => 150 )
 *  [medium] => Array
    ( [file] => tatooisme-300×99.png [width] => 300 [height] 
   => 99 )
 *  )
 *  [image_meta] => Array
    ( [aperture] => 0 [credit] => [camera] => [caption] =
   > [created_timestamp] => 0 [copyright] => [focal_length] => 0 [iso] => 0 [shutter_speed]
   => 0 [title] => )
 * )
 * 20111028 22:52:06 – [string] ===== REFLOW =====
    20111028 22:52:06 – [string]
   ===== FIXING THICKBOX ===== 20111028 22:52:06 – [string] THICKBOX: 670 x 625 
   20111028 22:52:06 – [string] WINDOW WIDTH: 780 20111028 22:52:06 – [string] =
   ==== REFLOW ===== 20111028 22:52:06 – [string] ===== FIXING THICKBOX ===== 20111028
   22:52:06 – [string] WINDOW WIDTH: 780 20111028 22:52:08 – [string] ===== SETTING
   ASPECTRATIO: 1:1 ===== 20111028 22:52:15 – [string] ===== RESIZE-IMAGES =====
   20111028 22:52:15 – [object] {“id”:”267″,”action”:”pte_ajax”,”pte-action”:”resize-
   images”,”pte-sizes[]”:[“thumbnail”],”x”:123,”y”:0,”w”:286,”h”:286} 20111028 22:
   52:17 – [string] ===== RESIZE-IMAGES SUCCESS ===== 20111028 22:52:17 – [object]{“
   thumbnails”:{“thumbnail”:{“url”:”[http://www.addict-tv.tv/wp-content/uploads/ptetmp/267/tatooisme-150×150.png&#8221](http://www.addict-tv.tv/wp-content/uploads/ptetmp/267/tatooisme-150×150.png&#8221);,”
   file”:”tatooisme-150×150.png”}},”pte-nonce”:”31754591e5″,”pte-delete-nonce”:”
   16c4fb52e0″,”error”:[“[AVERTISSEMENT] – Buffered output: \n<b>Warning</b>: imagetruecolortopalette():
   supplied argument is not a valid Image resource in <b>/home/addict/public_html/
   www.addict-tv.tv/wp-content/plugins/post-thumbnail-editor/php/functions.php</
   b> on line <b>382</b>\n”],”log”:[“[DEBUGGER] – PARAMETERS: Array\n(\n [id] =>
   267\n [action] => pte_ajax\n [pte-action] => resize-images\n [pte-sizes] => Array\
   n (\n [0] => thumbnail\n )\n\n [x] => 123\n [y] => 0\n [w] => 286\n [h] => 286\
   n)\n”,”[DEBUGGER] – BASE FILE DIMENSIONS/INFO: Array\n(\n [0] => 868\n [1] =>
   287\n [2] => 3\n [3] => width=\”868\” height=\”287\”\n [bits] => 8\n [mime] =
   > image/png\n)\n”,”[DEBUGGER] – Array\n(\n [type] => 3\n [dst_x] => 0\n [dst_y]
   => 0\n [dst_w] => 150\n [dst_h] => 150\n [src_x] => 123\n [src_y] => 0\n [src_w]
   => 286\n [src_h] => 286\n)\n”,”[AVERTISSEMENT] – Buffered output: \n<b>Warning
   </b>: imagetruecolortopalette(): supplied argument is not a valid Image resource
   in <b>/home/addict/public_html/www.addict-tv.tv/wp-content/plugins/post-thumbnail-
   editor/php/functions.php</b> on line <b>382</b>\n”]} 20111028 22:52:17 – [string]
   ===== SERVER LOG ===== 20111028 22:52:17 – [string] [DEBUGGER] – PARAMETERS: 
   Array ( [id] => 267 [action] => pte_ajax [pte-action] => resize-images [pte-sizes]
   => Array ( [0] => thumbnail )
 *  [x] => 123
    [y] => 0 [w] => 286 [h] => 286 )
 * 20111028 22:52:17 – [string] [DEBUGGER] – BASE FILE DIMENSIONS/INFO: Array
    ([
   0] => 868 [1] => 287 [2] => 3 [3] => width=”868″ height=”287″ [bits] => 8 [mime]
   => image/png )
 * 20111028 22:52:17 – [string] [DEBUGGER] – Array
    ( [type] => 3 [dst_x] => 0 [
   dst_y] => 0 [dst_w] => 150 [dst_h] => 150 [src_x] => 123 [src_y] => 0 [src_w]
   => 286 [src_h] => 286 )
 * 20111028 22:52:17 – [string] [AVERTISSEMENT] – Buffered output: 
    <b>Warning</
   b>: imagetruecolortopalette(): supplied argument is not a valid Image resource
   in <b>/home/addict/public_html/www.addict-tv.tv/wp-content/plugins/post-thumbnail-
   editor/php/functions.php</b> on line <b>382</b>
 * 20111028 22:52:17 – [array] [-1,-780,true]
    20111028 22:52:18 – [array] [-1,0,
   false] 20111028 22:52:18 – [string] running callback with no arguments 20111028
   22:52:18 – [string] finished running callback 20111028 22:52:18 – [string] ==
   === CHECK SUBMIT BUTTON ===== 20111028 22:52:18 – [string] ENABLE
 * [http://wordpress.org/extend/plugins/post-thumbnail-editor/](http://wordpress.org/extend/plugins/post-thumbnail-editor/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/page/2/?output_format=md)

 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372465)
 * Did you test with a default template and no other plugin activated ?
 *  Plugin Author [sewpafly](https://wordpress.org/support/users/sewpafly/)
 * (@sewpafly)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372474)
 * Does this happen for every image?
 *  Thread Starter [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372475)
 * Hi Li-An !
    I have tryed without the others plugins and it doesn’t work.
 *  Thread Starter [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372476)
 * Yes Sewpafly, it’s appening with every images.
 *  Plugin Author [sewpafly](https://wordpress.org/support/users/sewpafly/)
 * (@sewpafly)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372477)
 * Can you post an image somewhere (imageshack/photobucket) that I can try? This
   should only happen for indexed png’s, and I haven’t seen this problem. (yet).
 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372478)
 * Do you know your php version for your hosting ?
 *  Thread Starter [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372479)
 * Sewpafly here’s the image:
 * [http://imageshack.us/photo/my-images/707/roiheenok868287.png/](http://imageshack.us/photo/my-images/707/roiheenok868287.png/)
 *  Plugin Author [sewpafly](https://wordpress.org/support/users/sewpafly/)
 * (@sewpafly)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372480)
 * Also, as Li-An mentioned there are some versioning issues. This function requires
   GD 2.0.1 or later (2.0.28 or later is recommended).
 *  Thread Starter [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372481)
 * Normaly the hosting is in php 4.
 *  Thread Starter [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372482)
 * @ Sewpafly
    What is GD ?
 *  Plugin Author [sewpafly](https://wordpress.org/support/users/sewpafly/)
 * (@sewpafly)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372484)
 * It’s a graphics library that php uses. I would make a little PHP script on your
   site that looks like this.
 * File: phpinfo.php
    ` <?php phpinfo(); ?>
 * Then navigate to [http://yoursite/path-to-file/phpinfo.php](http://yoursite/path-to-file/phpinfo.php).
   This will give you a ton of information about the php installation. You can find
   your php version as well as the GD version that’s installed.
 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372485)
 * OK, I think the problem comes from your php version. WP 3.2.1 needs php 5 and
   so need the plugin to work.
 *  Thread Starter [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372486)
 * Ha ok.
    Thank you to you both for your advice and informations. So I have to 
   wait to be updated to php5 by my hosting. By the way would you know another pluging
   which would work with my settings ?
 *  [Li-An](https://wordpress.org/support/users/li-an/)
 * (@li-an)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372488)
 * No 🙁 It’s the only plugin of this sort I think.
    If you got a only php4 webhoster,
   you need to find another one because WP needs php5 and a lot of popular plugins
   too.
 *  Thread Starter [addicttv](https://wordpress.org/support/users/addicttv/)
 * (@addicttv)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/#post-2372489)
 * Thank you so much.
    I think I m gonna try to tweek the code like that: [http://shailan.com/781/how-to-change-post-thumbnail-crop-position-in-wordpress/](http://shailan.com/781/how-to-change-post-thumbnail-crop-position-in-wordpress/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/page/2/?output_format=md)

The topic ‘[Plugin: Post Thumbnail Editor] Troubleshooting – error message when 
resize’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-thumbnail-editor_afafac.svg)
 * [Post Thumbnail Editor](https://wordpress.org/plugins/post-thumbnail-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-thumbnail-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-thumbnail-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/post-thumbnail-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-thumbnail-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-thumbnail-editor/reviews/)

 * 16 replies
 * 3 participants
 * Last reply from: [addicttv](https://wordpress.org/support/users/addicttv/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-post-thumbnail-editor-troubleshooting-error-message-when-resize/page/2/#post-2372490)
 * Status: not resolved