forum.coppermine-gallery.net

Support => cpg1.5 themes (visuals) => cpg1.5.x Support => cpg1.5 theme contributions => Topic started by: Shane on September 01, 2010, 04:28:19 am

Title: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Shane on September 01, 2010, 04:28:19 am
Here is a clean little template I have finally gotten right.

The header image is named header.jpg.  Size of the header image must be 940px wide by 198 px high.  Image is saved as /images/headers/header.jpg.
I have moved the file information on the intermediate page from below the picture to right of the picture.
I have also truncated the album description on the album list page and included the entire album description above the thumbnails on the thumbnail page.  For a family style site, this allows you to include your story on the same page as your photos.

Thanks to everyone who answered questions along the way while I was working on this.

{modified post - attached .zip of corrected files to this post}
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: taucher_0815 on September 01, 2010, 08:25:09 am
Want to give this a try but the following error appears when viewing an intermediate image:

Code: [Select]
Fatal error: Cannot redeclare html_picinfo() (previously declared in /var/www/some_more/coppermine/displayimage.php:107) in /var/www/some_more/coppermine/themes/twentyten/theme.php on line 985
http://www.sk-foto.info/?theme=twentyten
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Nibbler on September 01, 2010, 08:39:25 pm
That function needs to be removed from the theme.php. Only functions that are defined in include/themes.inc.php can be overridden by a theme.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Shane on September 02, 2010, 01:38:51 am
Taucher,

Please try the .zip attached to this message.

I removed the mod to show the pic info on the right of the intermediate image, and moved the function back to its rightful place.

Please let me know if it doesn't work for you.

Shane
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: taucher_0815 on September 02, 2010, 08:02:23 am
Hi Shane!

Looks a bit better... But no Image is displayed. Only a blank placeholder...

Sven
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Shane on September 02, 2010, 02:17:08 pm
Taucher,
Can you attach a view of your page source?  I included my header.jpg image in the correct folder, and the link in the template.html file works fine on my site.  I'd like to see what the code generates on yours.

Shane
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: taucher_0815 on September 02, 2010, 02:38:49 pm
Shane!

Attached is the resulting HTML-Code.

Code: [Select]
<body>
<div id="wrapper" class="hfeed">
<div id="header">
<div id="masthead">
<div id="branding" role="banner">

<span><div id="site-title">
<b>1/640 Sekunde</b>

</div></span>

<div id="site-description">Sport- und Pressefotos</div>
<!-- header image to be size 940px by 198px -->
<img alt="photo frame" src="themes/twentyten/images/headers/header.jpg" width="940px" height="198px" border="0" />
<!-- END header image -->
</div><!-- #branding -->

<div id="access" role="navigation">
<div class="menu-header">

 
<ul class="dropmenu">
<!-- BEGIN home -->
                <li>
                    <a href="index.html" title="Gehe zur Startseite" class="firstlevel"><span class="firstlevel"><img src="images/icons/home.png" border="0" alt="" width="16" height="16" class="icon" />Startseite</span></a>
                    <ul>
                    <!-- BEGIN contact -->
                                <li>
                                    <a href="contact.html?referer=displayimage.php%3Falbum%3D180%26pid%3D26319" title="Tritt mit 1/640 Sekunde in Kontakt"><span><img src="images/icons/contact.png" border="0" alt="" width="16" height="16" class="icon" />Kontakt</span></a>

                                </li>
                    <!-- END contact -->
                    <!-- BEGIN sidebar -->
                                    <li>
                                        <a href="sidebar.php?action=install" title="Füge eine Sidebar zu Deinem Browser hinzu"><span><img src="images/icons/sidebar.png" border="0" alt="" width="16" height="16" class="icon" />Sidebar</span></a>
                                    </li>
                    <!-- END sidebar -->
                    

                    
                    </ul>
                </li>


<!-- END home -->
<!-- BEGIN blog home -->
                <li><a href="http://shaneandpamela.com/wp/index.html" title="Go to the Blog home page" target="_blank"><img src="images/icons/home.png" border="0" alt="" width="16" height="16" class="icon" />Blog Home Page</a></li>
<!-- END blog home -->


<!-- BEGIN register -->
                <li>
                    <a href="register.php" title="Erzeuge ein Benutzerkonto" class="firstlevel"><span class="firstlevel"><img src="images/icons/add_user.png" border="0" alt="" width="16" height="16" class="icon" />Registrieren</span></a>
                </li>

<!-- END register -->
<!-- BEGIN login -->
                <li>
                    <a href="login.php?referer=displayimage.php%3Falbum%3D180%26pid%3D26319" title="Anmelden" class="firstlevel"><span class="firstlevel"><img src="images/icons/login.png" border="0" alt="" width="16" height="16" class="icon" />Anmelden</span></a>
                </li>
<!-- END login -->

</ul>


<ul class="dropmenu">
<!-- BEGIN custom_link -->
                <li>

                    <a href="impressum.html" title="Impressum" class="firstlevel"><span class="firstlevel">Impressum</span></a>
                </li>
<!-- END custom_link -->

<!-- BEGIN search -->
                <li>
                    <a href="search.html" title="Suche" class="firstlevel"><span class="firstlevel"><img src="images/icons/search.png" border="0" alt="" width="16" height="16" class="icon" />Suche</span></a>
                </li>
<!-- END search -->
</ul>

                

</div>
</div><!-- #access -->
<div id="access" role="navigation"></div>
</div><!-- #masthead -->
</div><!-- #header -->

<div id="main">
<div id="container">
<div id="content" role="main">


<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">

        <tr>
            <td colspan="3" align="left" class="tableh1">
                <span class="statlink"><a href="index.html">Galerie</a> > <a href="index-26.html">Wassersport</a> > <a href="thumbnails-180-_20100822_Wakeboarding_am_Roberto_Beach_.html">20100822 Wakeboarding am Roberto Beach</a></span>

            </td>
        </tr>
</table>
<!-- End standard table -->
<a name="top_display_media"></a>
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48"><a href="thumbnails-180-page-1.html" class="navmenu_pic" title="zurück zur Thumbnail-Seite"><img src="images/navbar/thumbnails.png" align="middle" border="0" alt="zurück zur Thumbnail-Seite" /></a></td>
<!-- BEGIN pic_info_button -->
                <!-- button will be added by displayimage.js -->

                <td id="pic_info_button" align="center" valign="middle" class="navmenu" width="48"></td>
<!-- END pic_info_button -->
<!-- BEGIN slideshow_button -->
                <!-- button will be added by displayimage.js -->
                <td id="slideshow_button" align="center" valign="middle" class="navmenu" width="48"></td>
<!-- END slideshow_button -->
                <td align="center" valign="middle" class="navmenu" width="100%">Datei 4/248</td>


<!-- BEGIN nav_start -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26316-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="Zum Anfang zurückkehren"><img src="images/navbar/start.png" border="0" align="middle" alt="Zum Anfang zurückkehren" /></a></td>

<!-- END nav_start -->
<!-- BEGIN nav_prev -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26318-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="vorherige Datei anzeigen"><img src="images/navbar/prev.png" border="0" align="middle" alt="vorherige Datei anzeigen" /></a></td>
<!-- END nav_prev -->
<!-- BEGIN nav_next -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26320-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="nächste Datei anzeigen"><img src="images/navbar/next.png" border="0" align="middle" alt="nächste Datei anzeigen" /></a></td>
<!-- END nav_next -->
<!-- BEGIN nav_end -->
                <td align="center" valign="middle" class="navmenu" width="48"><a href="displayimage-180-26563-_Wakeboarding_.html#top_display_media" class="navmenu_pic" title="Zum Ende gehen"><img src="images/navbar/end.png" border="0" align="middle" alt="Zum Ende gehen" /></a></td>
<!-- END nav_end -->

        </tr>
    <script type="text/javascript">
        var sthhasfocus;
        $(document).ready(function() {
            $('.textinput').focus(function () {sthhasfocus = true;}).blur(function () {sthhasfocus = false;});
            $('select').focus(function () {sthhasfocus = true;}).blur(function () {sthhasfocus = false;});
            $(document).keydown(function(e) {
                if (!e) {
                    e = window.event;
                }
                if (e.which) {
                    kcode = e.which;
                } else if (e.keyCode) {
                    kcode = e.keyCode;
                }
                if (sthhasfocus != true) {
                    if(kcode == 37 && $('#prev').attr('title') != '') {
                        window.location = $('.navmenu_pic img[src*=prev]').parent().attr('href');
                    }
                    if(kcode == 39 && $('#next').attr('title') != '') {
                        window.location = $('.navmenu_pic img[src*=next]').parent().attr('href');
                    }
                    if(kcode == 38) {
                        window.location = $('.navmenu_pic img[src*=thumb]').parent().attr('href');
                    }
                    if(kcode == 40) {
                        blocking('picinfo','yes', 'block');
                        return false;
                    }
                }
            });
        });
    </script></table>

<!-- End standard table -->

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">
        <tr>
                <td align="center" class="display_media" nowrap="nowrap">
                        <table width="100%" cellspacing="2" cellpadding="0">
                                <tr>
                                        <td align="center" style="{SLIDESHOW_STYLE}">
                                                <table cellpadding="0" cellspacing="0" border="0"><tr><td background="albums/Wassersport/20100822_RobertoBeach/SK-20100822-0005.jpg" width="600" height="400" class="image"><img src="images/image.gif?id=786204808109" width=600 height=400 border="0" alt="" /><br />
</td></tr></table><div id="preload_container" style="display:none;"></div>    <script type="text/javascript">
        $(window).load(function() {
            var urls = '';
            $('a:not([href*=26319])[href*=pid]').each( function (i) { urls += $(this).attr('href'); });
            $.get('index.html?file=preload/ajax', {urls:urls}, function(data) { $('#preload_container').html($('#preload_container').html() + data); });
        });
    </script>            <!-- Facebook share -->

            <a name="fb_share" type="button" href="http://www.facebook.com/sharer.php?u=http://www.sk-foto.info/displayimage-26319-_Wakeboarding_.html&t=Wakeboarding">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
                                        </td>
                                </tr>
                        </table>
                </td>
            </tr>
            <tr>
                <td>

                        <table width="100%" cellspacing="2" cellpadding="0" class="tableb tableb_alternate">
                                        <tr>
                                                <td align="center">
                                                        
                                                </td>
                                        </tr>
                        </table>


<!-- BEGIN img_desc -->
                        <table cellpadding="0" cellspacing="0" class="tableb tableb_alternate" width="100%">

<!-- BEGIN title -->
                                <tr>
                                        <td class="tableb tableb_alternate"><h1 class="pic_title">
                                                Wakeboarding
                                        </h1></td>
                                </tr>
<!-- END title -->
<!-- BEGIN caption -->
                                <tr>
                                        <td class="tableb tableb_alternate"><h2 class="pic_caption">
                                                Wakeboarding am Roberto Beach
                                        </h2></td>

                                </tr>
<!-- END caption -->
                        </table>
<!-- END img_desc -->
                </td>
        </tr>
</table>
<!-- End standard table -->
<div id="filmstrip">
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">

        <tr>

          <td valign="top" class="filmstrip_background" style="background-image: url(images/tile.gif);"><img src="images/tile.gif" alt="" border="0" /></td>
        </tr>
        <tr>
          <td valign="bottom" class="thumbnails filmstrip_background" align="center" style="{THUMB_TD_STYLE}">
            <table width="100%" cellspacing="0" cellpadding="3" border="0">
                <tr>
                   <td width="50%" class="prev_strip"></td>
                     <td valign="bottom"  style="{THUMB_TD_STYLE}">
                       <div id="film" style="width:924px; position:relative;"><table class="tape" ><tr>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26316-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0002.jpg" class="strip_image" border="0" alt="SK-20100822-0002.jpg" title="Dateiname=SK-20100822-0002.jpg
Dateigröße=35KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26317-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0003.jpg" class="strip_image" border="0" alt="SK-20100822-0003.jpg" title="Dateiname=SK-20100822-0003.jpg
Dateigröße=35KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26318-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0004.jpg" class="strip_image" border="0" alt="SK-20100822-0004.jpg" title="Dateiname=SK-20100822-0004.jpg
Dateigröße=37KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>

                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26319-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0005.jpg" class="strip_image" border="0" alt="SK-20100822-0005.jpg" title="Dateiname=SK-20100822-0005.jpg
Dateigröße=36KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26320-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0006.jpg" class="strip_image" border="0" alt="SK-20100822-0006.jpg" title="Dateiname=SK-20100822-0006.jpg
Dateigröße=35KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26321-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0007.jpg" class="strip_image" border="0" alt="SK-20100822-0007.jpg" title="Dateiname=SK-20100822-0007.jpg
Dateigröße=33KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>

                <td align="center" class="thumb" >
                  <a href="displayimage-180-26322-_Wakeboarding_.html#top_display_media" class="thumbLink" style="width:128px; float: left"><img src="albums/Wassersport/20100822_RobertoBeach/thumb_SK-20100822-0008.jpg" class="strip_image" border="0" alt="SK-20100822-0008.jpg" title="Dateiname=SK-20100822-0008.jpg
Dateigröße=33KB
Abmessungen: 600x400
hinzugefügt am: 23. August 2010" /></a>
                </td>
</tr></table></div>
                     </td>
                   <td width="50%" align="right" class="next_strip"></td>

                </tr>
            </table>
          </td>
        </tr>
        <tr>
         <td valign="top" class="filmstrip_background" style="background-image: url(images/tile.gif);"><img src="images/tile.gif" alt="" border="0" /></td>
        </tr>


</table>

<!-- End standard table -->
</div><table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
    <tr>
        <td colspan="6" class="tableh2" id="voting_title"><strong>Diese Datei bewerten</strong> (noch keine Bewertung)</td>
    </tr>
    <tr id="rating_stars">
        <td class="tableb" id="star_rating"></td>
    </tr>

    <tr class="noscript">
      <td class="tableb" colspan="6" align="center">
        <noscript>
           JavaScript muss aktiviert sein, um Abstimmen zu können
        </noscript>
      </td>
    </tr>
</table>
<div id="picinfo" style="display: block;">

<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable ">
        <tr><td colspan="2" class="tableh2">Datei-Information</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >Dateiname:</td><td class="tableb tableb_alternate">SK-20100822-0005.jpg</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Name des Albums:</td><td class="tableb tableb_alternate"><span class="alblink"><a href="profile-1-_SK_.html">SK</a> / <a href="thumbnails-180-_20100822_Wakeboarding_am_Roberto_Beach_.html">20100822 Wakeboarding am Roberto Beach</a></span></td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Schlüsselwörter:</td><td class="tableb tableb_alternate"><span class="alblink"><a href="thumbnails-search-keyword-Wasser.html">Wasser</a> , <a href="thumbnails-search-keyword-Sommer.html">Sommer</a> , <a href="thumbnails-search-keyword-Sonne.html">Sonne</a> , <a href="thumbnails-search-keyword-Wake.html">Wake</a> , <a href="thumbnails-search-keyword-Wakeboarding.html">Wakeboarding</a> , <a href="thumbnails-search-keyword-Wakeboarder.html">Wakeboarder</a> , <a href="thumbnails-search-keyword-Sport.html">Sport</a> , <a href="thumbnails-search-keyword-Wassersport.html">Wassersport</a> , <a href="thumbnails-search-keyword-Wasserski.html">Wasserski</a> , <a href="thumbnails-search-keyword-Mono-Ski.html">Mono-Ski</a> , <a href="thumbnails-search-keyword-Roberto+Beach.html">Roberto Beach</a> , <a href="thumbnails-search-keyword-Aschheim.html">Aschheim</a> , <a href="thumbnails-search-keyword-Muenchen.html">Muenchen</a> , <a href="thumbnails-search-keyword-Bayern.html">Bayern</a> , <a href="thumbnails-search-keyword-Strand.html">Strand</a> , <a href="thumbnails-search-keyword-Fun-Sport.html">Fun-Sport</a> , <a href="thumbnails-search-keyword-Fun+Sport.html">Fun Sport</a> , <a href="thumbnails-search-keyword-Trendsport.html">Trendsport</a> , <a href="thumbnails-search-keyword-Kicker.html">Kicker</a> , <a href="thumbnails-search-keyword-Jumps.html">Jumps</a> , <a href="thumbnails-search-keyword-Rail.html">Rail</a></span></td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >Dateigröße:</td><td class="tableb tableb_alternate"><span dir="ltr">36&nbsp;KB</span></td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Hinzugefügt am:</td><td class="tableb tableb_alternate">23. August 2010</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Abmessungen:</td><td class="tableb tableb_alternate">600 x 400 Pixel</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Angezeigt:</td><td class="tableb tableb_alternate">2 mal</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >Belichtungszeit:</td><td class="tableb tableb_alternate">1/1000 sec</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Blende:</td><td class="tableb tableb_alternate">f/7.1</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Brennweite:</td><td class="tableb tableb_alternate">300 mm</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Hersteller:</td><td class="tableb tableb_alternate">Canon</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Modell:</td><td class="tableb tableb_alternate">Canon EOS-1D Mark II</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Titel:</td><td class="tableb tableb_alternate">Wakeboarding</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Copyright:</td><td class="tableb tableb_alternate">(c) 2010 Sven Kiesewetter</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Stichworte:</td><td class="tableb tableb_alternate">Wasser Sommer Sonne Wake Wakeboarding Wakeboarder Sport Wassersport Wasserski Mono-Ski Roberto Beach Aschheim Muenchen Bayern Strand Fun-Sport Fun Sport Trendsport Kicker Jumps Rail</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Kategorie:</td><td class="tableb tableb_alternate">Sports</td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >IPTC Unter-Kategorie:</td><td class="tableb tableb_alternate">Watersports Wakeboarding</td></tr>

        <tr><td class="tableb tableb_alternate" valign="top" >URL:</td><td class="tableb tableb_alternate"><a href="http://www.sk-foto.info/displayimage-26319-_Wakeboarding_.html" >http://www.sk-foto.info/displayimage-26319-_Wakeboarding_.html</a></td></tr>
        <tr><td class="tableb tableb_alternate" valign="top" >Favoriten:</td><td class="tableb tableb_alternate"><a href="addfav.php?pid=26319&amp;referer=displayimage.php%3Falbum%3D180%26pid%3D26319" >zu Favoriten hinzufügen</a></td></tr>
</table>
<!-- End standard table -->
</div>
<a name="comments_top"></a><div id="comments">
</div>

</div><!-- #content -->
</div><!-- #container -->

</div><!-- #main -->

<div id="footer" role="contentinfo">
<div id="colophon">
<div id="site-info">
1/640 Sekunde
</div><!-- #site-info -->

<div id="site-generator">


<div class="footer" align="center" style="padding:10px;display:block;visibility:visible; font-family: Verdana,Arial,sans-serif;">Powered by <a href="http://coppermine-gallery.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a></div>
</div><!-- #site-generator -->

</div><!-- #colophon -->
</div><!-- #footer -->

</div><!-- #wrapper -->

<!--Coppermine Photo Gallery 1.5.8 (stable)-->
</body>
</html>


One more thing... (oh, that's Steve Jobs words :) )

In the Template there is a Link to your blog :)
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Shane on September 02, 2010, 04:44:43 pm
I removed the blog link in the theme.php file and updated the .zip attached to original post.

If you don't want to re-download the .zip, go into theme.php and remove these lines (should be lines 94-96):
Code: [Select]
<!-- BEGIN blog home -->
                <li><a href="http://shaneandpamela.com/wp/index.php" title="Go to the Blog home page" target="_blank">{HOME_ICO}Blog Home Page</a></li>
<!-- END blog home -->

Not sure why the header image does not work for you.  I had to code the template.html file like this to get the image to load on my site:
Code: [Select]
<div id="header">
<div id="masthead">
<div id="branding" role="banner">

<span><div id="site-title">
<b>{GAL_NAME}</b>
</div></span>

<div id="site-description">{GAL_DESCRIPTION}</div>
<!-- header image to be size 940px by 198px -->
<img alt="photo frame" src="themes/twentyten/images/headers/header.jpg" width="940px" height="198px" border="0" />
<!-- END header image -->
</div><!-- #branding -->

<div id="access" role="navigation">
<div class="menu-header">
  {SYS_MENU}
{SUB_MENU}
{ADMIN_MENU}
</div>
</div><!-- #access -->
<div id="access" role="navigation"></div>
</div><!-- #masthead -->
</div><!-- #header -->

You could try changing the src to "images/headers/header.jpg" in your template.html and see what that gives you.  I had to trial and error it to get it to load.  I originally had the img src hard coded directly to the http:// location of my image, but didn't like that.  I've said it before, and I'll say it again.  I'm no coder.  I'm just a guy who likes playing around with websites.  Maybe one of the admins can tell us both what the correct way to code in the image would be.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: taucher_0815 on September 02, 2010, 04:59:30 pm
The header-Image works fine... The Image out of my Gallery is not shown...
See Screenshot attached...
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Shane on September 03, 2010, 02:20:19 am
The theme.php file does not make any changes to the intermediate page rendering.  I do not know why your image would not be showing.  It works for me.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: taucher_0815 on September 03, 2010, 07:25:03 am
Works well on the Curve-Theme...
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Αndré on September 03, 2010, 08:57:58 am
FYI: the intermediate view doesn't work if you enable the transparent overlay. If you disable it, the image will be shown.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: taucher_0815 on September 03, 2010, 09:20:46 am
Thanks André!
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: phill104 on September 06, 2010, 05:10:11 pm
Is this theme ready to be added to the demo/downloads yet?
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Αndré on September 06, 2010, 05:53:45 pm
No:
the intermediate view doesn't work if you enable the transparent overlay
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Shane on September 07, 2010, 02:34:39 am
FYI: the intermediate view doesn't work if you enable the transparent overlay. If you disable it, the image will be shown.

I have no idea how to fix this.  If someone can tell me how, I'll fix it and re-post the .zip again.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Αndré on September 07, 2010, 09:57:29 am
The image is invisible because of
Quote from: wp_style.css
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
   background: transparent;
   border: 0;
   margin: 0;
   padding: 0;
   vertical-align: baseline;
}
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Shane on September 08, 2010, 12:30:24 am
Updated the wp_style.css file and updated the .zip file in the first post.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Αndré on September 08, 2010, 08:56:17 am
Still an issue with transparent overlay enabled (see attachments).
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Jeff Bailey on September 08, 2010, 11:09:29 pm
This should fix the visual issue with transparent overlay. Though the link seems broken when its turned on, haven't found a solution for that yet.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Jeff Bailey on September 09, 2010, 03:55:35 am
The attached wp_style.css should fix the visual and the link issue with the intermediate view while transparent overlay is on.

edit - One more small correction. Updated attachment.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Αndré on September 09, 2010, 07:58:26 am
Works for me now.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: phill104 on September 12, 2010, 11:15:01 pm
Download (https://sourceforge.net/projects/coppermine/files/Themes/1.5.x/cpg1.5.x_theme_twentyten_v1.1.zip/download) - Demo (http://coppermine-gallery.net/demo/cpg15x/?theme=twentyten)

Still has a few problems though and is breaking out of our demo menu. Coming along nicely though.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Frazer on September 15, 2010, 10:22:03 pm
Hi, this is my favourite theme, however there appears to be a layout issue when the cpgforum plugin (http://forum.coppermine-gallery.net/index.php/topic,64865.0.html) is used. Difficult to describe - the forum is stretched downwards. Please see attached or http://testcpg.clockwatching.info/forum.php (http://testcpg.clockwatching.info/forum.php) for visual - a login account is not necessary.

To show this I have installed a fresh version of CPG (from Fantastico, version 1.5.6) and the only changes I have made are to add the cpgforum plugin and load 2 new themes, which are i_feel_dirty_v and twentyten. The problem only happens when using the twentyten theme, and so I have posted in this thread.

I have reproduced this with Chrome, Opera and Firefox.

I would be grateful if this could be fixed as I would like to use both the forum and this fine theme. Thank you for your attention.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Jeff Bailey on September 15, 2010, 10:43:27 pm
the forums
Code: [Select]
<img src="images/spacer.gif" height="10" style="width: 100%;">is causing the issue.

probably a conflict with
Code: [Select]
#content img {
height: auto;
margin: 0px;
max-width: 640px;
width: auto;
}
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Frazer on September 16, 2010, 01:53:40 am
Thanks for the reply. Are you saying I should be raising this in the cpgforum thread?
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: cdawg on November 15, 2010, 01:57:18 am
Having an odd style sheet issue with this one

it seems when I have category with an album in it, the category list is indented one. 

http://caterina-scorsone.com/photos/index.php?cat=6
http://caterina-scorsone.com/photos/index.php

Is there something to change to fix this?
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Jeff Bailey on November 15, 2010, 05:05:18 am
Find this in the themes theme.php
Code: [Select]
/******************************************************************************
** Section <<<$template_cat_list>>> - START
******************************************************************************/
// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left">{CATEGORY}</td>
                <td class="tableh1" width="10%" align="center">{ALBUMS}</td>
                <td class="tableh1" width="10%" align="center">{PICTURES}</td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td width="170px" style="vertical-align:middle">{CAT_THUMB}</td><td style="vertical-align:middle"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb tableb_alternate" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
/******************************************************************************
** Section <<<$template_cat_list>>> - END
******************************************************************************/

and replace it with this
Code: [Select]
/******************************************************************************
** Section <<<$template_cat_list>>> - START
******************************************************************************/
// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left">{CATEGORY}</td>
                <td class="tableh1" width="10%" align="center">{ALBUMS}</td>
                <td class="tableh1" width="10%" align="center">{PICTURES}</td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td style="vertical-align:middle">{CAT_THUMB}</td><td style="vertical-align:middle"><span class="catlink">{CAT_TITLE}</span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb tableb_alternate" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
/******************************************************************************
** Section <<<$template_cat_list>>> - END
******************************************************************************/

untested
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: cdawg on November 15, 2010, 06:00:14 am
Fixed it thanks!
Title: Re: 'all things concerning the website' for regular users
Post by: travelbuff on April 02, 2011, 02:33:23 pm
I have a issue with the twentyten theme where the login boxes and the registration boxes are cut off on the right side.  You can see an example at: http://travelbuff.net/coppermine/login.php.
I believe I know what the problem is by viewing the source code and putting the code in my html editor.  The field boxes are the exact same size as the table they are put in.  I can correct it in html by re-sizing the field box by a couple of pixels.  My problem is I'm not sure where to find it in the php css files, to make the adjustment.  I cannot figure out what that portion is called?

Any help would be apprieciated.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: hk1418 on January 11, 2013, 05:26:02 pm
Hallo eine Frage wie ändere ich den Hintergrund...??? Bin leider eine Laie, ich würde mich freuen über ein bißchen Hilfe. Danke.
Title: Re: Twentyten theme - Wordpress port to CPG 1.5.x
Post by: Αndré on January 12, 2013, 07:32:27 am
Hallo eine Frage wie ändere ich den Hintergrund...??? Bin leider eine Laie, ich würde mich freuen über ein bißchen Hilfe. Danke.

Please always post in English outside of the language-specific boards. Short translation:
Quote
How to change the background?