0
난 후 갤러리 형식으로 더 큰 크기로 클릭하여 이미지를 보여주는 슬라이드 쇼를 가지고 부하 또는 링크 내가 가지고있는 이미지를 클릭 직접로드 할 때 내가 data-src
이 URL http://wpthemetestdata.files.wordpress.com/2012/12/unicorn-wallpaper.jpg
을 넣어 다음이 코드 어떤 이미지를 클릭 직접 내가 생을 사용하여 내 문제를 해결방법 워드 프레스 포스트 이미지
<ul id="lightGallery" class="gallery">
<?php foreach ($post_images as $post_image) : ?>
<li class="col-lg-4" data-title="" data-desc="" data-responsive-src="" data- src="http://wpthemetestdata.files.wordpress.com/2012/12/unicorn-wallpaper.jpg">
<a href="<?php the_permalink(); ?>">
<?php echo wp_get_attachment_image($post_image->ID, array()); ?>
</a>
</li>