PG theme

gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Tue, 2007-01-02 00:55

Sorry, I was wrong anyway. It only controls opacity for the microthumb.

I can;t see anywhere that affects what you are getting.

Gaynor

 
impulse29

Joined: 2006-12-31
Posts: 2
Posted: Tue, 2007-01-02 07:12

@eddiehorn:

Thanks for your help, but I'm kinda confused. I installed the full theme including the colorpacks. I did not see any modules to install, so I downloaded the colorpack module. I don't quite know what you mean by the standard colorpacks (are they the ones that came with gallery 2?).

I'm sorry if I am misunderstanding what you wrote,
Impulse29

EDIT: I realized that the colorpack module on the site that I downloaded the theme is not the one that is required. After searching, I found the appropriate one (it should really be changed to reduce confusion). I have installed and activated it, but now I don't know where I can change the pack for the theme. The module is in the display section, so I would assume that a link would appear on the left, but I don't see one. Where do I change the pack?

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Tue, 2007-01-02 08:26

If you had had an earlier version of the PG colorpacks, I think it would be wise to have uninstalled them.

From the top album you want the theme in, "edit album"
then select the theme in the second tab "Album" (and click save at the bottom),
then:- in the Third Tab "Theme", at the bottom of the first section (immediately above the "Overall" Settings) is where you select your colorpack.
All activated colorpacks should appear in the dropdown menu.
Then of course remember to go right down to the bottom of the page to save.

Gaynor

 
Dizz

Joined: 2006-10-31
Posts: 12
Posted: Tue, 2007-01-02 21:11
gaynormcc wrote:
Sorry, I was wrong anyway. It only controls opacity for the microthumb.

I can;t see anywhere that affects what you are getting.

Gaynor

Ye neither can I:(

I've upgraded to the latest Gallery2 (2.1.2) but this has made no difference... Not sure whether to try uninstall & then reinstall PGTheme or what next???

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Wed, 2007-01-03 00:56

As your Gallery works with the other themes, and we can;t see any way to make changes in the theme settings, it seems probably that it is something wrong with your copy of PG theme.

Now that you have upgraded the Gallery itself, I would uninstall the PG theme, ditch the copy you have from your whole system, and download a new copy, appropriate to your gallery version.

At least it is only a theme that you are ditching and re-acquiring.

Gaynor

 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Wed, 2007-01-03 04:14

I would like to add an animated gif to my gallery's main page that displays below the navigation bar and above the selection of albums. I would like this image to only be displayed when viewing the main gallery page (read: the gallery homepage) and not to display when viewing an album or photo, really anything "below" the main gallery page. I've created the image, I just need to know where to put it.

Either that, or a slideshow that only displays on the gallery main page...like this gallery does: http://www.rktekt.com/ck/gallery/main.php

Danke

~ Puppy

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Wed, 2007-01-03 04:32

This is perhaps out of my realm, but

it looks to me as if that is in the Breadcrumbs.

I don;t know if it is possible for that to be only in the main page.

For things to be only in the main page, in PG theme, open the main page and click Options/Edit Album. In the third tab "Theme" scroll down below "Overall" to "Album". Look around in there. There are lots of settings we can change in various ways. My thinking is there might be something you can do in a template.

[[This needs someone more expert than I to give you specific advice]]

And make sure before you save the settings, that you do NOT click the box at the very bottom that copies the settings to all new inner albums.

Actually if this is possible, it opens up even more versatility in this wonderful theme.

Gaynor

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-01-03 04:51
sillypuppy wrote:
I would like to add an animated gif to my gallery's main page that displays below the navigation bar and above the selection of albums.

I have not played with this theme much ( mostly because this thread is over 7 pages long )
But can't you add the albums description (and html) and position it above (not beside) the thumbs?
You might have to set to allow html from bbcode on the general settings of G2.

Dave
_____________________________________________
Blog & G2 || floridave @ Gallery Team || G2 Theme Contest: +$3k in Prizes!

 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Wed, 2007-01-03 05:37

I have an idea. What if I were to make my author welcome message the javascript slideshow and just have that display above the album selection. I just can't seem to figure out how to set the author area to appear where I want it (ie not to the left of the albums, but above it)

~ puppy

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-01-03 05:47
Quote:
I just can't seem to figure out how to set the author area to appear where I want it

edit album.tpl

                        <p class="author">
                          {g->theme include="author.tpl"}
                        </p>

move where you would like.
_____________________________________________
Blog & G2 || floridave @ Gallery Team || G2 Theme Contest: +$3k in Prizes!

 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Wed, 2007-01-03 05:58

Beautiful, ty. Now, though, I am unable to insert the Ultimate Fade-in slideshow. I am receiving a Smarty error which I am not familiar with. I tested the script on a basic html page and it worked fine but when I added it to the author.tpl, I get the error:

Fatal error: Smarty error: [in gallery:themes/PGtheme/templates/author.tpl line 26]: syntax error: unrecognized tag: this.pausecheck=pause this.mouseovercheck=0 this.delay=delay this.degree=10 //initial opacity degree (10%) this.curimageindex=0 this.nextimageindex=1 fadearray[fadearray.length]=this this.slideshowid=fadearray.length-1 this.canvasbase="canvas"+this.slideshowid this.curcanvas=this.canvasbase+"_0" if (typeof displayorder!="undefined") theimages.sort(function() {return 0.5 - Math.random(); (Smarty_Compiler.class.php, line 436) in /(address removed)/htdocs/gallery/lib/smarty/Smarty.class.php on line 1088

~ puppy

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-01-03 06:05
 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Wed, 2007-01-03 06:40

Are you saying that I need to put my script between the {literal} {/literal} tags?

I've got the errors to go away using the literal tags. However, I may be doing something wrong to actually display the script. I assume the script should be place in the <head></head> section and the other half in the <body></body> section which I added. I have no experience with templates so I am not sure if one can even do this.

~ puppy

 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Wed, 2007-01-03 06:51

I have the javascript that needs to go in the header in there and not causing errors. In the body, I can't get the script to run, though. It doesn't contain any {}s.

<script type="text/javascript">
//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
new fadeshow(fadeimages, 300, 225, 0, 3000, 1, "R")
new fadeshow(fadeimages2, 300, 225, 0, 3000, 0)
</script>

Does this section need literal tags? I can type "test" just above the script and see it, but the script doesn't come through at all.

~ puppy

 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Wed, 2007-01-03 07:05

Okay, I got it to work now. I was just placing the literal tags in the wrong place. Thanks so much.

~ puppy

 
Dizz

Joined: 2006-10-31
Posts: 12
Posted: Wed, 2007-01-03 18:31
gaynormcc wrote:
As your Gallery works with the other themes, and we can;t see any way to make changes in the theme settings, it seems probably that it is something wrong with your copy of PG theme.

Now that you have upgraded the Gallery itself, I would uninstall the PG theme, ditch the copy you have from your whole system, and download a new copy, appropriate to your gallery version.

At least it is only a theme that you are ditching and re-acquiring.

Gaynor

Only seeing this now, that's exactly what I did last night and it's working now, must have been missing a file or had a corrupt file...

Thanks a million for your help & input Gaynor, was much appreciated ;)

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2007-01-03 19:33

Dizz
Do you have all your tpl files present and correct?

*******Edit********
just noticed you had it solved
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2007-01-03 19:42
eddiehorn wrote:
Does anyone know how to reduce the blank space between microthumbs?
I'd like them close together as on Pedro's site.

edit this line in navigatorThumbs.tpl

{assign var="tdThumbs" value=$thumbsSizeOver+6}

to "+ whatever you want".

Of course you can also make the mouseover size the same as the regular thumb in theme admin.
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Wed, 2007-01-03 23:35

Thanks Dayo,

I changed
{assign var="tdThumbs" value=$thumbsSizeOver+6}

to
{assign var="tdThumbs" value=$thumbsSize+6}

That works.
Now I would like the microthumbs in a row across the top. Aligned Left.

Presumably I would edit the same tpl file at

{if ($theme.params.MTposition == 'bottomF1R') || ($theme.params.MTposition == 'bottom1R')}
{assign var="tableThumbs" value=$peerTotal*$tdThumbs+8+$peerTotal*12}
{else}
{assign var="tableThumbs" value=$thumbsCol*$tdThumbs+8+$thumbsCol*12}
{/if}

and presumably I would change
'bottomF1R' to 'topF1R'
and 'bottom1R' to 'top1R'

Would that work? and is it all I would need to do there?

And how would I get the option to position them at the top to show in the settings page?

Gaynor

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Wed, 2007-01-03 23:37

After getting that to work, I noticed that it says not to edit the file, but to create and edit a copy in a new directory named 'local'

I put the edited file into a new directory called 'local', then returned the original file to its original state.

Where do I put the 'local' directory?
I have tried
PGtheme/templates/local
PGtheme/local
PGtheme/local/templates

and it doesn't work with any of these.

Sorry for apparently being dumb today.

Gaynor

 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Thu, 2007-01-04 00:46

I'm trying to change the background color of specific tables and am having a hell of a time. If I go into the color.css file in my theme, I can change the BG color of the entire page:
#gallery {
color: #aaa !important;
background-color: #222222!important;

I am able to change the BG color of the table in Theme.tpl so that it is different than the BG color of the rest of the page.

However, I can't seem to change the BG color of the other items I want to which are the author table and table that the albums are contained in. I've tried editing album.tpl, putting bgcolor="#333333", in the table info but that seems to be overridden by the css. I *think* I removed all the style: PGbackground1 or whatever they were from album.tpl. I've heavily edited the album template to get my desired table configuration (ie the author table above the album table). Is there a place in the .css that allows me to change the BG color of the author and album blocks?

~ Puppy

gallery.sillypuppy.net

Basically what I am attempting to do is make a bg image for the bg of the entire page. Then, I want the header (shows the logo and navigation links), author (has the javascript image fader), and the album (below the author page and has all the different albums) to be the same solid color and to be different than the bg, like it's floating on the bg. Hope that helps.

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Thu, 2007-01-04 00:52

Hi Puppy,

I assume you are working in one of the PG colorpacks.

The color.css is not a huge file.

Play in there changing one colour at a time and see what each does.
After a little playing you will get to the thing you want to change.

I am doing just that myself at present.

Gaynor

 
sillypuppy

Joined: 2007-01-03
Posts: 9
Posted: Thu, 2007-01-04 01:43

I think what has happened is that I have removed the BG info from the tables in the album.tpl and when I change the bg of the whole page, it's not changing the color of the table's bg but the table has no bg color so the page bg is showing through. However, if I go through album.tpl and change the bgcolor for every table, it doesn't seem to change them.

~ P

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2007-01-04 06:27

Hi Gaynor it should be PGtheme/templates/local
The local subdir system doesn't work on my server as well and I just edit the files directly and keep a copy of the PGTheme files on my computer at home.

Note that the Bottom1R thing is from the Theme Admin were you can change the setting to 1 row at the bottom of the page and editting it the way you have means you can't select this in future. Nothing critical as long as you know.

.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Thu, 2007-01-04 08:46

Hmmmm
I Made a new version of the theme with the change in it. The reduced spaces work when the microthumbs are at the bottom, but not on the right. (odd)
I did the new version largely because I want to replace Pedro's logo with a relevant one, and no matter what I do I am not managing to get rid of his.

I replaced his logo.gif and logoon.gif in the theme images directory.
I couldn;t see anywhere where the originals were still in the new version before I uploaded the new version theme (PGpiopioTheme) but I still get his logo on my gallery.

http://piopionz.com/gallery2/v/PGtests/NZmap1.jpg.html?g2_enterAlbum=0

You'll need to login with user gallery and pw team. Cos i do;t want Google to get hold of it.

(drat! nothing is working for me today. I can't even get the font size smaller below)

Gaynor

[font size="-2"]
Gallery version = 2.1 core 1.1.0
PHP version = 4.3.11 apache
Webserver = Apache/1.3.31 (Unix) PHP/4.3.11 mod_ssl/2.8.18 OpenSSL/0.9.6b FrontPage/5.0.2.2635 mod_throttle/3.1.2
Database = mysql 4.1.20-max-log, lock.system=flock
Toolkits = ArchiveUpload, NetPBM, Thumbnail
Acceleration = none, none
Operating system = Linux web115.opentransfer.com 2.6.14.4 #2 Wed Jan 4 22:51:21 CST 2006 i686
Default theme = PGtheme
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) [/font]

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2007-01-04 09:56

Gaynor

I see your logo when I go to that link. Your local machine has cached Pedros logo and is just loading it from the local memory. Browsers do this to speed things up.

You will have to clear the browser cache to see it yourself.
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2007-01-04 10:00

Gaynor

Sorry I notice that you have your logo on the front page but Pedro's when I log in.

Go into the relevant ColorPack and change the logos in there.
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
brettm

Joined: 2007-01-04
Posts: 2
Posted: Thu, 2007-01-04 14:30

Hi, does anyone know how to get the slideshow graphic to appear in the top bar in thumbnail view as in Pedros example here? http://www.pedrogilberto.net/pgtheme/PGtheme_screenshots/pgCh2.jpg

I want people to be able to view a slideshow of that aubum without having first click an image which is when the slideshow image comes up...

Cheers!

Brett

Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Thu, 2007-01-04 15:35

YES!!!! - (Doing happy dance)
Thank you Dayo

Have a look now.

Just have to ease the logo towards the right a bit now to line up with the left side of the background.

And I am well on the way to making a frame to use with it. That logo frame just cries out to be used round the images.

Thanks heaps for tugging me back to the right line of thought.

Now if only I could get the microthumbs along the top I'll be really pleased with it.

Gaynor

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2007-01-04 17:24

Brett
I think this is switched on in Theme Admin at OVERALL :: Pics Navigation Bar (select position). I have it on my site as well but it has been there so long I can't remember which one exactly controls it. In any case it is in theme admin.

Gaynor
Excellent. I think I have an idea on how to get your thumbnails across the top but I have deleted so many lines out of my tpl files to boost speed and fix the layout I have so I will have a look at some of the local files I have. The answer should be in Photo.tpl.

Firstly though, you have to change the "bottomF1R" statements you changed in navThumbs back from to what they were before.

.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Thu, 2007-01-04 17:32

Gaynor
OK I had a look and you need to edit photo.tpl. However, this is a potentially tricky bit in deep nested if statements that I don't want to get into it.

If you really desperate for this, you need to look at

{**********  micro thumbs bottom**********}

{if ($theme.params.showMicroThumbs)}
  {if ($theme.params.MTposition == 'bottom') || ($theme.params.MTposition == 'bottomF') || ($theme.params.MTposition == 'bottom1R') || ($theme.params.MTposition == 'bottomF1R')}
                <tr>
    {if ($theme.params.MTposition == 'bottom') || ($theme.params.MTposition == 'bottom1R')}
                  <td>
                  </td>
    {/if}
                  <td style="text-align:center" valign="top" {if ($theme.params.MTposition == 'bottomF') || ($theme.params.MTposition == 'bottomF1R')}colspan="3"{/if}>
                    <table align="center">
                      <tr>
                        <td>
                          {g->theme include="navigatorThumbs.tpl"}
                        </td>
                      </tr>
                    </table>
                  </td>
    {if ($theme.params.MTposition == 'bottom') || ($theme.params.MTposition == 'bottom1R')}
                  <td>
                  </td>
    {/if}
                </tr>
  {/if}
{/if}

and try to replicate it at the top of the table that this tpl file builds. You then delete the original section and then go into theme admin and select the option that says you want 1 row at the bottom.

Basically what this section of code does is check if you selected that and builds the micro thumbs in the position where the code appears.

You will have to be very motivated to want to mess with this and kudos to Pedro, he did a hell of a lot of work to give all these options.
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
orbstein

Joined: 2006-12-06
Posts: 2
Posted: Thu, 2007-01-04 22:45

Howdy,
I am trying to replace the textual links in the top navigation bar with images. i've searched and browsed and have yet to find my answer. could somebody please help me

i believe in theme.tpl this is what's calling the navigation
----------
{g->block type="core.SystemLinks" order="core.SiteAdmin core.YourAccount core.Login core.Logout"othersAt=4}
----------

i just want to use an image for login,logout,site admin etc..

thanks so much

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Fri, 2007-01-05 01:59

HI Dayo,
Yes I looked at that.
I added an {elseif ($theme.params.MTposition == 'top') ....

but don;t know enough about it to know where to specify what 'top' means or go further with this.
I did manage to get the settings options in that drop down menu to add the 'top' option,
but it seems to me that the instruction to the programme (of what to do when that optoin is chosen)
has to be specified somewhere, and I don;t know where.

As to being "very motivated to want to mess with this" ...
both 'yeah I know', and....
once an idea gets hold of me I like to get it solved, partly to prove it CAN be solved.

My problem is that when I start learning a technique, I tend to learn just what I need to know, and not learn the html/css/style etc properly.
Little old Grandma waving my arms and saying "See I can do it" :(
Naughty as I am not yet 70, so should have several years yet to be useful.

Gaynor

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2007-01-05 07:29

Orbstein
That is not a PGTheme specific question as it is to do with the CORE of the application. You will be better off asking it in one of the general forums.

Gaynor
It is not impossible to do it and in theory is very simple. The easiest way is to gain an understanding of the table built in photo.tpl and to move that section there. Then you go to theme admin and say you want 1 row at the bottom but since you have moved the relevant section to the top, it will appear there. Creating a "top" definition is more involved.

Anyway, all the best!

.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
brettm

Joined: 2007-01-04
Posts: 2
Posted: Fri, 2007-01-05 10:12
Dayo wrote:
Brett
I think this is switched on in Theme Admin at OVERALL :: Pics Navigation Bar (select position). I have it on my site as well but it has been there so long I can't remember which one exactly controls it. In any case it is in theme admin.

Hi Dayo, thanks for your reply, that option is selected and my slideshow does work but the icon only appears when you are viewing an image and not on the thumbnail page which is where i want it also... ive been through every option but cant figure out why it doesnt show up on the thumbnail page...

 
randomaccess

Joined: 2007-01-09
Posts: 6
Posted: Thu, 2007-01-11 18:39

Hi all,
I am new to editing Gallery themes. I searched this forum and the relevant docs for an answer to my question so I apologize if I am going over an old question. I would like to use PGtheme, but move all thumbnails to where right now only micronavigation thumbnails are shown. E.g., in sub-albums where there is the table of images with the current one not faded, I would like to also have the albums displaying the same when I go to the home page of my Gallery and when I click on an album, it should show the sub-albums. Where would I look in the template files?

 
randomaccess

Joined: 2007-01-09
Posts: 6
Posted: Thu, 2007-01-11 20:49

Hi,
I got it. I can change the CSS for #gsThumbMatrix to move and style the thumbnails for album and sub-albums lists. My next question, is my images are not showing sometimes. I am using Gallery 2.1 and PGtheme 1.1. It looks like Lightbox is used to display the images because of the fade in and the circle progress bar. Sometimes, the progress bar goes around a couple times and stops with no photo showing. If I click on the image box to display full-screen, the image is shown. But sometimes, the image will show. Can someone explain why this is happening or where I should look?

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2007-01-12 07:33

randomaccess

The fade in is not lightbox but another script. In any case, the problem you describe is browser specific. It does not work well on Mozilla based browsers such as FireFox and Netscape. So your choices are:

1) Fix it. Look in Theme.js for the code and share the results with the rest of us
2) Ignore it. Bet on most of your users using IE and Safari. Note that a significant number do use FireFox
3) Disable it. Go to Theme Admin and stop the fade.
.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Fri, 2007-01-12 07:54

Brett

It should come up if switched on in theme admin if you haven't changed anything in the tpl files

.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
IanWorthington

Joined: 2007-01-12
Posts: 18
Posted: Sat, 2007-01-13 15:01

I'm trying to figure out how to get the description text for a subalbum to appear alongside it's thumbnail on its parent page. I've selected "show descriptions to the right of thumbnail" but that doesn't seem to do anything. Is this possible?

Also I've increased the size of the microthumbs (nice feature!), but would like to pack them a bit tighter together: there's rather a lot of wasted space between them. Can someone point me to the file I need to edit to achieve this?

Thanks!

ian
...

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sun, 2007-01-14 03:53

Ian you wrote:-I'm trying to figure out how to get the description text for a subalbum to appear alongside it's thumbnail on its parent page.<

This does seem to be one of the few things we cannot set from the Edit pages of PGtheme.
However it is possible in the Classic Theme.
You could set your album theme to classic and your subalbum to PGTheme where you need the versatility.
If you set a PG colorpack in both album and subalbum it will not be noticeable to your visitors.

I have set up an example that way at

http://piopionz.com/gallery2/v/PGtests/ThemeTesting/?g2_enterAlbum=1

You may have to login as user = gallery and password = team

---------
Your other question has been answered in a forum on microthumbs. I'll post it here when I find it.
(I think you have to edit the theme.tpl)

Gaynor

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sun, 2007-01-14 07:18

Hi Ian.

You wrote:-
>Also I've increased the size of the microthumbs (nice feature!), but would like to pack them a bit tighter together: there's rather a lot of wasted space between them. Can someone point me to the file I need to edit to achieve this? <

If this is what I had a problem with, the wasted space corresponds with the size of the Mouse-over thumb.

If that is what you are asking, my solution is below. (I couldn;t find the other forum reply so checked the files I had changed.)

see the result at
http://piopionz.com/gallery2/v/PGtests/WaikTimes-Museum.jpg.html
(You will need the user = gallery and password = team)

Altering the spacing between thumbs

In the template files for PG theme, copy navigatorThumbs.tpl into a new directory called "local" and edit that copy.

Near the top there is a group of lines beginning with
{assign var="

In that group find
{assign var="tdThumbs" value=$thumbsSizeOver+6}

and replace it with
{assign var="tdThumbs" value=$thumbsSize+6}

Save this template in the local directory you have made.

Gaynor

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2007-01-14 15:56

Ian

The answer to your query is on earlier on this page.

Essentially what Gaynor wrote. However, note that her solution is applicable to her site and can give you not so good results if the difference between your normal and mouseover thumbsizes is large

What the default line does is add 6 pixels to the mouseover thumbsize on each side so you a gap of ((Mouseover - Normal) + 6)* 2 pixels.

The more general solution is to reduce the "+ 6" or remove it altogether.

Having said that, Gaynor's approach will also work but if the difference btw normal and mouseover is greater than 12pixels, then when you put your mouse over the micro thumb, it will bump the surrounding thumbs.

.
Gallery Version: 2.1.2
Gallery Theme: PGTheme 1.1.0 (RC01)
Web Site: http://dakanji.com

 
IanWorthington

Joined: 2007-01-12
Posts: 18
Posted: Mon, 2007-01-15 00:54

Thanks Gaynor/Dayo.

1. As per your advice I set the thumbsize by just removing the +6, viz:

{assign var="tdThumbs" value=$thumbsSizeOver}

I notice that even this gives a certain amount of "ripple" in the microthumbs, when I mouse over, which surprised me. Any thoughts on why?

2. I wasn't sure where to create the "local" directory with change. Under templates, along side, or somewhere else?

3.
I'm really surprised we can't turn on sub-album descriptions in PGTheme -- it seems such an obvious requirement. I tried changing that album to use the Classic Theme instead, but still can't get them to show. Sure you meant "Classic"?

Thanks guys,

ian
...

 
IanWorthington

Joined: 2007-01-12
Posts: 18
Posted: Mon, 2007-01-15 02:23

Hmmm.

Looks like it does include the description, but instead sticks it in the longdesc attribute of the img tag. According to www.w3.org that's meant to be a uri to supplement the alt text....

<img src="/gallery/main.php?g2_view=core.DownloadItem&amp;g2_itemId=370&amp;g2_serialNumber=2" width=n, bu"200" height="133" id="IFid1" class="ImageFrame_none giThumbnail opacity10" name="pic368" alt="Sun 24 Dec 2006 10_35_40 30D 2286 ISO 800.jpg" longdesc="Test description"/>

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Mon, 2007-01-15 03:41

Ian :-
>I tried changing that album to use the Classic Theme instead, but still can't get them to show. Sure you meant "Classic"?
<

Sorry I gave the wrong link
It should have been
http://gallery.menalto.com/node/33603?page=27#comment-217193

and yes, it is definitely Classic theme.

Dayo:-
As you can see in my site, I have largeish mouseovers, and it seems far more sense to have closely placed microthumbs than these tiny images widely spaced.

I don;t see the bouncing of the others as a problem.

However, I have seen another site (in another programme)where the microthumbs are at the top of the photo, and the mouseover brings up a midsize image over top of the original page... not changing the original row of microthumbs, and partially obscuring the main photo.

I rather like that effect, but am not a programmer (yet... maybe sometime).

Gaynor.
Gaynor

 
IanWorthington

Joined: 2007-01-12
Posts: 18
Posted: Mon, 2007-01-15 03:55

Hi Gaynor --

That links takes me back to your post?!

ian
...

 
soj

Joined: 2005-07-15
Posts: 9
Posted: Mon, 2007-01-15 05:50

Customizing the (superb) PG Theme today to match up my site. I have ~10px extra space above the logo image(s) I need to remove. Have not found it in the css or theme.tpl. Any other ideas would be very welcome. TIA!

www.stormeyes.org/fotos
all the latest versions, downloaded today, 1/14/2005

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Mon, 2007-01-15 05:57

Hi Ian,
Hopefully this time I won;t mess it up.

http://piopionz.com/gallery2/v/PGtests/ThemeTesting/?g2_enterAlbum=1

At time of clicking it now looks right :)

Gaynor

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Mon, 2007-01-15 06:10

Hi SOJ
Do you mean the space at the bottom, above the copyright line?
That line shows up as an empty line when selecting the page.

I would guess it is governed by the Footer settings.

Gaynor
[[thinking of giving myself the Unqualification "Amateur Apprentice Geek" :) ]]