Display Featured Image on Listing»
How to add featured image to other post types. ADD TO THEME FUNCTIONS // This theme uses post thumbnails add_theme_support( 'post-thumbnails', array( 'plans','listings','news','post' ) ); ON POST-TYPE SPEC 'supports' =>…
Images, PHP, WP/CP | Type: PHP
Responsive Image Map»
Use image map in a responsive environment. See cremationsnm.net for implementation.
Images, Responsive | Type: Javascript
Sliding Image Background»
Cool effect if you have a good enough reason and a wide enough image.
CSS, CSS3, Images | Type: PHP
Specify minimum size for image upload»
//specify minimum size for uploaded images (including featured images) add_filter('wp_handle_upload_prefilter','tc_handle_upload_prefilter'); function tc_handle_upload_prefilter($file) { $img=getimagesize($file['tmp_name']); $minimum = array('width' => '300', 'height' => '300'); $width= $img[0]; $height =$img[1]; if ($width < $minimum['width']…
Images, WP/CP | Type: PHP
Unsplash Placeholder Images»
Various ways of displaying Unsplash images (using Unsplash as CDN)
Images | Type: PHP