Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author sewpafly

    (@sewpafly)

    Sorry you’re having problems. Which version of the plugin are you using? (Did you just download it, or did the upgrade break it?)

    If the upgrade broke it, there have been some improvements that are available here: https://github.com/sewpafly/post-thumbnail-editor/archive/master.zip which might, or might not actually fix your issue.

    If you still have problems try these steps (which are for chrome, but firefox is pretty much the same if you have the firebug extension installed.

    1. Put PTE in debug mode (Settings → Post Thumbnail Editor)
    2. Open the PTE interface and press F12.
    3. Open the network tab.
    4. Back in the PTE tab, crop your thumbnail, and save it.
    5. Back in the web developer tool there should be an entry like this.

    There might not be a preview tab in firefox, but just grab the response and copy/paste that. In the log there should be a message about where the file was saved and if you could check that file (to see if it’s the “new” thumbnail), that would be awesome.

    Thread Starter lukehm

    (@lukehm)

    Hello
    Mine was an Upgrade
    Tried Master same thing
    Struggling with F!@ on Mac However checked with Firebug and on crop an image is being created
    /wp-content/uploads/ptetmp/1167/four-artists-1272×373.jpg
    Exactly as I wanted however nothing happens on save
    /wp-content/uploads/2013/03/four-artists-1272×373.jpg does not change
    2 Javascript errors appear in console angular.min.js (line 61) event not defined
    Hope this helps

    Thread Starter lukehm

    (@lukehm)

    ps love this plugin
    Thanks

    Plugin Author sewpafly

    (@sewpafly)

    Thanks for helping me to debug this (if you need it, I can get you the link for rolling back to 1.0.7). When you click the save button then, you’re not getting any activity in the network tab? (I want to find out if the javascript is having an error before the call to the server).

    After you click the save button, does anything happen with regards to the UI? (Does the save button disappear?)

    Thread Starter lukehm

    (@lukehm)

    After Crop
    {“thumbnails”:{“page”:{“url”:”http:\/\/georgeirvinefineart.co.uk\/wp-content\/uploads\/ptetmp\/1167\/four-artists-1272×3733.jpg”,”file”:”four-artists-1272×3733.jpg”}},”pte-nonce”:”9b31d36dae”,”pte-delete-nonce”:”5709299741″,”error”:[],”log”:[“[DEBUG] – PARAMETERS: Array\n(\n [action] => pte_ajax\n [h] => 376.25990361839416\n [id] => 1167\n [pte-action] => resize-images\n [pte-sizes] => page\n [w] => 1280\n [x] => 0\n [y] => 205.2987012987013\n)\n”,”[DEBUG] – Converting pte_sizes to array”,”[DEBUG] – BASE FILE DIMENSIONS\/INFO: Array\n(\n [0] => 1280\n [1] => 1235\n [2] => 2\n [3] => width=\”1280\” height=\”1235\”\n [bits] => 8\n [channels] => 3\n [mime] => image\/jpeg\n)\n”,”[DEBUG] – GETwidthheightCROPPED”,”[DEBUG] – WIDTHxHEIGHT: 1272 x 373″,”[DEBUG] – EDITOR: GD”,”[DEBUG] – COMPRESSION: 90″]}
    I think this is working fine
    On Save – 2 js errors – event not defined
    I’m using jQuery v1.8.3 if that’s important
    Save button is still there
    On delete – 1 js error but buttons disapear
    I hope this helps
    Its not critical on this project so if you would like me to keep testing feel free
    Best
    Luke

    Sam problem here. Not seeing any errors when looking at firebug but clicking the save icon does nothing. Using FF. Hope this can be resolved as this would be a very powerful/helpful plugin to have.

    Hello,

    was this problem resolved? I too am not able to see the cropped thumbnails that I save.
    Please let me know ?? I just downloaded the latest version..

    Thank you much!

    Plugin Author sewpafly

    (@sewpafly)

    I’m going to post a link to a fix today. Hopefully, you can test it and tell me if it works for you.

    Thanks sewpafly! I can certainly do that.

    Plugin Author sewpafly

    (@sewpafly)

    Can everyone interested test this version and let me know if it’s working?

    https://github.com/sewpafly/post-thumbnail-editor/archive/master.zip (SHA: 39e1cec943d69a38ab0b5cbb42b8ed214cef529e)

    Thank you!

    Thread Starter lukehm

    (@lukehm)

    Dear sewpafly
    Worked for me
    Many Thanks

    sewpafly, I’ll check it out later once I am home from work—Thank you very much for all your help!!

    Hello!

    Just downloaded new master version (Firefox friendly). Everything works now except one thing: script can’t save resized thumbnail (size 150×150), getting 404 when linking to that thumb. In debug mode I’m getting something like that:

    {"thumbnails":{"thumbnail":{"url":"http:\/\/*.pl\/wp-content\/uploads\/ptetmp\/19804\/Samsung-Galaxy-S-IV-koncept-2-150x150-1363016156.jpg","file":"Samsung-Galaxy-S-IV-koncept-2-150x150-1363016156.jpg"}},"pte-nonce":"ca094a2a46","pte-delete-nonce":"0608bbbab7","error":[],"log":["[DEBUG] - PARAMETERS: Array\n(\n [action] => pte_ajax\n [h] => 386\n [id] => 19804\n [pte-action] => resize-images\n [pte-sizes] => thumbnail\n [w] => 384.45\n [x] => 87.44999999999999\n [y] => 0\n)\n","[DEBUG] - Converting pte_sizes to array","[DEBUG] - BASE FILE DIMENSIONS\/INFO: Array\n(\n [0] => 660\n [1] => 386\n [2] => 2\n [3] => width=\"660\" height=\"386\"\n [bits] => 8\n [channels] => 3\n [mime] => image\/jpeg\n)\n","[DEBUG] - GETwidthheightCROPPED","[DEBUG] - WIDTHxHEIGHT: 150 x 150","[DEBUG] - EDITOR: GD","[DEBUG] - COMPRESSION: 90"]}

    I don’t know what is wrong, other thumb sizes behaves normally – I can edit them and script save correctly.

    Next part, while saving:

    {"thumbnails":{"thumbnail":{"width":"150","height":"150","crop":"1","current":{"file":"Samsung-Galaxy-S-IV-koncept-2-150x150-1363016843.jpg","width":150,"height":150,"path":"2013\/03\/Samsung-Galaxy-S-IV-koncept-2-150x150-1363016843.jpg","url":"http:\/\/*.pl\/wp-content\/uploads\/2013\/03\/Samsung-Galaxy-S-IV-koncept-2-150x150-1363016843.jpg"}}},"error":[],"log":["[DEBUG] - PARAMETERS: Array\n(\n [action] => pte_ajax\n [id] => 19804\n [pte-action] => confirm-images\n [pte-confirm] => Array\n (\n [thumbnail] => Samsung-Galaxy-S-IV-koncept-2-150x150-1363016843.jpg\n )\n\n [pte-nonce] => ca094a2a46\n)\n","[DEBUG] - pte_get_all_alternate_size_information returned: Array\n(\n [thumbnail] => Array\n (\n [width] => 150\n [height] => 150\n [crop] => 1\n [current] => Array\n (\n [file] => Samsung-Galaxy-S-IV-koncept-2-150x150.jpg\n [width] => 150\n [height] => 150\n [mime-type] => image\/jpeg\n [path] => 2013\/03\/Samsung-Galaxy-S-IV-koncept-2-150x150.jpg\n [url] => http:\/\/*.pl\/wp-content\/uploads\/2013\/03\/Samsung-Galaxy-S-IV-koncept-2-150x150.jpg\n )\n\n )\n\n)\n","[DEBUG] - Deleting old thumbnail: \/var\/www\/pest\/data\/www\/*.pl\/wp-content\/uploads\/2013\/03\/Samsung-Galaxy-S-IV-koncept-2-150x150.jpg","[DEBUG] - Moving '\/var\/www\/pest\/data\/www\/*.pl\/wp-content\/uploads\/ptetmp\/19804\/Samsung-Galaxy-S-IV-koncept-2-150x150-1363016843.jpg' to '\/var\/www\/pest\/data\/www\/*.pl\/wp-content\/uploads\/2013\/03\/Samsung-Galaxy-S-IV-koncept-2-150x150-1363016843.jpg'","[DEBUG] - Updating 'thumbnail' metadata: Array\n(\n [file] => Samsung-Galaxy-S-IV-koncept-2-150x150-1363016843.jpg\n [width] => 150\n [height] => 150\n)\n"]}

    Plugin Author sewpafly

    (@sewpafly)

    @pantsoffski – Did you look to see if you can get to the file here (from the log): https://*.pl/wp-content/uploads/2013/03/Samsung-Galaxy-S-IV-koncept-2-150×150-1363016843.jpg? Does this file exist?

    If it does exist, is it not cropped correctly?

    Does everything look correct in the PTE interface? (e.g. when you refresh, and click the “View” tab does the thumbnail look correct? or is there an image missing?)

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Firefox not saving crop’ is closed to new replies.