Advanced search  

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]

Pages: [1] 2   Go Down

Author Topic: Singapore style theme  (Read 35756 times)

0 Members and 1 Guest are viewing this topic.

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Singapore style theme
« on: June 19, 2004, 03:23:10 am »

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.
« Last Edit: April 03, 2005, 01:33:27 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #1 on: June 19, 2004, 10:08:27 am »

What is a Singaport theme? Please provide a link.

GauGau
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Singapore style theme
« Reply #2 on: June 19, 2004, 10:22:40 am »

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

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Re: Singapore style theme
« Reply #3 on: June 20, 2004, 06:57:46 am »

http://singapore.sourceforge.net/

http://singapore.sourceforge.net/?page=screenshots

Mostly what I am looking for is that Pictures look like slides or photos, like in that theme.

ryuuchida

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Singapore style theme
« Reply #4 on: July 28, 2004, 01:16:00 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #5 on: July 28, 2004, 03:17:48 pm »

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
Logged

nukeworker

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 83
  • Visit NukeWorker.com
    • Nuclear Jobs
Re: Singapore style theme
« Reply #6 on: July 28, 2004, 07:14:50 pm »

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


« Last Edit: July 28, 2004, 07:30:27 pm by nukeworker »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #7 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Singapore style theme
« Reply #8 on: July 28, 2004, 08:51:38 pm »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Singapore style theme
« Reply #9 on: July 30, 2004, 12:34:13 am »

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.  :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #10 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
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Singapore style theme
« Reply #11 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
Logged
SANIsoft PHP applications for E Biz

ryuuchida

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Singapore style theme
« Reply #12 on: July 30, 2004, 12:07:04 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #13 on: July 30, 2004, 04:59:48 pm »

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]
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Singapore style theme
« Reply #14 on: July 31, 2004, 08:26:19 am »

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

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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Singapore style theme
« Reply #15 on: July 31, 2004, 09:59:43 am »

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]
« Last Edit: July 31, 2004, 10:05:03 am by Casper »
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Singapore style theme
« Reply #16 on: July 31, 2004, 09:16:10 pm »

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]
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Singapore style theme
« Reply #17 on: July 31, 2004, 09:56:18 pm »

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;

Code: [Select]
<!-- 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]
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Singapore style theme
« Reply #18 on: July 31, 2004, 11:31:54 pm »

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.
« Last Edit: August 01, 2004, 12:10:15 am by Casper »
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Singapore style theme
« Reply #19 on: August 01, 2004, 08:07:05 am »

@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
Logged
Pages: [1] 2   Go Up
 

Page created in 0.028 seconds with 20 queries.