- This topic has 2 replies, 2 voices, and was last updated 1 year, 7 months ago by .
-
Topic
-
$object_imgs = isset( $object['dekor_image'] ) ? $object['dekor_image'] : array(); if ( ! empty( $object_imgs ) ) { foreach ( $object_imgs as $object_img ) { echo '<a href="'. wp_get_attachment_image_url( $object_img, 'type=image_advanced&size=full&multiple=true' ) .'" rel="fancybox"><img src="' . wp_get_attachment_image_url( $object_img, 'type=image_advanced&size=full&multiple=true' ) . '" alt="' . RWMB_Image_Field::file_info( $object_img ) . '" /></a>'; } }
Only get Array in fancybox
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.