wp-e-commerce/WP-e-Commerce — pull request #750 by norcross (2013-12-24 19:22:04+00:00)
Title: adding thumbnail checks

currently, `wpsc_the_product_thumbnail` has no fallback if the secondary check for a `thumbnail_id` fails. this returns the `wpsc_product_image` (which includes the global fallback image) if no ID is found. also adds an `isset` check for the height and width in attachment metadata and makes sure they aren't zero.