|
|
|
@ -151,6 +151,7 @@ $target=$target_path; |
|
|
|
|
|
|
|
|
|
$locktarget="true"; |
|
|
|
|
$locktitle="false"; |
|
|
|
|
$credentials="true"; |
|
|
|
|
|
|
|
|
|
//make temp images |
|
|
|
|
$temp_folder=api_get_path(SYS_ARCHIVE_PATH).'temp/images'; |
|
|
|
@ -194,7 +195,7 @@ $_SESSION['temp_realpath_image']=$to; |
|
|
|
|
//load image to url |
|
|
|
|
$to_url=api_get_path(WEB_ARCHIVE_PATH).'temp/images/'.$file_crip; |
|
|
|
|
$image=urlencode($to_url); |
|
|
|
|
$pixlr_url = 'http://pixlr.com/editor/?title='.$title.'&image='.$image.'&loc='.$loc.'&referrer='.$referrer.'&target='.$target.'&exit='.$exit_path.'&locktarget='.$locktarget.'&locktitle='.$locktitle; |
|
|
|
|
$pixlr_url = 'http://pixlr.com/editor/?title='.$title.'&image='.$image.'&loc='.$loc.'&referrer='.$referrer.'&target='.$target.'&exit='.$exit_path.'&locktarget='.$locktarget.'&locktitle='.$locktitle.'&credentials='.$credentials; |
|
|
|
|
|
|
|
|
|
//make frame an send image |
|
|
|
|
echo '<iframe style="height: 600px; width: 100%;" scrolling="no" frameborder="0" src="'.$pixlr_url.'">'; |
|
|
|
|