forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: refreshingera on February 11, 2006, 04:00:48 am

Title: Image not showing upon clicking thumbnail
Post by: refreshingera on February 11, 2006, 04:00:48 am
Im sorry if this has been previously posted, but i'm kinda new to coppermine, so i have a question.

My images upon batch uploading comes up well, but upon clicking thumbnail to view the picture, this comes up.

Code: [Select]
Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_button -->)#s) in :

        <tr width="100%">
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" style="width:48;cursor:hand" onmouseover="this.style.backgroundColor='C8C8C8';"onmouseout="this.style.backgroundColor='A6A6A6';">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>


Normally, i would try to figure out how to solve it, but i'm afraid i might change something wrongly. Has it something to do with a wrong code in the template or sth?

if you wish to see the gallery, heres the link : http://ww.refreshing-aly.teen-lovely.com/gallery (http://www.refreshing-aly.teen-lovely.com/gallery)

Please help. Or you can email me at alysonraestoner@gmail.com. Thanks! Every help is appreciated. :)
Title: Re: Image not showing upon clicking thumbnail
Post by: Nibbler on February 11, 2006, 04:03:51 am
You need to update your custom theme to work with 1.4 following the instructions provided in the documentation. Until you do that you can switch to one of the themes that comes with the package.
Title: Re: Image not showing upon clicking thumbnail
Post by: refreshingera on February 11, 2006, 04:10:07 am
So that means i need to update the gallery to the latest version or sth? Btw, thanks for the fast reply. :)
Title: Re: Image not showing upon clicking thumbnail
Post by: refreshingera on February 11, 2006, 04:13:23 am
I think i got it. Thanks for the solution! ^_^