Function asa2_render_image
Renders a single image like shortcode [asa2_img] would do.
Example:
echo asa2_img('B01M2AYHBV', array( 'country_code' => 'UK', 'img' => 4, 'size' => 'LargeImage', 'width' => 350, 'height' => 180, 'tpl' => 'custom_img_tpl' ));
Parameters summary
string |
$asin |
Amazon ASIN. |
array |
$options = array() |
Options defining the image to be displayed. |
Return value summary
string
|
The generated output. |