아래 소스에 title 이나 alt를 넣을려면 어떻게 해요 ? 정보
아래 소스에 title 이나 alt를 넣을려면 어떻게 해요 ?
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
<?php
echo make_thumbnail("{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}", "{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}.thumb", $width, $height, $default); ?>
몇번 시도해 봤지만 실패했어요....
출력은 이런 형태를 출력이 됩니다.
<img src="./data/file/04_1/1982275623_21db29cb_84004.jpg.thumb">
오류 주소 :
<?php
echo make_thumbnail("{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}", "{$list[$i]['file']['0']['path']}/{$list[$i]['file']['0']['file']}.thumb", $width, $height, $default); ?>
몇번 시도해 봤지만 실패했어요....
출력은 이런 형태를 출력이 됩니다.
<img src="./data/file/04_1/1982275623_21db29cb_84004.jpg.thumb">
댓글 전체
make_thumbnail() 이라는 사용자 펑션에서 이미지태그를 리턴해주는 곳이 있습니다.
그 곳에서 alt 나 title 을 추가해 주십시오.
그 곳에서 alt 나 title 을 추가해 주십시오.

sjsjin님... 감사합니다. 해결되었습니다. ^^