wordpress-plugin
wordpress-plugin copied to clipboard
Photon Support for IMPress Widgets
Can we add Jetpack Photon support for the IMPress Widgets & Shortcodes. This would really help with performance for sites that use Jetpack Photon. For example here is how you would enable for the showcase widget:
register-impress-shortcodes.php (Line 155 - 159):
if (($property_type) == 'savedlink') {
$prop_image_url = apply_filters( 'jetpack_photon_url', (isset($prop['image']['1']['url'])) ? $prop['image']['1']['url'] : '//mlsphotos.idxbroker.com/defaultNoPhoto/noPhotoFull.png');
} else {
$prop_image_url = apply_filters( 'jetpack_photon_url',(isset($prop['image']['0']['url'])) ? $prop['image']['0']['url'] : '//mlsphotos.idxbroker.com/defaultNoPhoto/noPhotoFull.png');
}