As referred to within the title, I cant for that existence of me try to alter the thumbnail crop configurations in wordpress e-commerce. Automatically, it's set to exhibit the center from the picture. However, I must result in the popped thumbnail range from the top area of the picture.

I already realize how to get this done inside the Wordpress' built-in featured images code. For individuals that stumble across this publish and do not understand how to do that, you'll find it in This Post. I've attempted the above mentioned and wordpress e-commerce doesn't appear to make use of exactly the same thumbnail popping work as core Wordpress.

$s_x = 0; // floor( ($orig_w - $crop_w) / 2 );
$s_y = 0; // floor( ($orig_h - $crop_h) / 2 );

After leaving comments the code, this could have labored whether it was using the publish pictures, but does not use the Wordpress e-commerce pictures.

I'd appreciate any type of help if anybody has stumbled upon a method of doing this.


Oops. Ignore this. The modification that we made made an appearance to possess labored. I needed to fully totally reset the cache to really make it work though I believe. For individuals which are searching for an identical solution, the above mentioned code i published during my question above are available in the media.php. within the Wordpress includes files