Hey gang, I’m using the post-thumbnail function in a theme for a client and using the hard crop function to make the thumbs just perfect for the layout. The issue I’m having is that on my local testing server the hard crop function works perfectly but on the clients (Windows) server, no crop is taking place.
In my functions.php file I’ve got this:
if (function_exists('add_theme_support')) add_theme_support('post-thumbnails'); set_post_thumbnail_size( 350, 200, true); // 350 pixels wide by 200 pixels tall, hard crop mode
And then the call in my theme:
<?php the_post_thumbnail(''); ?>
Pretty basic stuff, just can’t figure out why it works on my local (Unix) but not on the Windows box.
Any help would be greatly appreciated! Thanks!
- The topic ‘Post-Thumbnail Hard Crop Issue’ is closed to new replies.