보통 스마트에디터 등의 DHTML 에디터를 많이 사용하지만,한번 올린 이미지는 삭제되지 않고, 계속 쌓이기만 합니다.쓸데없이 서버의 디스크 공간만 차지 하고, 쓰이지도 않는 이미지 파일들을 한번에 정리하고자 만들었습니다.무식하게 파일마다, 모든 DHTML 에디터를 사용한 Table이 있는지 다 뒤져서 판별하기 때문에 서버에 많은 부하를 줄 수 있습니다.사용하실 분은 꼭 소스 확인 해 보시고, 이해를 하신 뒤에 쓰시기를 권장합니다.업무가 바쁜 관계로 후다닥 만들어서 완성도에 문제가 있을 수 있으므로,사용하실 분들은 꼭 /data/ed…
<style type="text/css">#item { display: inline-block; }#item img:last-child { position: absolute; top: 0; left: 0; display: none;} </style><div class="item"> <img src="img1.jpg"> <img src="img2.jpg"></div><script>$(…
<script src="<?php echo G5_JS_URL; ?>/lazyload.min.js"></script><div class="view-wrap">~~~~~~~~~~~~ <div class="view-content"> ~~~~~~~~~~~ 내용이미지 </div></div><script>// img에 lazyload class 추가 $(".view-content img"…
## 원격 이미지 액박검사 || 유효성검사 function FileExitsCheck($Qt) { $tosskorea = curl_init(); curl_setopt($tosskorea, CURLOPT_URL,$Qt); // don't download content curl_setopt($tosskorea, CURLOPT_NOBODY, 1); curl_setopt($tosskorea, CURLOPT_FAILONERROR, 1); curl_setopt($tosskorea, CURLOPT_RE…
//URL of the remote file that you want to get//the file size of.$remoteFile = 'http://site.com/file.mp4';//Create a cURL handle with the URL of//the remote file.$curl = curl_init($remoteFile);//Set CURLOPT_FOLLOWLOCATION to TRUE so that our//cURL request follows any redirects.curl_setopt($curl, CURL…
1. windows + R 누른 후 cmd 실행2. 해당 폴더이동3. dir /b > list.txt 입력
<img class="xyz" data-alt-src="http://cdn1.iconfinder.com/data/icons/fatcow/32/accept.png" src="http://cdn1.iconfinder.com/data/icons/fatcow/32/cancel.png" /><br/><img class="xyz" data-alt-src="http://cdn1.iconfinder.com/data/icons/fatcow/3…
html 상의 input:file에서 선택한 이미지 파일을 서버에 업로드하지 않고 미리보기하는 방법은 크게 2가지임.하나는 FileReader를 이용하는 방법이고, 하나는 IE 전용 filter를 이용하는 방법.FileReader의 경우 왠만한 최신 브라우저는 다 지원함.http://caniuse.com/#feat=filereader <- 지원하는 브라우저는 여기서 확인가능.IE의 경우 IE10부터 FileReader가 있고 그 하위버전은 filter를 이용해야 함.개인적으로 로컬 이미지 파일 미리보기를 테스트해서 성공한 브라…
<?php$width = 400;$height = 400;?><script type="text/javascript"> $(document).ready(function () { // 아래 코드는 모든 이미지 파일의 이미지명을 얻어, // /bigs/ 폴더에 있는 동일한 이미지를 div에 보여준다. $('#product img').mouseover(function () { $("#showImage").show(); // 이미지 보여줄 레이이 보이기 var imgSrc = …
<script> $( document ).ready( function() { $("#content img").attr({"width":"", "height":""}).css({"max-width": "100%"}); $("#content img").css({"width":"", "height":"", "…
株式会社YHPLUS / 대표 : ZERO
〒171-0014 東京都豊島区池袋2-41-5 アーバン154 8F
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d