1
create backup main file xoops\modules\myalbum\photo.php
if you get error, for to return into the default position.
open file xoops\modules\myalbum\photo.php
find (line 68 )
$fullcountresult = $xoopsDB->query( "SELECT lid FROM $table_photos WHERE cid=$cid AND status>0 ORDER BY {$myalbum_orders[$orderby][0]}" ) ;
$ids = array() ;
while( list( $id ) = $xoopsDB->fetchRow( $fullcountresult ) ) {
$ids[] = $id ;
}
replace
$fullcountresult = $xoopsDB->query( "SELECT lid, title, ext FROM $table_photos WHERE cid=$cid AND status>0 ORDER BY {$myalbum_orders[$orderby][0]}" ) ;
$ids = array() ;
while( list( $id, $title, $ext) = $xoopsDB->fetchRow( $fullcountresult ) ) {
$ids[] = $id ;
$ide[] = $ext ;
$idt[] = $title ;
}
find (line 102 )
$photo_nav .= "$i ";
replace
$photo_nav .= "FILTER: Alpha( style=0,opacity=25) gray" src='$thumbs_url/".$ids[$i-1].".".$ide[$i-1]."' alt='".$idt[$i-1]."' height='60' > ";
note:
style=\"FILTER: Alpha( style=0,opacity=25) gray\" it works only Internet Explorer
height='60' change height value how would you like
find (line 104)
replace
note:
height='60' change height value how would you like
it was
http://img490.imageshack.us/my.php?image=16uy.jpgit became
http://img207.imageshack.us/my.php?image=27cp.jpgend