염성찬 염성찬 3 days ago
메인비주얼 에러·타이틀 수정, 이미지 무한요청 수정, 관리자 첨부 미리보기 추가
@f805820f29d4570b81cad9b1de051d76b77cbe89
src/main/java/kcc/web/MainController.java
--- src/main/java/kcc/web/MainController.java
+++ src/main/java/kcc/web/MainController.java
@@ -1282,7 +1282,8 @@
 		} catch (Exception e) {
 		} // 상단메인 이미지
 		if(mainzoneList.size() > 0) {
-			mainzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
+			// SORT 컬럼이 int 라 Integer 로 넘어옴 (BigDecimal 캐스팅 시 2건 이상이면 ClassCastException)
+			mainzoneList.sort(Comparator.comparing((EgovMap map) -> map.get("sort") == null ? Integer.MAX_VALUE : ((Number) map.get("sort")).intValue()));
 		}
 		return mainzoneList.stream().findFirst().orElse(null); 
 	}
@@ -1334,7 +1335,7 @@
 		}
 		
 		if(popupzoneList.size() > 0) {
-			popupzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
+			popupzoneList.sort(Comparator.comparing((EgovMap map) -> map.get("sort") == null ? Integer.MAX_VALUE : ((Number) map.get("sort")).intValue()));
 		}
 		return popupzoneList.stream().findFirst().orElse(null);
 	}
src/main/webapp/WEB-INF/jsp/cmm/fms/EgovFileList.jsp
--- src/main/webapp/WEB-INF/jsp/cmm/fms/EgovFileList.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/fms/EgovFileList.jsp
@@ -152,7 +152,7 @@
 				<c:choose>
 					<c:when test="${not empty commandMap.img_view and commandMap.img_view == 'Y'}">
 						<div id="egovComFileList">
-							<img id="img_view" class="img_view_fileNm" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>'  alt="해당파일이미지" width="${commandMap.img_view_w}" height="${commandMap.img_view_h}"/>
+							<img id="img_view" class="img_view_fileNm" onerror="this.onerror=null;this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>'  alt="해당파일이미지" width="${commandMap.img_view_w}" height="${commandMap.img_view_h}"/>
 						</div>
 					</c:when>
 					<c:otherwise>
src/main/webapp/WEB-INF/jsp/cmm/fms/EgovImgFileListWeb.jsp
--- src/main/webapp/WEB-INF/jsp/cmm/fms/EgovImgFileListWeb.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/fms/EgovImgFileListWeb.jsp
@@ -23,6 +23,6 @@
 	<c:forEach var="fileVO" items="${fileList}" varStatus="status">
 		<p style="margin-top: 10px;">
 			<img alt="이미지없음" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>' 
-				onerror="this.src='<c:url value='/img/post/no-img.png'/>'" alt="${fileVO.orignlFileNm}"/>
+				onerror="this.onerror=null;this.src='<c:url value='/img/post/no-img.png'/>'" alt="${fileVO.orignlFileNm}"/>
 		</p>
 	</c:forEach>
src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeList.jsp
--- src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeList.jsp
+++ src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeList.jsp
@@ -454,10 +454,10 @@
 								<td>
 									<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');"> <c:choose>
 											<c:when test="${result.atchFileCnt > 0}">
-												<img alt="${result.nttSj}" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>' onerror="this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" />
+												<img alt="${result.nttSj}" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>' onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" />
 											</c:when>
 											<c:otherwise>
-												<img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" />
+												<img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" width="140" height="120" />
 											</c:otherwise>
 										</c:choose>
 									</a>
@@ -493,10 +493,10 @@
 								<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
 								<c:choose>
 									<c:when test="${result.atchFileCnt > 0}">
-										<img alt="${result.nttSj}" onerror="this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
+										<img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
 									</c:when>
 									<c:otherwise>
-										<img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.src='/publish/adm/images/content/no_image.jpg'" />
+										<img alt="이미지없음" src='<c:url value='/publish/adm/images/content/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" />
 									</c:otherwise>
 								</c:choose>
 								</a>
@@ -517,10 +517,10 @@
 								<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
 									<c:choose>
 										<c:when test="${result.atchFileCnt > 0}">
-											<img alt="${result.nttSj}" onerror="this.src='/img/post/no-img.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
+											<img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/img/post/no-img.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
 										</c:when>
 										<c:otherwise>
-											<img alt="이미지없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.src='/img/post/no-img.png'" />
+											<img alt="이미지없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.onerror=null;this.src='/img/post/no-img.png'" />
 										</c:otherwise>
 									</c:choose>
 								</a>
src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeReply.jsp
--- src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeReply.jsp
+++ src/main/webapp/WEB-INF/jsp/cop/bbs/EgovNoticeReply.jsp
@@ -149,6 +149,7 @@
 			<input type="hidden" name="atchFileId" value="${board.atchFileId}" />
 			<input type="hidden" name="atchFileNece" id="atchFileNece" value="N" /> <!-- 첨부파일 필수체크 -->
 			<input type="hidden" name="limitcount" value="${bdMstr.posblAtchFileNumber}" />
+			<input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 -->
 
 			<div class="cont">
 				<!-- list_상세 -->
@@ -257,6 +258,7 @@
 														<td class="td_filename">
 															<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
 															<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
+															<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
 														</td>
 														<td class="td_filesort">
 															<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp
--- src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp
+++ src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerList.jsp
@@ -169,7 +169,7 @@
 						<span class="status gray">미사용</span>
 					</c:if>
 					<div class="images_area">
-						<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
+						<img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
 					</div>
 					<div class="list_content">
 						<b class="list_title">${result.bannerNm}</b>
src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerRegist.jsp
--- src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerRegist.jsp
+++ src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerRegist.jsp
@@ -111,6 +111,7 @@
 	<input type="hidden" name="menuName" value="banner" />
 	<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
 	<input type="hidden" name="limitcount" value="1" />
+	<input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 -->
 	
 	<!-- cont -->
 	<div class="cont_wrap">
@@ -157,7 +158,7 @@
 										<div class="imgBox"></div>
 									</c:if>
 									<c:if test="${banner.bannerImageFile != null}">
-										<img alt="${banner.bannerNm}" onerror="this.src='/img/noImg.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>'  style="max-width:300px;padding: 10px;" />
+										<img alt="${banner.bannerNm}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>'  style="max-width:300px;padding: 10px;" />
 									</c:if>
 								</td>
 							</tr>
@@ -244,7 +245,8 @@
 												<c:forEach var="fileList" items="${fileList}" varStatus="status">
 													<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
 														<td class="td_filename">
-															<img src="/direct/img/upload_hwp_img.png" alt="" /><span class="file_name_text">${fileList.orignlFileNm}</span>
+															<span class="file_name_text">${fileList.orignlFileNm}</span>
+															<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
 														</td>
 														<td class="td_filesize"><span class="file_size_text" value="${fileList.fileMg}"></span></td>
 														<td>${fileList.creatDt}</td>
src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerUpdt.jsp
--- src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerUpdt.jsp
+++ src/main/webapp/WEB-INF/jsp/egovframework/com/uss/ion/bnr/EgovBannerUpdt.jsp
@@ -140,6 +140,7 @@
 	<input type="hidden" name="menuName" value="banner" />
 	<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
 	<input type="hidden" name="limitcount" value="1" />
+	<input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 -->
 	
 	<!-- cont -->
 	<div class="cont_wrap">
@@ -188,7 +189,7 @@
 											<div class="imgBox"></div>
 									</c:if>
 									<c:if test="${banner.bannerImageFile != null}">
-										<img alt="${banner.bannerNm}" onerror="this.src='/img/noImg.png'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>'  style="max-width:300px;padding: 10px;" />
+										<img alt="${banner.bannerNm}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>'  style="max-width:300px;padding: 10px;" />
 									</c:if>
 								</td>
 							</tr>
@@ -277,6 +278,7 @@
 															<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
 																<span class="file_name_text">${fileList.orignlFileNm}</span>
 															</a>
+															<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
 														</td>
 														<td class="td_filesort">
 															<span class="file_filesort_text" value="${fileList.fileExtsn}">${fileList.fileExtsn}</span>
src/main/webapp/WEB-INF/jsp/main/mainUserPage.jsp
--- src/main/webapp/WEB-INF/jsp/main/mainUserPage.jsp
+++ src/main/webapp/WEB-INF/jsp/main/mainUserPage.jsp
@@ -452,7 +452,7 @@
 										<li>
 											<a href="${result.link}" target="${result.target}">
 												<%-- <img src="${result.images}" border="0" width="196" height="237" alt="${result.alt}"/> --%>
-												<img alt="${result.content}" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>'  width="196" height="237" />
+												<img alt="${result.content}" onerror="this.onerror=null;this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>'  width="196" height="237" />
 											</a>
 										</li>
 									</c:forEach>
src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataEdit.jsp
--- src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataEdit.jsp
+++ src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataEdit.jsp
@@ -107,7 +107,7 @@
 									<li id="bbsFileHtml_<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />" class="bbsFileHtml">
 										
 										<div class="file-img-list">
-											<img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
+											<img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
 										</div>
 										<div class="file-anchor-list">
 											<a href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /> <s:message code="common.message.down"/>"><c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /></a>
src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataList.jsp
--- src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataList.jsp
+++ src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataList.jsp
@@ -191,7 +191,7 @@
 											<c:forEach items="${bbsNoticeFileList}" var="bbsFiles" >
 												<c:if test='${bbsFiles.tBbsData.bbsDataIdx == bbsNoticeDataList._bbsDataIdx}'>
 												<a class="hover-link" href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFiles.bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFiles.bbsFileName}' /> <s:message code="common.message.down"/>">
-													<span><img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" /></span>
+													<span><img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" /></span>
 												</a>
 												</c:if>
 											</c:forEach>
@@ -250,7 +250,7 @@
 											<c:forEach items="${bbsFileList}" var="bbsFiles" >
 												<c:if test='${bbsFiles.tBbsData.bbsDataIdx == bbsDataList._bbsDataIdx}'>
 												<a class="hover-link" href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFiles.bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFiles.bbsFileName}' /> <s:message code="common.message.down"/>">
-													<img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
+													<img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
 												</a>
 												</c:if>
 											</c:forEach>
src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataView.jsp
--- src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/manager/bbs/bbs/bbsDataView.jsp
@@ -48,7 +48,7 @@
 						<div class="item-box">
 							<c:forEach items="${bbsFileList}" var="bbsFileList" varStatus="status">
 							<p class="bbsFileList">
-								<img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" /> 
+								<img src="/img/icon/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" /> 
 								<a href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /> <s:message code="common.message.down"/>"><c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /></a>
 								<% if(filepreview.equals("true")){ %>
 								<c:choose>
src/main/webapp/WEB-INF/jsp/sym/site/faviconFileView.jsp
--- src/main/webapp/WEB-INF/jsp/sym/site/faviconFileView.jsp
+++ src/main/webapp/WEB-INF/jsp/sym/site/faviconFileView.jsp
@@ -84,6 +84,7 @@
 	<input type="hidden" name="menuName" value="favicon" />
 	<input type="hidden" name="fmsId" value="<c:out value='${faviconFileVO.faviconFileId}' />" />
 	<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
+	<input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 -->
 	
 	<div class="contWrap">
 		<div class="pageTitle">
@@ -148,7 +149,8 @@
 		                        			<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
 												<tr class="item_<c:out value='${fileList.atchFileId}' />_<c:out value='${fileList.fileSn}' /> uploaded_obj">
 													<td class="file_name">
-														<img src="/direct/img/upload_hwp_img.png" alt="" /><span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
+														<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
+														<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
 													</td>
 													<td><span class="file_size_text" value="<c:out value='${fileList.fileMg}' />"></span></td>
 													<td><c:out value='${fileList.creatDt}' /></td>
src/main/webapp/WEB-INF/jsp/user/bbs/bbs/bbsDataList.jsp
--- src/main/webapp/WEB-INF/jsp/user/bbs/bbs/bbsDataList.jsp
+++ src/main/webapp/WEB-INF/jsp/user/bbs/bbs/bbsDataList.jsp
@@ -769,10 +769,10 @@
 
 															<c:choose>
 															<c:when test='${tBbsSetDB.bbsSetSkinCode == "basic"}'>
-															<img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
+															<img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
 															</c:when>
 															<c:otherwise>
-															<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
+															<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
 															</c:otherwise>
 															</c:choose>
 
@@ -1158,10 +1158,10 @@
 
 															<c:choose>
 															<c:when test='${tBbsSetDB.bbsSetSkinCode == "basic"}'>
-															<img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
+															<img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
 															</c:when>
 															<c:otherwise>
-															<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
+															<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
 															</c:otherwise>
 															</c:choose>
 
src/main/webapp/WEB-INF/jsp/uss/ion/bnr/bannerList.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/bnr/bannerList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/bnr/bannerList.jsp
@@ -151,7 +151,7 @@
 								</c:if>								
 							</p>
 							<a href="" class="img_area">
-								<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
+								<img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
 							</a>
 							<a href="/" class="text_area">
 								<p class="list_tit">${result.pozNm}</p>
src/main/webapp/WEB-INF/jsp/uss/ion/fms/FmsFileModify.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/fms/FmsFileModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/fms/FmsFileModify.jsp
@@ -117,6 +117,7 @@
 	
 	<!-- 드래그앤 드롭 파라미터 -->
 	<input type="hidden" name="limitcount" value="50" />
+	<input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 -->
 	
 	<!-- cont -->
 	<div class="cont_wrap">
@@ -214,6 +215,7 @@
 														<td class="td_filename">
 															<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
 															<span class="file_name_text"><c:out value='${fileList.orignlFileNm}' /></span>
+															<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
 														</td>
 														<td class="td_filesort">
 															<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainZoneModify.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainZoneModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainZoneModify.jsp
@@ -59,6 +59,17 @@
 		var td_name = document.createElement('td');
 		td_name.className = "td_filename";
 		td_name.innerHTML = '<span class="file_name_text">' + fname + '</span>';
+		// 이미지 파일이면 미리보기 버튼 (ncms_common.js 공통 팝업)
+		if (/^(jpe?g|png|gif)$/.test(ext) && element.files && element.files[0] && window.URL) {
+			var previewUrl = URL.createObjectURL(element.files[0]);
+			var btnPreview = document.createElement('button');
+			btnPreview.type = 'button';
+			btnPreview.className = "btn line primary ssmall";
+			btnPreview.style.marginLeft = "10px";
+			btnPreview.innerHTML = '미리보기';
+			btnPreview.onclick = function(){ fn_open_image_popup(previewUrl); return false; };
+			td_name.appendChild(btnPreview);
+		}
 		new_row.appendChild(td_name);
 
 		/* 2. 종류(확장자) TD */
@@ -270,7 +281,7 @@
 											<input type="hidden" name="limitcount" value="1" /><!-- 최대 업로드 파일갯수 -->
 
 											<div class="content_title">
-												<h3>메인관리</h3>
+												<h3>메인비주얼 등록/수정</h3>
 												<ol class="breadcrumb">
 													<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
 													<li><a href="#">메인관리</a></li>
@@ -295,7 +306,7 @@
 																</c:if>
 																<c:if test="${mainzoneVO.mazId != ''}">
 																	<img alt="${mainzoneVO.content}"
-																		onerror="this.src='/img/no_img.jpg'"
+																		onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'"
 																		src='<c:url value='
 																		/uss/ion/pwm/getImage.do' />?atchFileId=
 																	<c:out value="${mainzoneVO.mainzoneImageFile}" />'
@@ -402,6 +413,10 @@
 																						<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
 																							<span class="file_name_text">${fileList.orignlFileNm}</span>
 																						</a>
+																						<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/>
+																						<c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}">
+																							<button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button>
+																						</c:if>
 																					</td>
 																					<td class="td_filesort">
 																						<span class="file_filesort_text"
src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainzoneList.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainzoneList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/MainzoneList.jsp
@@ -127,7 +127,7 @@
 	<input type="hidden" name="pageType" />
 	
 	<div class="content_title">
-	  <h3>메인관리</h3>
+	  <h3>메인비주얼관리</h3>
 	  <ol class="breadcrumb">
 	    <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
 	    <li><a href="#">메인관리</a></li>
@@ -163,7 +163,7 @@
 						<span class="status gray">미사용</span>
 					</c:if>
 					<div class="images_area">
-	                  <img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt="">
+	                  <img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt="">
 	                </div>
 	                <div class="list_content">
 	                  <b class="list_title">${result.mazNm}</b>
src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupZoneModify.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupZoneModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupZoneModify.jsp
@@ -152,6 +152,7 @@
 	<input type="hidden" name="menuName" value="popupzone" />
 	<input type="hidden" name="fmsId" value="${popupzoneVO.pozId}" />
 	<input type="hidden" name="limitcount" value="1" />
+	<input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 -->
 	
 	<div class="content_title">
 	  <h3>알림창 등록/수정</h3>
@@ -179,7 +180,7 @@
 								<div class="imgBox"></div>
 						</c:if>
 						<c:if test="${popupzoneVO.pozId != ''}">
-							<img alt="${popupzoneVO.content}" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${popupzoneVO.popupzoneImageFile}"/>'  style="max-width:300px;padding: 10px;" />
+							<img alt="${popupzoneVO.content}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${popupzoneVO.popupzoneImageFile}"/>'  style="max-width:300px;padding: 10px;" />
 						</c:if>						
 					</td>
 				</tr>
@@ -327,7 +328,7 @@
 							</span>입니다.</p>
 						</div>
 					</td> --%>
-					<td class="file_upload_wrap">
+					<td class="file_upload_wrap upload_area">
 						<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
 						<div class="file_top">
 							<button type="button" id="filebutton" class="btn medium line primary">파일 첨부하기</button>
@@ -380,6 +381,7 @@
 												<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
 													<span class="file_name_text">${fileList.orignlFileNm}</span>
 												</a>
+												<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
 											</td>
 											<td class="td_filesort">
 												<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupzoneList.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupzoneList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/PopupzoneList.jsp
@@ -107,7 +107,7 @@
 	<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
 	
 	<div class="content_title">
-	  <h3>메인관리</h3>
+	  <h3>알림창 관리</h3>
 	  <ol class="breadcrumb">
 	    <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
 	    <li><a href="#">메인관리</a></li>
@@ -146,7 +146,7 @@
 						<span class="status gray">미사용</span>
 					</c:if>								
 					<div class="images_area">
-						<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>" alt="">
+						<img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>" alt="">
 					</div>
 					<div class="list_content">
 						<b class="list_title">${result.pozNm}</b>
src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialList.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialList.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialList.jsp
@@ -197,7 +197,7 @@
 								  </li>
 							</c:if>
 							</ul>
-							<div class="imgBox"><img onerror="this.src='/img/noImg.png'" src="<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.socialImageFile}"/>" alt=""></div>
+							<div class="imgBox"><img onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src="<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.socialImageFile}"/>" alt=""></div>
 							<div class="listInfo">
 								<h3>${result.socialSj}</h3>
 								<table>
src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialModify.jsp
--- src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialModify.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/pwm/SocialModify.jsp
@@ -128,6 +128,7 @@
 	<input type="hidden" name="menuName" value="social" />
 	<input type="hidden" name="fmsId" value="${socialVO.socialId}" />
 	<input type="hidden" name="limitcount" value="1" />
+	<input type="hidden" name="filePreviewYn" value="Y" /><!-- 이미지 첨부 시 미리보기 버튼 노출 -->
 	<input type="hidden" name="fileNece" id="fileNece" value="Y" />  <!-- 파일첨부 필수 -->
 	
 	<div class="contWrap">
@@ -154,7 +155,7 @@
 									<div class="imgBox"></div>
 							</c:if>
 							<c:if test="${socialVO.socialId != ''}">
-								<img alt="${socialVO.socialSj}" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${socialVO.socialImageFile}"/>'  style="max-width:300px;padding: 10px;" />
+								<img alt="${socialVO.socialSj}" onerror="this.onerror=null;this.src='/publish/adm/images/content/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${socialVO.socialImageFile}"/>'  style="max-width:300px;padding: 10px;" />
 							</c:if>
 						</td>
 					</tr>
@@ -278,6 +279,7 @@
 													<img src="/direct/img/upload_hwp_img.png" alt="" />
 													<span class="file_name_text">${fileList.orignlFileNm}</span>
 													</a>
+												<c:set var="_ext" value="${fn:toLowerCase(fileList.fileExtsn)}"/><c:if test="${_ext eq 'jpg' or _ext eq 'jpeg' or _ext eq 'png' or _ext eq 'gif'}"><button type="button" class="btn line primary ssmall" style="margin-left:10px;" onclick="fn_saved_file_preview('<c:out value='${fileList.atchFileId}'/>', '<c:out value='${fileList.fileSn}'/>'); return false;">미리보기</button></c:if>
 												</td>
 												<td><span class="file_size_text" value="${fileList.fileMg}"></span></td>
 												<td>${fileList.creatDt}</td>
src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrDetail.jsp
--- src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrDetail.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrDetail.jsp
@@ -178,7 +178,7 @@
 								<c:forEach var="fileVO" items="${schdlrReqFileList}" varStatus="status">
 								<tr id="trAtchFile_<c:out value="${fileVO.atchFileId}_${status.count}" />">
 									<td class="file_title">
-										<%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.src='/direct/img/enroll_etc_file.png'"> --%>
+										<%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_etc_file.png'"> --%>
 										<img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png">
 										<a href="javascript:atchFileDown('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
 											<c:out value="${fileVO.orignlFileNm}"/>
src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrUpdate.jsp
--- src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrUpdate.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/itsm/schdlr/schdlrUpdate.jsp
@@ -882,7 +882,7 @@
 								<c:forEach var="fileVO" items="${schdlrReqFileList}" varStatus="status">
 								<tr id="trAtchFile_<c:out value="${fileVO.atchFileId}_${status.count}" />">
 									<td class="file_title">
-										<%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.src='/direct/img/enroll_etc_file.png'"> --%>
+										<%-- <img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_etc_file.png'"> --%>
 										<img src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png">
 										<a href="javascript:atchFileDown('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
 											<c:out value="${fileVO.orignlFileNm}"/>
@@ -1035,7 +1035,7 @@
 									<c:forEach var="fileVO" items="${cmplntReqFileList}" varStatus="status">
 									<tr id="trReqFile_<c:out value="${fileVO.atchFileId}_${status.count}" />">
 										<td class="file_title">
-											<img id="atchFileIcon" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.src='/direct/img/enroll_jpg_file.png'">
+											<img id="atchFileIcon" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileVO.fileExtsn)}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_jpg_file.png'">
 											<a href="javascript:atchFileDown('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
 												<c:out value="${fileVO.orignlFileNm}"/>
 											</a>
@@ -1151,7 +1151,7 @@
 															<c:forEach var="fileNm" items="${resFileNms}" varStatus="status">
 															<c:set var="fileExt" value="${fn:split(fileNm, '.') }" />
 															<td>
-																<img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.src='/direct/img/enroll_jpg_file.png'">
+																<img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_jpg_file.png'">
 																<a href="javascript:atchFileDown('<c:out value="${listResult.cmplntResFileId}"/>','<c:out value="${resFileSns[status.index]}"/>')">
 																	<c:out value="${fileNm}" />
 																</a>
@@ -1194,7 +1194,7 @@
 														<c:set var="fileExt" value="${fn:split(fileNm, '.') }" />
 														<tr>
 															<td>
-																<img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.src='/direct/img/enroll_jpg_file.png'">
+																<img id="" src="/direct/img/enroll_<c:out value="${fn:toLowerCase(fileExt[fn:length(fileExt)-1])}" />_file.png" onerror="this.onerror=null;this.src='/direct/img/enroll_jpg_file.png'">
 																<a href="javascript:atchFileDown('<c:out value="${listResult.cmplntReqFileId}"/>','<c:out value="${fileSns[status.index]}"/>')">
 																	<c:out value="${fileNm}" />
 																</a>
src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoList.jsp
--- src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoList.jsp
@@ -214,10 +214,10 @@
 				            			<div class="images_area">
 				            				<c:choose>
 												<c:when test="${result.atchFileCnt > 0}">
-													<img alt="${result.nttSj}" onerror="this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
+													<img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
 												</c:when>
 												<c:otherwise>
-													<img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.src='/publish/usr/images/common/no_image.jpg'" />
+													<img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" />
 												</c:otherwise>
 											</c:choose>
 				            			</div>
@@ -236,10 +236,10 @@
 			                            </p>
 			                            <c:choose>
 											<c:when test="${result.atchFileCnt > 0}">
-												<img alt="${result.nttSj}" onerror="this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
+												<img alt="${result.nttSj}" onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
 											</c:when>
 											<c:otherwise>
-												<img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.src='/publish/usr/images/common/no_image.jpg'" />
+												<img alt="이미지없음" src='<c:url value='/publish/usr/images/common/no_image.jpg'/>' onerror="this.onerror=null;this.src='/publish/usr/images/common/no_image.jpg'" />
 											</c:otherwise>
 										</c:choose>
 										</a>
src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoListAjax.jsp
--- src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoListAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/cop/bbs/EgovNoticePhotoListAjax.jsp
@@ -38,10 +38,10 @@
 	            </div>
 	            <c:choose>
 				<c:when test="${result.atchFileCnt > 0}">
-					<img onerror="this.src='/img/post/no-img.png'" alt="첨부파일" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
+					<img onerror="this.onerror=null;this.src='/img/post/no-img.png'" alt="첨부파일" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>'/>
 				</c:when>
 				<c:otherwise>
-					<img alt="이미지 없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.src='/img/post/no-img.png'" />
+					<img alt="이미지 없음" src='<c:url value='/img/post/no-img.png'/>' onerror="this.onerror=null;this.src='/img/post/no-img.png'" />
 				</c:otherwise>
 				</c:choose>
 	     	</div>
src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataList.jsp
--- src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataList.jsp
@@ -673,10 +673,10 @@
 
 															<c:choose>
 															<c:when test='${tBbsSetDB.bbsSetSkinCode == "basic"}'>
-															<img src="/img/web/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
+															<img src="/img/web/user/bbs/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
 															</c:when>
 															<c:otherwise>
-															<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
+															<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsSetDB.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFiles.bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/web/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFiles.bbsFileName}' />" />
 															</c:otherwise>
 															</c:choose>
 
src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataView.jsp
--- src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/bbs/bbs/bbsDataView.jsp
@@ -160,10 +160,10 @@
 										<a href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${bbsSetIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${bbsFileList._bbsFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${bbsFileList._bbsFileName}' /> <s:message code="common.message.down"/>">
 										<c:choose>
 										<c:when test='${tBbsDataDB.tBbsSet.bbsSetSkinCode == "basic"}'>
-										<img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
+										<img src="/img/user/bbs/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
 										</c:when>
 										<c:otherwise>
-										<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsDataDB.tBbsSet.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
+										<img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/bbs/skin/<c:out escapeXml='true' value='${tBbsDataDB.tBbsSet.bbsSetSkinCode}' />/_images/icon_<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' />.gif" onerror="this.onerror=null;this.src='/img/user/bbs/icon_file.gif';" alt="<c:out escapeXml='true' value='${bbsFileList._bbsFileType}' /> icon" />
 										</c:otherwise>
 										</c:choose>
 										<c:out escapeXml='true' value='${bbsFileList._bbsFileName}' />
Add a comment
List