Changeset 17139 for extensions
- Timestamp:
- Jul 26, 2012, 5:27:28 PM (12 years ago)
- Location:
- extensions/lightbox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lightbox/functions.inc.php
r12856 r17139 9 9 if (in_array($ext, $conf['picture_ext'])) 10 10 { 11 return get_root_url().$picture['path'];11 return DerivativeImage::url(IMG_LARGE, new SrcImage($picture)); 12 12 } 13 13 elseif (isset($py_addext) and in_array($ext, $py_addext)) -
extensions/lightbox/lightbox.php
r13654 r17139 8 8 $selector = 'a[rel=colorbox'.$conf['lightbox_rel'].']'; 9 9 10 $template->func_combine_script(array('id'=>'jquery.colorbox', 'path'=>'plugins/lightbox/js/jquery.colorbox.js') , $smarty);11 $template->func_combine_script(array('id'=>'core.scripts', 'path'=>'themes/default/js/scripts.js') , $smarty);12 $template->func_combine_css(array('path'=>'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css') , $smarty);10 $template->func_combine_script(array('id'=>'jquery.colorbox', 'path'=>'plugins/lightbox/js/jquery.colorbox.js')); 11 $template->func_combine_script(array('id'=>'core.scripts', 'path'=>'themes/default/js/scripts.js')); 12 $template->func_combine_css(array('path'=>'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css')); 13 13 $template->block_html_head('',' 14 14 <script type="text/javascript"> … … 39 39 </script> 40 40 <style type="text/css">img.cboxPhoto { max-width: none; }</style> 41 ' , $smarty, $repeat);41 '); 42 42 43 43 foreach($tpl_thumbnails_var as $key => $tpl_var)
Note: See TracChangeset
for help on using the changeset viewer.