$iarray = wp_get_attachment_image_src($image->ID, $size, $icon = false); $img_check = '[img]'.$iarray[0].'[/img]';
$iarray = wp_get_attachment_image_src($image->ID, $size, $icon = false); $iarraylink = wp_get_attachment_image_src($image->ID, "full", $icon = false); $img_check = '<a title="Main Photo" rel="shadowbox[gallery]" class="ad-gallery" href="'.$iarraylink[0].'">'; $img_check .= '[img]'.$iarray[0].'[/img] </a>';
There are currently 1 users browsing this thread. (0 members and 1 guests)