Lines Matching +full:d +full:- +full:tech
6 * url http://openwiki.kr/tech/livemark
8 * bASED ON iReflect Plugin https://github.com/i-net-software/dokuwiki-plugin-reflect
20 $controller->register_hook('MEDIA_SENDFILE', 'BEFORE', $this, 'livemark__livemark');
25 $data = $event->data;
34 ($mtime < time()-$cache) // 'recache' and cache has expired
36 if ( $this->create_watermark_image( $data, $cacheFile ) ) {
40 $event->data = $data;
57 if ($width<$this->getConf('minsize')) return false;
71 $output = $this->imagewatermark($source, $width, $height);
76 …// If you'd rather output a JPEG instead of a PNG then pass the parameter 'jpeg' (no value needed)…
77 if ( substr($cache_path, -3) == 'png' ) {
79 } else if ( substr($cache_path, -3) == 'jpg' ) {
99 …$watermark =imagecreatefrompng($this->getConf('watermark_path'));//'../plugins/livemark/livemark.p…
101 $size=$this->getConf('size')/100;
105 $dest_x = ($src_width - $watermark_width)/2-$src_width*(0.5-$this->getConf('horizontal')/100);
106 $dest_y = ($src_height - $watermark_height)/2-$src_height*(0.5-$this->getConf('vertical')/100);