이미지 파일명에 공백이 있어서 no_image.gif가 출력됩니다
본문
이미지 파일명 자체에 공백이 포함되어 있어서 no_image.gif가 출력됩니다.
출력된 소스를 보면 image-url은 잘 불러오는데,
image-url에서 이미지 경로를 추출하는 과정에서 공백이 제거되는 것이 원인인 것 같습니다.
[출력물 소스]
<a href="http://135.515.815.315/shop/item.php?it_id=11527">
<div class="thumb" style='background-image: url(http://135.515.815.315/data/item/goods/세트 리스트 이미지.jpg);'>
<div class="badge">
<span class="badge_new">NEW</span></div>
<img src="http://175.124.227.221/shop/img/no_image.gif" width="600" height="597" alt="패키지할인"></div></a>
list.10.skin.php에서는 따로 공백을 제거하는 소스가 없는 것 같고,
<?php echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name'])) ?>
shop.lib.php에서
get_it_image 함수를 살펴봐도 공백 제거하는 부분은 못찾겠는데 어디가 문제인지 가르쳐 주세요~!
답변을 작성하시기 전에 로그인 해주세요.