Crop does not show up on site
-
I am able to crop and save the featured image in the editor, but the crop does not appear anywhere on the site. It is only a test site now, but the url is https://www.bluehouse.us/test.
Thank you for your help!
-
It’s probable that your theme doesn’t use post thumbnail functionality. What theme are you using? Which thumbnail sizes did you modify?
I am using theme 52603.
I have tried to modify any and all of the sizes. Nothing shows up. The one I would like to use is the post-thumbnail size.
It does appear that the theme has post thumbnail functionality. This is in the theme-init.php file…
// Add support for Post Thumbnails.
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 200, 150, true ); // Normal post thumbnails
add_image_size( ‘slider-post-thumbnail’, 1170, 555, true ); // Slider Thumbnail
add_image_size( ‘slider-thumb’, 50, 50, true ); // Slider Small ThumbnailThanks again for your help!
yeah, the
add_image_size
functions create the slider-* thumbnails. These are probably the ones that you need to modify. Does the PTE plugin show the confirmation step (there is a setting to bypass the confirmation step and just save straight to disk & database)? Or I guess specifically, can you view the edited post thumbnails in the View tab?I’m trying to figure out if the problem is PTE creating the correct images or if the theme isn’t displaying them. You could try enabling DEBUG mode in Settings → Post Thumbnail Editor and after you try cropping, looking at the debug log (there’s a link on the Settings page). That should note if there were any problems in the cropping process from the PTE point of view.
I had already changed the setting to bypass the confirmation step. I have attached the log from the PTE point of view:
[DEBUG ][2015-03-31T15:24:28+00:00][ PARAMETERS: Array
(
[action] => pte_ajax
[pte-action] => iframe
[pte-id] => 2004
) ]
[DEBUG ][2015-03-31T15:24:28+00:00][ PTE-VERSION: 2.4.4
USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.4.10 (KHTML, like Gecko) Version/7.1.4 Safari/537.85.13
WORDPRESS: 4.1.1 ]
[DEBUG ][2015-03-31T15:24:31+00:00][ PARAMETERS: Array
(
[action] => pte_ajax
[id] => 2004
[pte-action] => get-thumbnail-info
) ]
[DEBUG ][2015-03-31T15:24:41+00:00][ PARAMETERS: Array
(
[action] => pte_ajax
[h] => 283.125
[id] => 2004
[pte-action] => resize-images
[pte-nonce] => e109601311
[pte-sizes] => Array
(
[0] => post-thumbnail
)[save] => true
[w] => 377.5
[x] => 240
[y] => 445
) ]
[DEBUG ][2015-03-31T15:24:41+00:00][ BASE FILE DIMENSIONS/INFO: Array
(
[0] => 1500
[1] => 1000
[2] => 2
[3] => width=”1500″ height=”1000″
[bits] => 8
[channels] => 3
[mime] => image/jpeg
) ]
[DEBUG ][2015-03-31T15:24:41+00:00][ GETwidthheightCROPPED ]
[DEBUG ][2015-03-31T15:24:41+00:00][ WIDTHxHEIGHT: 200 x 150 ]
[DEBUG ][2015-03-31T15:24:41+00:00][ COMPRESSION: 90 ]
[DEBUG ][2015-03-31T15:24:41+00:00][ COMPRESSION: 90 ]
[DEBUG ][2015-03-31T15:24:41+00:00][ EDITOR: GD ]
[DEBUG ][2015-03-31T15:24:41+00:00][ CONFIRM: ]
[DEBUG ][2015-03-31T15:24:41+00:00][ Array
(
[action] => pte_ajax
[h] => 283.125
[id] => 2004
[pte-action] => resize-images
[pte-nonce] => e109601311
[pte-sizes] => Array
(
[0] => post-thumbnail
)[save] => true
[w] => 377.5
[x] => 240
[y] => 445
[pte-confirm] => Array
(
[post-thumbnail] => picjumbo.com_IMG_0507-200×150.jpg
)) ]
[DEBUG ][2015-03-31T15:24:41+00:00][ pte_get_all_alternate_size_information returned: Array
(
[post-thumbnail] => Array
(
[width] => 200
[height] => 150
[crop] => 1
[current] => Array
(
[file] => picjumbo.com_IMG_0507-200×150.jpg
[width] => 200
[height] => 150
[mime-type] => image/jpeg
[path] => 2015/03/picjumbo.com_IMG_0507-200×150.jpg
[url] => https://bluehouse.us/test/wp-content/uploads/2015/03/picjumbo.com_IMG_0507-200×150.jpg
))
) ]
[DEBUG ][2015-03-31T15:24:41+00:00][ Deleting old thumbnail: /usr/home/web/users/a0026518/html/test/wp-content/uploads/2015/03/picjumbo.com_IMG_0507-200×150.jpg ]
[DEBUG ][2015-03-31T15:24:41+00:00][ Moving ‘/usr/home/web/users/a0026518/html/test/wp-content/uploads/ptetmp/2004/picjumbo.com_IMG_0507-200×150.jpg’ to ‘/usr/home/web/users/a0026518/html/test/wp-content/uploads/2015/03/picjumbo.com_IMG_0507-200×150.jpg’ ]
[DEBUG ][2015-03-31T15:24:41+00:00][ Updating ‘post-thumbnail’ metadata: Array
(
[file] => picjumbo.com_IMG_0507-200×150.jpg
[width] => 200
[height] => 150
) ]
- The topic ‘Crop does not show up on site’ is closed to new replies.