Hello,
I would like to use different picture formats (landscape and portrait) in a carousel, but can’t complete it like pictures used by the carousel are always cropped.
Changing the “crop” attribute parameter here (post-carousel.php) as no effect:
add_image_size( 'sow-carousel-default', 272, 182, false );
Changing this line in item.php (using the “fullsize” value)
$img = siteorigin_widgets_get_attachment_image_src( get_post_thumbnail_id(), $settings['image_size'], $settings['default_thumbnail'] );
to
$img = siteorigin_widgets_get_attachment_image_src( get_post_thumbnail_id(), 'fullsize', $settings['default_thumbnail'] );
is doing the job, but not satisfying, like it will be lost with each plugin update.
What would be the way to set a carousel like desired ?
Thanks a lot for your help.
Ok I found an issue with a customized theme “”overwritting”” the ‘sow-carousel-default’ images.
Apologize for the unrequired ticket here. Can be closed.
Hi Laurent
Thanks for keeping us updated. That’s great news; really glad to hear you’ve made progress!