Feature Suggestion: Toggle Cropping
-
It would be nice to add a variable to toggle cropping.
Here is an example, using crop with ‘yes’ set as default:
\
// Crop the image
if($atts[‘crop’] === ‘yes’)
$image = su_image_resize( $slide[‘image’], ( round( $atts[‘width’] / $atts[‘items’] ) – 18 ), $atts[‘height’] );
else $image = array(‘url’ => $slide[‘image’], ‘height’ => $atts[‘height’] );
\
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Feature Suggestion: Toggle Cropping’ is closed to new replies.