</tr> <tr valign="top" > <th><?php _e('Disable All Carousel', 'image-carousel'); ?> </th> <td> <input name="icp_global_active_sel" type="checkbox" id="icp_global_carousel_active" <?php checked('active', icp_get_option('icp_global_carousel_active')); ?> value='off' /> <input name="icp_global_carousel_active" type="hidden" class="icp_global_carousel_active" value='<?php print icp_get_option('icp_global_carousel_active'); ?> ' /> <p class="description"><?php _e('Use this option to mass Disable Carousel in all Post & Page', 'image-carousel'); ?> </p> </td> </tr> <tr valign="top" > <th><?php _e('Image Cache Control', 'image-carousel'); ?> </th> <td>
function icp_bfi_thumb($attr) { $t_size = icp_get_option('icp_carousel_width') ? icp_get_option('icp_carousel_width') : 250; $params = array('width' => $t_size, 'height' => $t_size, 'crop' => true); $attr['src'] = bfi_thumb($attr['src'], $params); return $attr; }