|
|
|
@ -214,7 +214,8 @@ $_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.'&credentials='.$credentials; |
|
|
|
|
$pixlr_protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') ? 'https' : 'http'; |
|
|
|
|
$pixlr_url = $pixlr_protocol.'://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 |
|
|
|
|
?> |
|
|
|
|