[PGtheme Clone -> PGlightbox] Updated Version for G-2.2-SVN

jmpage2

Joined: 2007-01-02
Posts: 5
Posted: Wed, 2007-11-28 22:38

Hi guys.

I just updated Gallery to the latest release (2.2.3) and have been trying to get PGLightbox working correctly (latest version installed). Any help would be appreciated.

1. When PGLightbox is the selected theme for an album, some of the theme parameters don't seem to work.
a. color choices don't seem to work when they are entered into the theme properties box. This is tough because I'm not sure what color choices match up with styles.css for making changes.
b. copyright notices, etc, for images don't appear to display after being entered in the theme dialogue boxes.
c. Changes to tooltip popup dialogue boxes doesn't seem to work for the tooltip for the pglightbox flyover icon

2. Some icons don't always seem to paint. For example, if a PGLightbox flyover picture pops up the "close" icon doesn't paint, it just shows a red x where the "close" icon should be painted.

3. The one that troubles me the most is that when PGLightbox is in use the following error messages begin to fillup on the host error log;

[Tue Nov 27 18:38:40 2007] [error] PHP Notice: Undefined index: type in /export/home/gunf1ghter/webroot/g2data/smarty/templates_c/%%2535209585/%%AE^AE2^AE2ECA53%%ThemeSettingsForm.tpl.php on line 65

Because of this my host asked me to turn the theme off. The errors point to all sorts of different lines in the theme settings.

Am I missing anything obvious? Is anyone willing to help? Any beginner setup help available as I've not found any good tutorials on setting this up for a novice?

Thanks!

 
jmpage2

Joined: 2007-01-02
Posts: 5
Posted: Tue, 2007-12-04 05:48

anyone?

 
brago

Joined: 2006-07-24
Posts: 20
Posted: Sun, 2007-12-09 20:49
zapp_mk wrote:
Solved it myself with short url and permalinks

zapp_mk wrote:
Hi people,
I have a bug in the theme
triptracker slideshow does not work
the links are bad in viewer.add:

<script type="text/javascript" src="themes/PGlightbox/images/lb/js/slide.js"></script>
<script type="text/javascript">
var viewer = new PhotoViewer();
viewer.setBackgroundColor('#f4f4f4');
viewer.setBorderWidth(6);
viewer.add("http://www.myurl.de/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=440");
and so on....

correct link is:
viewer.add("http://www.myurl.de/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=440");

Could anybody tell me how to fix this error?
thanks a lot
Michael

Gallery-Version = 2.2.1 Kern 1.2.0.1
PHP-Version = 5.2.3-0.dotdeb.1 cgi-fcgi

Hi there,
I'm having the exact same error on my site. Can you please be specific about how you solved this with permalinks and short urls?

Thanks
Stefan

 
hautter
hautter's picture

Joined: 2007-12-10
Posts: 3
Posted: Tue, 2007-12-11 04:19
cdc3323 wrote:
harmonyservice wrote:
Quote:
My clean install is having a bit of an issue though... I have created an album on the front page, uploaded 3 images to it for a start... but when I click on the album, rather than display the album contents as it should, all it does is reload the front page! Can't seem to be able to get past this. I'm pretty sure I'm running all the latest versions of everything. Would appreciate any assistance!

Hi RakiuraSkies,

I'm having the exact same problem. I changed the welcome message like you wrote, but that didn't help. Does anyone know any other fixes for this problem?

I have a brand new install of the latest Gallery with the latest PGlightbox. I have 3 photos only and they are all under 300px wide.

Thanks

You might want to check the permissions on the albums. However if you are logged in as the admin you should have access to all albums. Just make sure you don't have it clicked down on the bottom as guest view. This would over right the permissions.

hope this helps

I have the same problem. The first page (where the author info is) does not link to anything. It just refreshes the link it is on. I have taken all the steps..cleaned out the cache, debug mode, installed PGlightbox 1.2.2.

My work around was to have the home album's (the first page with the author note) theme set to "matrix" and the sub galleries set to PGlightbox.

------------
Knowledge is power, ignorance is bliss..

 
ca3rine

Joined: 2007-12-18
Posts: 1
Posted: Tue, 2007-12-18 18:24
Quote:
1. When PGLightbox is the selected theme for an album, some of the theme parameters don't seem to work.

I've got the same problem too, and did a little check on the code. Here's the quick fix.
on line 838
{elseif isset($child.thumbnail)}

{********ADD THE FOLLOWING*********}
{capture assign=linkUrl}
{strip}
{if $theme.params.dynamicLinks == 'jump'}
{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}
{else}
{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}
{/if}
{/strip}
{/capture}
{***********************************}

<a onmouseover="pic{$nome}.className='%CLASS% giThumbnail opacity{$Tover}'" onmouseout="pic{$nome}.className='%CLASS% giThumbnail opacity{$Toff}'" href="{$linkUrl}">
{g->image item=$child image=$child.thumbnail class="giThumbnail opacity`$Toff`" name="pic$nome"}
</a>

Added the bolded texts.
It works fine so far.

Hope this helps!

 
drivindisco

Joined: 2006-09-18
Posts: 114
Posted: Fri, 2007-12-21 14:06

My question pertains to the micro thumbs portion of this theme.
I am trying to find out where to configure the spacing for the microthumbs.
In the xtreme theme by default there was no space between or around the micro thumbs
and I would like to configure PGLIGHTBOX to look the same.

see attached images for clarification

 
stefaanoyen

Joined: 2007-04-19
Posts: 2
Posted: Fri, 2008-01-04 22:45

Hi guys,

Same problem here: when I click an album, it just reloads the page, I don't get to the content. This is just a problem with PG Lightbox... Any solution for it yet?

Thanks a lot and... best wishes to all of you!!

 
woomaa

Joined: 2005-10-22
Posts: 2
Posted: Fri, 2008-01-18 13:17

I have another problem:

In my test website http://old.maniowy.net/gallery2/main.php?g2_itemId=44& when you mouseover the thumbnail it shows you title:

Quote:
Tytuł pozycji<br><a href="main.php?g2_itemId=16">View Photo Page</a>

Is any possibility to change this code:

Quote:
title='{$child.title|markup}<br><a href="{g->url params=$theme.pageUrl arg1="itemId=`$child.id`" arg2="enterAlbum=`$child.canContainChildren`"}">View Photo Page</a>'
{else}
title='{$child.title|markup}<br><a href="{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}">View Photo Page</a>'

to display only

Quote:
{$child.title|markup}

?

 
matbor

Joined: 2006-07-09
Posts: 74
Posted: Wed, 2008-02-06 00:57

Hi, just playing with PGlightbox and have noticed a couple of things.

1. That some of the icon's are refering to the location "http://localmail.dynip.com/GALLERY2/themes/PGlightbox/images/closelabel.gif" !

2. If you create a Link to another album it will say the title twice in the link ?

3. I had all my images FULL IMAGES in 1024 x X, now i can only seem to display them in 800 x 600 or 640 x480

4. Can't think of anything else at the moment, love it though ! Just need to put all my old settings back :(

Thanks
Matt.

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) PHP/5.2.0RC6-dev
Database = mysql 4.1.20-community-nt, lock.system=database
Toolkits = Exif, ImageMagick, Thumbnail, NetPBM, LinkItemToolkit, jpegtran, Gd
Acceleration = full/86400, full/86400
Operating system = Windows NT DISCOVERY 5.2 build 3790
Default theme = PGlightbox
gettext = enabled
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; InfoPath.2)
Rows in GalleryAccessMap table = 58
Rows in GalleryAccessSubscriberMap table = 5381
Rows in GalleryUser table = 5
Rows in GalleryItem table = 5337
Rows in GalleryAlbumItem table = 289
Rows in GalleryCacheMap table = 2584

 
matbor

Joined: 2006-07-09
Posts: 74
Posted: Thu, 2008-02-07 03:09

Sorry, BUMP, anyone ???

Matt.

matbor wrote:
Hi, just playing with PGlightbox and have noticed a couple of things.

1. That some of the icon's are refering to the location "http://localmail.dynip.com/GALLERY2/themes/PGlightbox/images/closelabel.gif" !

2. If you create a Link to another album it will say the title twice in the link ?

3. I had all my images FULL IMAGES in 1024 x X, now i can only seem to display them in 800 x 600 or 640 x480

4. Can't think of anything else at the moment, love it though ! Just need to put all my old settings back :(

Thanks
Matt.

Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (Win32) PHP/5.2.0RC6-dev
Database = mysql 4.1.20-community-nt, lock.system=database
Toolkits = Exif, ImageMagick, Thumbnail, NetPBM, LinkItemToolkit, jpegtran, Gd
Acceleration = full/86400, full/86400
Operating system = Windows NT DISCOVERY 5.2 build 3790
Default theme = PGlightbox
gettext = enabled
Locale = en_GB
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; InfoPath.2)
Rows in GalleryAccessMap table = 58
Rows in GalleryAccessSubscriberMap table = 5381
Rows in GalleryUser table = 5
Rows in GalleryItem table = 5337
Rows in GalleryAlbumItem table = 289
Rows in GalleryCacheMap table = 2584

 
ben119

Joined: 2008-01-01
Posts: 24
Posted: Wed, 2008-03-05 09:53
stefaanoyen wrote:
Hi guys,

Same problem here: when I click an album, it just reloads the page, I don't get to the content. This is just a problem with PG Lightbox... Any solution for it yet?

Thanks a lot and... best wishes to all of you!!

Hi all,

I had exactly the same problem on a site I'm doing and decided to use PGTheme instead (even if I prefer PGLightbox in terms of design & functionalities). Had too many bugs and the system was very slow.

But I'll follow up future PGLightbox updates, it's really nice.

Cheers

 
argonaught

Joined: 2006-04-06
Posts: 13
Posted: Sat, 2008-03-15 15:52

Has anyone come across pglightbox setup instructions? i have installed the theme but its not right, logos dont show up, java aplets dont run and most pages load with errors.
Anyone know of a newbie guide??

Cheers
Jase

 
sonicslayr

Joined: 2008-03-19
Posts: 1
Posted: Wed, 2008-03-19 18:36

I am having the same problem with the first page only linking back to "..../main.php?"

hautter, how did you set the first page and the subgalleries to different themes?

anyone else have a solution for this? When matrix is the first page, is there a way to put in a header image like the one in PGlightbox to replace the ugly ol gallery2 logo?

thanks for any help!!

www.tommygunnphotos.com is the site where theme is currently installed

 
sowku

Joined: 2006-01-11
Posts: 1
Posted: Mon, 2008-03-24 19:48
sonicslayr wrote:
I am having the same problem with the first page only linking back to "..../main.php?"

does anyone have teh fix code please? thanks so much.

www.duykhang.com/iam -> gallery
it's weird, i hope to fix this soon. thanks

 
enderandrew

Joined: 2006-06-01
Posts: 42
Posted: Thu, 2008-04-17 03:43

I would really love for something like this to happen!

Foley_no wrote:
Hi! I have installed your theme. And it's the best theme yet. But got some suggestions.
How about using use Scriptalous visual_effect for comments, exif information etc.

http://www.ngcoders.com/ci/index.php/welcome/scriptaculous/

Like this wordpress comment plugin:
http://wordpress.org/extend/plugins/ajax-comments/
http://ajax-comments.dev.rain.hu/2007/07/24/test-page/

Only that it doesnt a slide open button. I want it to be closed as default. But user can open it and look at the comments and comment themselfs..

And how about Scriptalous In Place Editing Demo for details for admins,

http://www.ngcoders.com/ci/index.php/welcome/inplace/

And what about adding the reflection.js? I have added it myself, but if it could be a switch for it, I would love it!:)

I have played a little bit around with the theme, so I got thumbnails prev and next buttons. But the lightbox function on the photopages dont work. Is there a way to fix this? And Select which buttons to put where. Like the Lightbox button, so that if I dont want the prev and next button under the picture i still can get the lightbox button?

And how about cleaning up some code? For instance what about a gfx dir?

I have putted all the .js files in /gfx/js and all css in /gfx/css and all images in /gfx/images.

And thats not why the lightbox function dont work on photopages, because it works on album pages.

Kind Regards

Aksel "Foley" Fjetland
Web: www.foley.no

Nihilism makes me smile.

 
jtenney

Joined: 2008-04-28
Posts: 5
Posted: Fri, 2008-05-30 18:40

I have got things mostly working, but I cannot get the Java Slideshow Applet to work. It always comes up blank. (I am attaching a screenshot of what it looks like. Has anyone fixed this? How if so?

 
m_lokay

Joined: 2007-01-15
Posts: 13
Posted: Sun, 2008-07-20 19:57

Hello. I got everything working with this theme.

The one thing I'm trying to do however is to removing the word "login" in the top navigation row. Why? Because I have my gallery imbedded into Joomla and I want to force my users to login via Joomla and not the gallery.

Any help would be greatly appreciated.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-07-21 17:26
Quote:
emoving the word "login" in the top navigation row. Why? Because I have my gallery imbedded into Joomla

The integration should have done that for you. I guess it does not function correct. You can verify this by changing the matrix theme and if the has the same behavior it is integration code related not the theme.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Golem

Joined: 2007-10-01
Posts: 2
Posted: Mon, 2008-07-21 22:00

Hi,

I have lots of problems with this theme and IE. Neither the lightbox effect on the photo page nor the "previous, next, full size" navigation buttons within an image do work (likely due to some image path problem as I always get the red cross symbol for a missing image). Also many icons such as the "close" button etc. won't show up. Opera suffers from similar problems. Now i have read the following post by Maver1ck on page six:

Quote:
Posted: Sun, 2007-01-07 23:27

LFrank: could you answer for my question ?
#v+
Hi,
I have some new features implemented in my gallery on http://www.brynski.pl/galeria like:
- sidebar like in carbon theme
- bug fixes with icons.
How can I add it to repository ?
#v-

Checking out the site it seems to be the only one that actually doesn't show any of the mentioned problems at all! But somehow his fixes have been ignored totally. Is there any way his solution could be dug up again and implemented into the release? Or maybe at least posted here in the forums. Would really be great!

 
m_lokay

Joined: 2007-01-15
Posts: 13
Posted: Tue, 2008-07-22 00:44

The login through joomla works fine but I can still logout via the link in the Gallery menu. I'd be happy with how its working if my visitors simply could only logout via the main joomla menu.

 
m_lokay

Joined: 2007-01-15
Posts: 13
Posted: Tue, 2008-07-22 11:38

One more question and I'll get out of everyone's hair. Where do I edit the amount of padding around an image on the photo page? I need to make this padding smaller to make the gallery fit within the context of my joomla template.

Please view the attached file. The areas in question are circled in red.

 
ForestCat

Joined: 2007-04-27
Posts: 29
Posted: Thu, 2008-07-24 19:50

I see many questions here, but few answers in the past year. Can anyone comment authoritatively on the status of PGLightbox, re: support/updates? Particularly re: the broken Prev, Full Size, & Next mouseover navigation thumbnails on the photo page (not the lightbox popup) when viewed in Internet Explorer?

Alternatively, if someone has a hack/fix, that would be great. If needed, I can post links/screengrabs of the above behavior.

Thanks

 
manogamez

Joined: 2008-06-03
Posts: 1
Posted: Sun, 2008-11-09 06:08

Is this theme still alive? I'm having loads upon loads of issues on a clean install. Basic functionality is broken (image links).
Here's my info:
Gallery version = 2.2.6 core 1.2.0.8
PHP version = 4.4.7 cgi
Webserver = Apache
Database = mysqlt 5.0.51a-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Gd
Acceleration = full/1800, full/1800
Operating system = Linux boscgi1902.eigbox.net 2.6.24.7 #1 SMP Wed May 7 12:55:23 EDT 2008 i686
Default theme = floatrix
gettext = enabled
Locale = en_US
Browser = Opera/9.62 (Windows NT 6.0; U; en) Presto/2.1.1
Rows in GalleryAccessMap table = 21
Rows in GalleryAccessSubscriberMap table = 74
Rows in GalleryUser table = 4
Rows in GalleryItem table = 74
Rows in GalleryAlbumItem table = 4
Rows in GalleryCacheMap table = 30

 
drgonzo121

Joined: 2008-06-19
Posts: 21
Posted: Mon, 2008-12-08 11:33

hi, when i http://www.fotoftp.be/norbertmaes click, i go to main.php instead of to the albums ...., what am i doing wrong ???

 
Mogsy

Joined: 2008-12-30
Posts: 1
Posted: Tue, 2008-12-30 09:55

Theme is working great for me - nice job.

I've been trying to do a little modification, but haven't been able to figure out how to do it: I'd really like to be able to have the micro navigation thumbnails show up on the album page, next to the album description. Anyone have any ideas how to implement this mod?

'hoping this forum is still alive...

 
ricobilly20

Joined: 2008-10-13
Posts: 5
Posted: Sat, 2009-01-17 09:00

Please Help,

I have been messing around for a long time, but still cant find a way to make it work,
My problem is that, when you click the lightbox pop up, it does not have the lightbox, but instead it opened another page with that image in it.

Thanks in advance.

 
bcclinesyr

Joined: 2009-01-27
Posts: 4
Posted: Tue, 2009-01-27 15:25

Dear Mr:
i install gallery2 and use PGlightbox as defult theme
it is work fine < many thanks
but i wonder who can i delet or change the text u post in first page
i mean this txt

Quote:
ew directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. * -------------------------------------------------------------------------------------------------------------------------------- * PGlightbox 1.1.2 - lf-photodesign.de - based on Pedro Gilberto's PGtheme 1.1.0 *}

EQUIPMENT
PORTFOLIOS

Welcome at the LOCALMAIL.de Gallery featuring lf-photodesign.

Starting with an old PRACTICA L2 at the age of 14, I've entered the world of Photography. Soon a Canon AE1, EOS 650 and later an EOS 5 were following. Never having really forgotten to take pictures, I really stepped back to Professional Imaging with making the step to Digital Photography entering my forties. The Canon EOS 1D Mark II, being currently the heart of my equipment pushed and will push the work to new limits. Feel free to leave comments to the Images presented here at any time. Guest-Upload is limited to the Guest-Folder. Full-Size Images are available only after registration at the site and only for albums this permission was granted. If you decide to register, please supply some additional information together with your request for registration to allow decision on approveal (ie. references, justification of the request).
Registration at this site is required to view resized or full versions of the images presented, but you will nevertheless be able to aquire full quality prints of the images available at lf-photodesign.de.

If you like my Photography and you're willing to support future projects, you might use the "options" link on the top navigation bar to select the 'Purchase Item' link - or use the little Shopping Cart Add-button below the images to get copies of my work. This would be highly appreciated.

Enjoy this Gallery!

Lutz-R. Frank, CPS Member since 2005

so what the fuke file i have to edite to make the chang <
my best regards

 
svenmichiels

Joined: 2009-03-07
Posts: 1
Posted: Sat, 2009-03-07 10:23

Hi,

I'm new here, so I don't know if my question is already been asked.

I use for the portfolio on my website (www.svenmichiels.be) a gallery2 sript with the PGLightbox theme.
In the setting of Lightbox, I set up that he has to show 18 images / page. When I upload 36 images, the theme creates 2 pages, that's normal.
When I double click on the first image, a pop-up frame opens and shows "Image 1 of 18". Normally it has to be "Image 1 of 36".

Does anyone know how to solve this issue?

Thx a lot
Sven Michiels

 
shane76

Joined: 2009-03-31
Posts: 4
Posted: Tue, 2009-03-31 23:39

i can create albums but when i go to click to access them, it just reload main.php again.
my gallery, its in the back of the site,cause i wanted to find a system and work out the bugs before i put it up front for the world to see.

 
shane76

Joined: 2009-03-31
Posts: 4
Posted: Tue, 2009-03-31 23:43

.

 
mindrail

Joined: 2007-10-20
Posts: 15
Posted: Thu, 2009-06-11 10:11

hello

i'm having trouble with the pglightbox config:

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 5.2.6-1+lenny3 apache2handler
Webserver = Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g
Database = mysqli 5.0.51a-24+lenny1-log, lock.system=flock
Toolkits = Gd, Thumbnail, Exif, ImageMagick, ArchiveUpload, SquareThumb
Acceleration = none/0, full/900
Operating system = Linux mybox 2.6.29.x (2009-06-09)
Default theme = PGlightbox
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Macintosh blah)
Rows in GalleryAccessMap table = 132
Rows in GalleryAccessSubscriberMap table = 6577
Rows in GalleryUser table = 75
Rows in GalleryItem table = 6574
Rows in GalleryAlbumItem table = 188
Rows in GalleryCacheMap table = 983

i cannot see a top level album drop down on the front page for admin's use to add new albums to the collection, deal with thumbnail generation etc.

in the glightbox config, i have:

Blocks to show in the sidebar: item actions, album quick links (dropdown)
Blocks to show on album pages: item actions, album quick links (dropdown)

neither give me what i was expecting, the 2nd of which is (eg) an album drop down (just like i get when i go into an album)

also

under :::: actions ::::

ACTIONS :: 1st Page - Show "Gallery" actions bellow author welcome message: Only for admin mode

well i'm logged in as admin and it's not there.

can anyone help me?

thanks
m

 
mindrail

Joined: 2007-10-20
Posts: 15
Posted: Thu, 2009-06-11 11:11

hello
i fixed this by renaming the PGlightbox theme directory forcing the site to error and offer me a link to mod the (top level) album. then i renamed the directory back, and clicked on the link on the site which took me through to the album actions page (but with the theme working) and then noticed the specific album theme config allowed me to add the dropdown and save.

 
petri
petri's picture

Joined: 2005-12-15
Posts: 253
Posted: Fri, 2009-06-26 05:03

Hello Mindrail,

What problem did you fix by renaming your theme folder ? the top lever drop down or the item actions is the sidebar ?

I can't see any actions for all option to put on the sidebar in the PGLightbox theme admin.

I can see in this forum that many people have that problem but no solution is offered.

Is there really no hope ?

Is it because I am under Gallery 2.3, and PGLightbox only works under 2.2 ?

Thank you in advance for any answer to that bug !!

-------------------

Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 apache2handler
Webserver = Apache/2.0.52 (CentOS)
Database = mysql 5.0.68, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, Thumbnail, SquareThumb, LinkItemToolkit
Acceleration = none, none
Operating system = Linux

 
petri
petri's picture

Joined: 2005-12-15
Posts: 253
Posted: Fri, 2009-06-26 05:14

Hello Mindrail,

I think I found a way,

I just deleted all function in my sidebar, and added them again, and now it works !!!

:-)

--------------------------
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 apache2handler
Webserver = Apache/2.0.52 (CentOS)
Database = mysql 5.0.68, lock.system=flock
Operating system = Linux

 
petri
petri's picture

Joined: 2005-12-15
Posts: 253
Posted: Sun, 2009-10-25 07:54

Hi all,

I've a problem with the flash player that does not appear centered on the photo page, the X-treme theme had the same problem and Pedro did fix it but not on PGlightbox

anyone has an idea how to force it to be centered ?

http://www.coquille.org/gallery/friends/2009/housecooling/housecooling.flv.html

thank you in advance for any answer :-)

 
dr_Fell

Joined: 2009-11-14
Posts: 6
Posted: Sun, 2009-11-15 08:07

Anyone successful with lightbox and gallery 2.3 ? Mine with lightbox looks like there's no graphics (theme graphics) at all.

 
Kevin Logan
Kevin Logan's picture

Joined: 2006-07-06
Posts: 51
Posted: Sun, 2009-11-15 11:00

Hi all,
I've been having troubles installing PGlightbox with G2.3 (and 2.2) and I've been reading all the threads here.
I think I just made an important observation that seemingly has solved many of the problems: LFrank has quite a few "absolute" (think that's the correct term) URLs in the templates & the scripts.
The URL he has is "http://localmail.dynip.com/GALLERY2", which btw isn't working.
I did a global folder "Find & Replace" using Dreamweaver, and changed the URLs to my server.
I guess I should have kept track, but I didn't, but there WERE quite a few instances (10 or more).
So I reuploaded all the theme files, and I'm in much better shape.
Still some confusion on my part why the Popup nav icon uses lightbox, and the hover popup is not, but I THINK that the solution to this is somewhere in the theme settings. Will tackle that later. Perhaps this will help others having problems with the theme.
All the best,
Kevin

 
petri
petri's picture

Joined: 2005-12-15
Posts: 253
Posted: Sun, 2009-11-15 11:55

Ahaaa Thanx Kevin,

You might just have given an answer to many of our problems !!! (mine at least) :-)

This is the list of files which contains the URL :

- theme.css (the one in the root folder + the ones from the rating image's themes /images/rating/.../theme.css )
- lightbox.js (the one in the root "js" folder and the one in /images/lb/js/lightbox.js)
- slide.js and slide-old.js in /images/lb/js/...
- portfolio.tpl, if you ever use it the with the exact same content ;-)

looking forward to test it all

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-11-15 16:27
Quote:
I think I just made an important observation that seemingly has solved many of the problems: LFrank has quite a few "absolute" (think that's the correct term) URLs in the templates & the scripts.

Can somebody make the appropriate changes and post a new zip file for the community?
The codex page http://codex.gallery2.org/Gallery2:Themes:PGlightbox will need the files as well.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Kevin Logan
Kevin Logan's picture

Joined: 2006-07-06
Posts: 51
Posted: Sun, 2009-11-15 19:14

I'd love to upload proper files, BUT I always muck up writing proper relative path URLs from sratch,, I always muck up the ../ syntax. Sorry, just a photographer here.
But if anyone would like to try the files with MY absolute URLs (linking to my server, which is up & running) to see if it TEMPORARILY solves their problems, you are welcome to them. NOTE these are NOT proper files, they should have relative path URLs.
http://kevinlogan.com/misc/PGlightbox_TEMP.zip
I forgot to mention, FloriDave, I wish I could help more, you've been such a help to me over the past few years!!!
Cheers & All the best,
Kevin

 
Kevin Logan
Kevin Logan's picture

Joined: 2006-07-06
Posts: 51
Posted: Thu, 2009-11-19 16:09

Hi all, I am having a problem with the "alt" text with the Lightbox popup icon. IMO it's gibberish, showing code from I THINK the album template. I would prefer the mouseover to say "Enlarge Photograph In Lightbox" or something along that line.
Screen capture of what I mean:
[img]http://kevinlogan.com/gallery2/themes/PGlightbox2/templates/local/mouseover_issue.jpg[/img]

I THINK I am working in the right area, album.tpl lines ~1284-1286,

Quote:
<a rel="lightbox[x]"
href="{g->url forceFullUrl=true arg1="view=core.DownloadItem" arg2="itemId=`$child.resizedId`"}"
onmouseover="LightBoxY{$child.id}.src='{$imageURL_on}popupon.gif'"
onmouseout="LightBoxY{$child.id}.src='{$imageURL}popup.gif'" title='{$child.title|markup}<br><a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photographs Purchase Options</a>'

but I can't get the syntax correct.
Any ideas?
Kevin

 
Kevin Logan
Kevin Logan's picture

Joined: 2006-07-06
Posts: 51
Posted: Mon, 2009-12-07 08:21
Kevin Logan wrote:
Hi all, I am having a problem with the "alt" text with the Lightbox popup icon. IMO it's gibberish, showing code from I THINK the album template. I would prefer the mouseover to say "Enlarge Photograph In Lightbox" or something along that line.
Screen capture of what I mean:
[img]http://kevinlogan.com/gallery2/themes/PGlightbox2/templates/local/mouseover_issue.jpg[/img]

I THINK I am working in the right area, album.tpl lines ~1284-1286,

Quote:
<a rel="lightbox[x]"
href="{g->url forceFullUrl=true arg1="view=core.DownloadItem" arg2="itemId=`$child.resizedId`"}"
onmouseover="LightBoxY{$child.id}.src='{$imageURL_on}popupon.gif'"
onmouseout="LightBoxY{$child.id}.src='{$imageURL}popup.gif'" title='{$child.title|markup}<br><a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photographs Purchase Options</a>'

but I can't get the syntax correct.
Any ideas?
Kevin

Kevin

Best I can come up with at the moment is to add: title='{g->text text='PHOTOGRAPH ENLARGED '}<br>{$child.title|markup}<br><a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photo Page</a>'
Basically all I have accomplised was to get the words I wanted, and some space, so the gibberish is well spaced away from the mouseover ALT text I want. Will have to do for now

I am pretty sure that at least the mouseover ALT text belongs in the actual lightbox.js script, in the section that generates the HTML for the page (about line 188). At the moment, that is beyond me, but one of these days, I'll give it a go to change it.

I see that the forum software is taking out all my spaces, so after text='PHOTOGRAPH ENLARGED I just added a bunch of spaces before '
Works, lame, but works :)

All the best,
Kevin

 
Richard King

Joined: 2007-07-08
Posts: 24
Posted: Thu, 2009-12-10 12:47

I too am finding the issue of the gibberish where the ALT text is a problem - has anyone else resolved this?

 
Kevin Logan
Kevin Logan's picture

Joined: 2006-07-06
Posts: 51
Posted: Sat, 2010-01-16 11:42

My mistake, read next post

 
Kevin Logan
Kevin Logan's picture

Joined: 2006-07-06
Posts: 51
Posted: Sat, 2010-01-16 11:46
Quote:
Hi,

I have lots of problems with this theme and IE. Neither the lightbox effect on the photo page nor the "previous, next, full size" navigation buttons within an image do work (likely due to some image path problem as I always get the red cross symbol for a missing image). Also many icons such as the "close" button etc. won't show up. Opera suffers from similar problems. Now i have read the following post by Maver1ck on page six:

Quote:
Posted: Sun, 2007-01-07 23:27
LFrank: could you answer for my question ?
#v+
Hi,
I have some new features implemented in my gallery on http://www.brynski.pl/galeria like:
- sidebar like in carbon theme
- bug fixes with icons.
How can I add it to repository ?
#v-

Checking out the site it seems to be the only one that actually doesn't show any of the mentioned problems at all! But somehow his fixes have been ignored totally. Is there any way his solution could be dug up again and implemented into the release? Or maybe at least posted here in the forums. Would really be great!

I agree. Maciej seems to have worked out many, if not all the bugs with this theme, particulary issues with IE (personally I don't like/use IE, but then I am not the only computer user in the world). In my case PGLightbox (G2 v 2.3.1) is working fine with Chrome & Firefox. Poorly in IE 6 & 7. Going to try IE 8 now
I've emailed Maciej, asking if he would submit his version of PGLightbox to the forum and/or perhaps he found some peculiar & unique set of theme settings that is allowing his site to work well.
It IS possible however, that he's using an older version of G2, and all these issues are only with the newer versions of G2. Not sure.
Anyway, it would be fabulous to get this theme working well
Kevin

FOLLOWUP: I'm getting the same error with IE8. The lightbox works fine on the album page, but not on the photo page with the full size popup. Any ideas?

Error in IE being generated:
Message: Object doesn't support this property or method
Line: 441
Char: 4
Code: 0
URI: http://kevinlogan.com/gallery2/themes/PGlightbox2/images/lb/js/lightbox.js

Gallery URL = http://kevinlogan.com/gallery2/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.12 cgi
Webserver = Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
Database = mysqlt 5.0.87-community, lock.system=flock
Toolkits = Getid3, LinkItemToolkit, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux shadow.estarr.com 2.6.18-128.7.1.el5PAE #1 SMP Mon Aug 24 08:59:38 EDT 2009 i686
Default theme = PGtheme
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0
Rows in GalleryAccessMap table = 85
Rows in GalleryAccessSubscriberMap table = 516
Rows in GalleryUser table = 2
Rows in GalleryItem table = 514
Rows in GalleryAlbumItem table = 33
Rows in GalleryCacheMap table = 0

 
sakamura

Joined: 2010-05-31
Posts: 1
Posted: Mon, 2010-05-31 12:13

Let me add up a few lines here.


PGLightbox version: 1.2.0
Gallery URL = OMITTED
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.13 cgi-fcgi
Webserver = Apache
Database = mysqli 5.1.39-log, lock.system=flock
Toolkits = ArchiveUpload, Getid3, jpegtran, LinkItemToolkit, Thumbnail, ImageMagick, SquareThumb
Acceleration = full/86400, full/86400
Operating system = Linux sanjay 2.6.31.5-modsign-aufs2-grsec-2-opt #1 SMP Wed Dec 16 16:47:31 UTC 2009 i686
Default theme = PGlightbox
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; fr-ca) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Rows in GalleryAccessMap table = 13
Rows in GalleryAccessSubscriberMap table = 636
Rows in GalleryUser table = 3
Rows in GalleryItem table = 632
Rows in GalleryAlbumItem table = 13
Rows in GalleryCacheMap table = 97

Corrected the dynip problem, it helps a LOT.

2 bugs in theme.tpl:
- if you choose no background in the page theme settings, it writes '' (empty) in the field, and not 'none', it would get the background as whateveraddress/.gif instead of removing it
- If you choose no color pack, the system will nonetheless try to get the images in the CSS and in quick-cache img tags at the bottom of the page. Added bounding {if} to both sections. (using 'no' as value to check against), so every page don't try to read the images, and get multiple 404 errors (these take time to read and generate)

With that, my page got from 20 seconds to 3 seconds display. At first I thought it was Dreamhost that was slow, but it ended up being the theme.