Singapore style theme Singapore style theme
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Singapore style theme

Started by nukeworker, June 19, 2004, 03:23:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nukeworker

I love those Singaport themes, but I prefer coppermine.  If someone could make a Singapore style theme... I would be VERY happy.  Perhaps even pay... Contact me if interested.

Joachim Müller

What is a Singaport theme? Please provide a link.

GauGau

Tarique Sani

Is Singapore also the name of some picture gallery software?
SANIsoft PHP applications for E Biz


ryuuchida

yes, a Singapore style theme would really rock. All the features of Coppermine with a Singapore theme would rule over all gallery scripts. I'll pay to get my hands on one myself.  ;D

Joachim Müller

Singapore is being released under GNU GPL, so I can see no reason why you shouldn'bt be able to create a coppermine theme that mimicks those that come with singapore.

GauGau

nukeworker

#6
Mostly I like the thumbnails that look like slides.  (I don't see that theme there anymore.)

I just want to "kick it up a notch".  A rounded white border that looks like a slide, with a drop shadow.

I've seen drop shadow hack here, but they only work with specific image sizes.  My images vary greatly in size...

http://singapore.sourceforge.net/demo/index.php?gallery=./Demo/Languages/English

has the round white slide look, and the "tabed folder' has the drop shadow.  -- I'm sure we can use some of the ideas here.

Also the "snap shot with a drop shadow" on this page looks cool:
http://singapore.sourceforge.net/demo/index.php?gallery=./Demo/Languages/English&image=Flower.jpg



Joachim Müller

I had a peek into this and created a theme lookalike. It doesn't exactly look like the original, as coppermine simply has more features that will need space on the screen (you could of course disable all those additional features).
Anyway, find an attached alpha version of this theme. Please post feedback

GauGau

Casper

Beat me to it again gaugau,

I just spent an hour doing a slide like background, to go on any theme.  This screenshot is from my test in reynolds theme. Will fit any size thumb.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ryuuchida

Quote from: GauGau on July 28, 2004, 08:15:31 PM
I had a peek into this and created a theme lookalike. It doesn't exactly look like the original, as coppermine simply has more features that will need space on the screen (you could of course disable all those additional features).
Anyway, find an attached alpha version of this theme. Please post feedback

GauGau

wow. that was fast! i tried loading it but my index.php file won't load as a result. maybe that's because i'm using 1.3.0 at this time. i'll try it again. i've also looked inside the images folder of the singapore theme and it looks promising. thanks.  :)

Joachim Müller

I'm sorry, the theme file I attached above is already a cpg1.4 theme (only working with the dev version). I modified it to be a cpg1.3.x theme: Demo - Download

GauGau

Tarique Sani

Thumnails go out of frame for me if they are wide. Also corner images seem to be missing http://coppermine.sourceforge.net/demo/thumbnails.php?album=1
SANIsoft PHP applications for E Biz

ryuuchida

Quote from: GauGau on July 30, 2004, 09:24:55 AM
I'm sorry, the theme file I attached above is already a cpg1.4 theme (only working with the dev version). I modified it to be a cpg1.3.x theme: Demo - Download

GauGau

whoaah! not bad, not bad at all. i tried the demo and i liked what i saw. i'll try tinkering with it myself. thanks.

Joachim Müller

Quote from: Tarique Sani on July 30, 2004, 11:46:32 AM
Thumnails go out of frame for me if they are wide. Also corner images seem to be missing http://coppermine.sourceforge.net/demo/thumbnails.php?album=1
huh?
Attached is a screenshot...

GauGau

[attachment deleted by admin]

Tarique Sani

Perhaps this will explain it better - Mozilla 1.6 Red Hat 9

[attachment deleted by admin]
SANIsoft PHP applications for E Biz

Casper

#15
I get the view like Gaugau, when using IE.
I get the view like Tarique, when using firefox.

So it appears to be browser dependant.

Note also the overlapping of the album info in firefox.

[attachment deleted by admin]
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

The corner gifs are missing because the theme.php has the url 'images/...' when it should be 'themes/sinapore/images/...'.
This only affects the 'slide' gif's, in the ;

// HTML template for thumbnails display
$template_thumbnail_view = <<<EOT

See how the thumb still is wider than the slide though.

[attachment deleted by admin]
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

I found the problem with mozila browsers is fixed if the thumbnail template is changed from nested divs to tables.

This may not be the prettiest code, but it works with IE and Mozzila.

Replace the existing  thumb cell in HTML template for thumbnails display with this;

<!-- BEGIN thumb_cell -->
        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
                <table class="sgThumbnail">
                        <tr>
                                <td align="center">
                                        <table class="sgThumbnailContent">
<tr>
       <td border="0"><img src="themes/singapore/images/slide-tl.gif" alt="" border="0"></td>
       <td border="0"></td>
       <td border="0"><img src="themes/singapore/images/slide-tr.gif" alt="" border="0"></td>
</tr>
<tr>
       <td border="0" ></td>
       <td border="0"><a href="{LINK_TGT}">{THUMB}<br /></a>
   {CAPTION}
                                        {ADMIN_MENU}
   </td>
       <td border="0"></td>
</tr>
<tr>
       <td border="0"><img src="themes/singapore/images/slide-bl.gif" alt="" border="0"></td>
       <td border="0"></td>
       <td border="0"><img src="themes/singapore/images/slide-br.gif" alt="" border="0"></td>
</tr>
</table>
                                       
                                </td>
                        </tr>
                </table>
        </td>
<!-- END thumb_cell -->

[attachment deleted by admin]
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

#18
Try using these modified files.  They work with both browsers, repositions the image nav bar, and also change the admin menus to remove the red background.
It also uses a smaller tile.gif, which looks much better, also attached.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

@Casper: good work! Like I said, the theme is an alpha version I came up with in some minutes, as a "proof of concept" rather than a real theme. Anyway, I updated the demo with your modified files.

GauGau