내용관리-상단이미지 설정 관련 채택완료
https://sir.kr/bbs/profile.php?mb_id=sirtheme" onclick="return false;" rel="nofollow" target="_blank" title="SIRTHEME 자기소개">SIRTHEME 님이 올려주신 테마를 적용했습니다.
https://sir.kr/g5_theme/5241?page=2
내용관리-상단이미지에 파일업로드 하였습니다.
gnuboard5/data/content 경로에 파일명이 [내용관리] 의 id로 변형되서 업로드 되더군요
내용관리의 id가 business여서
gnuboard5/data/content/business_h 로 파일이 생성되었습니다.
근데 이미지가 안뜨네요..
<사용자페이지>

< 관리자페이지 >

많이 찾아보고 따라도 해봤는데,
도저히 안되네요..
부탁드립니다. 고수님들 ..
답변 3개
그누보드 버그 같습니다.
모바일 버전의 content.php 에 상단/하단 이미지 포함 부분이 빠져 있습니다.
(/bbs/content.php 의 상/하단 이미지 부분 코드를 참고하였습니다.)
* /mobile/content.php
</p>
<p>if(is_file($skin_file)) {
include($skin_file);
}</p>
<p>
->
</p>
<p>if(is_file($skin_file)) {
$himg = G5_DATA_PATH.'/content/'.$co_id.'_h';
if (file_exists($himg)) // 상단 이미지
echo '<div id="ctt_himg" class="ctt_img"><img src="'.G5_DATA_URL.'/content/'.$co_id.'_h" alt=""></div>';
include($skin_file);
$timg = G5_DATA_PATH.'/content/'.$co_id.'_t';
if (file_exists($timg)) // 하단 이미지
echo '<div id="ctt_timg" class="ctt_img"><img src="'.G5_DATA_URL.'/content/'.$co_id.'_t" alt=""></div>';
}</p>
<p>
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인