Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Everything in PTE interface looks ok (I can see correct thumb in View panel).

    I can get file listed in log, https://*.pl/wp-content/uploads/2013/03/Samsung-Galaxy-S-IV-koncept-2-150×150-1363016843.jpg – but in front end wordpress not linking to Samsung-Galaxy-S-IV-koncept-2-150×150-1363016843.jpg It links to https://*.pl/wp-content/uploads/2013/03/Samsung-Galaxy-S-IV-koncept-2-150×150.jpg – that’s why system shows me 404 error, cause that file doesn’t exist after PTE crop ??

    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"]}

    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.

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