Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Thanks for giving me a wonderful plugin. I have faced the following image croping problem.
method 1 is working perfectly, but i want to mention the size directly so i can use the method2 but method2 is not working,
Is there any mistake?
method1:
add_image_size( ‘new_image_size’, 380, 350, true);
siteorigin_widgets_get_attachment_image_src( $image, ‘new_image_size’, $image_fallback );
method2:
siteorigin_widgets_get_attachment_image_src( $image, array(‘380′,’350’), $image_fallback );