Changeset 856

Show
Ignore:
Timestamp:
01/24/07 17:16:15 (2 years ago)
Author:
ben
Message:

Images in the photo gallery now work as intended.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/photogallery/css

    r845 r856  
    2929      width:200px; 
    3030      height:200px; 
    31       background-color: #eee; 
    3231      text-align: center; 
    3332    } 
  • devel/mod/photogallery/lib.php

    r845 r856  
    2020        $metatags .= file_get_contents($CFG->dirroot . "mod/photogallery/css"); 
    2121        $metatags .= <<< END 
    22          
     22        <script type="text/javascript"> 
     23            var elggWwwRoot = "{$CFG->wwwroot}"; 
     24        </script> 
    2325        <script type="text/javascript" src="{$CFG->wwwroot}mod/photogallery/lightbox/js/prototype.js"></script> 
    2426        <script type="text/javascript" src="{$CFG->wwwroot}mod/photogallery/lightbox/js/scriptaculous.js?load=effects"></script> 
  • devel/mod/photogallery/lightbox/js/lightbox.js

    r846 r856  
    6161// 
    6262 
    63 var fileLoadingImage = "images/loading.gif"; 
    64 var fileBottomNavCloseImage = "images/closelabel.gif"; 
     63var fileLoadingImage = elggWwwRoot + "mod/photogallery/lightbox/images/loading.gif"; 
     64var fileBottomNavCloseImage = elggWwwRoot + "mod/photogallery/lightbox/images/closelabel.gif"; 
    6565 
    6666var resizeSpeed = 10;   // controls the speed of the image resizing (1=slowest and 10=fastest)