A PHP Error was encountered

Severity: Warning

Message: fopen(/var/lib/php/sessions/ci_session_ciboard5bs4m24t5tumqp3kj169k99fp70daghg): failed to open stream: No space left on device

Filename: drivers/Session_files_driver.php

Line Number: 177

Backtrace:

File: /home/ciboard/www/application/core/CB_Controller.php
Line: 68
Function: __construct

File: /home/ciboard/www/application/controllers/Board_post.php
Line: 30
Function: __construct

File: /home/ciboard/www/index.php
Line: 350
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Failed to read session data: user (path: /var/lib/php/sessions)

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/ciboard/www/application/core/CB_Controller.php
Line: 68
Function: __construct

File: /home/ciboard/www/application/controllers/Board_post.php
Line: 30
Function: __construct

File: /home/ciboard/www/index.php
Line: 350
Function: require_once

게시판 첨부 이미지 클릭시 새창 안뜨고 오리지날 이미지로 확대축소만 하기 > 팁&테크 - 씨아이보드 :: 코드이그나이터 게시판 오픈소스
코드이그나이터 기반 PHP 오픈소스 게시판 : 씨아이보드

게시판 첨부 이미지 클릭시 새창 안뜨고 오리지날 이미지로 확대축소만 하기

  • 옹박
  • 0
  • 2,842
  • 글주소
  • 04-23


$(document).on('click', '.view_full_image', function() {

if($(this).attr('src') == $(this).attr('data-origin-image-url')){

$(this).attr('src',$(this).attr('data-origin-src'));

$(this).attr('data-origin-src','');

} else {

$(this).attr('data-origin-src',$(this).attr('src'));

$(this).attr('src',$(this).attr('data-origin-image-url'));

}

/* 기존코드

window.open( cb_url + '/helptool/viewimage?imgurl=' + encodeURIComponent($(this).attr('data-origin-image-url')),

'large_image', 'location=yes,links=no,toolbar=no,top=10,left=10,width=300,height=10,resizable=yes,scrollbars=no,status=no');


*/

return false;

});