Quote:
I installed this module, created an album.....and uploaded a picture.....but on the main page of the module, the picture is not shown....the same is un admin page....though the picture is uploaded correctly.....
what's wrong whith it?
I have the same problem with version 2.0 ...
In fact, you could upload image but there is an error in
admin/admission.php ...
If you have modify the path for images, then the base path stil hard-coded in the file (lines 80 -> 92) :
while( list( $lid , $cid , $title , $submitter , $ext ) = $xoopsDB->fetchRow( $prs ) ) {
$oddeven = ( $oddeven == 'odd' ? 'even' : 'odd' ) ;
$title = $myts->makeTboxData4Edit( $title ) ;
$cat = $cattree->getNicePathFromId( $cid , "title", "../viewcat.php?" ) ;
echo "
<tr>
<td class='$oddeven'>".$xoopsUser->getUnameFromId($submitter)."</td>
<td class='$oddeven'><a href='../photos/{$lid}.{$ext}' target='_blank'>$title</a></td>
<td class='$oddeven'>$cat</td>
<td class='$oddeven'><input type='checkbox' name='ids[]' value='$lid'></td>
</tr>\n" ;
}
I don't search to change it and I will test for version 2.5