New Theme: Greypop

Kitrax

Joined: 2009-02-11
Posts: 3
Posted: Fri, 2009-02-13 01:30

Thanks lvthunder!

 
borkhuis

Joined: 2009-02-16
Posts: 6
Posted: Mon, 2009-02-16 22:57

I am using the Greypop theme and it works pretty good. I am having one problem. The pictures I use are hires pictures (something like 2000x3000). When I use the normal viewer the page shows the scaled-down picture (to 800x800). When I click on this picture the hires picture is shown. When I use the Lightbox module it uses the hires picture instead of the scaled-down version. Is there a solution for this?

I managed to create a workaround by changing:

rev="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id`"}"

into:

rev="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id+2`"}"

($child.id is the original image, +1 is the thumbnail, +2 is the scaled down image)
This is something that works (for the moment), but I would prefer to have a solution that is not hardcoded to a specific ID.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2009-02-16 23:41

In theme.inc you need to change this line.

$lboxMaxEdge = 650;

Change it to say 850 if your pictures are 800x800. What is happening is it is trying to grab a picture that has a max edge of 650 pixels and since it's not finding one it is just grabbing the full size picture. I was having problems with people who used pictures smaller then 650 pixels and they would get nothing so I added that check.

 
borkhuis

Joined: 2009-02-16
Posts: 6
Posted: Tue, 2009-02-17 07:24

That does indeed solve this problem. Thank you for your quick reply and the support for this theme.

 
Barinthos

Joined: 2009-02-17
Posts: 6
Posted: Tue, 2009-02-17 17:40

I installed the theme and module and made sure the Lightbox plugin was installed and activated but there still isn't any Lightbox effect. Whenever I click on an image it just expands the image to it's original size within the same window.

I tried uninstalling and deleting it entirely and reinstalling and reactivating it but still nothing. Also, when I have the "Use the lightbox to view photos." option selected (yes the plugin is installed/activated) I get a few annoying errors that make the option totally unusable.

[img]http://i2.photobucket.com/albums/y43/Raiten/Errors.jpg[/img]

So as you can see, the mouse over tooltip is huge...and totally ridiculous, the "admin options" for the albums are no longer useable and considered links to the image.

And there's no way to add new photos without being logged in as Admin. Now this might not have anything to do with Greypop, but seeing as nothing else is working with the theme I have to assume that it is somehow related.

There is also the problem of images being displayed. When i'm not logged in as admin only one image shows up on the main page. When I click on the "View Photo Page" it brings up the one shows in the initial thumbnail, but when I click on the actual title of the image being shown, the OTHER image comes up.

Now I thought this would be a relatively easy installation and setup, but as my luck would have it, it's nowhere near. I've even gone so far as to "re-install" all the Gallery2 files and the greypop133 modules and theme(twice) to make absolutely sure the files were in their original state and no tampering of any kind happened.

So if there's any kind of assistance anyone can lend, please do so. I'm getting frustrated to the point of giving up :(

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2009-02-17 17:53

The tooltip is that big because that's what shows when you see in the lightbox itself. In the theme options what do you have as Blocks to show in the lightbox.

I need more information then I get a few annoying errors to be able to help you. Am I suppose to guess what those errors are? Maybe a link to your site might help.

If you want to be able to add images in theme options you need to put item actions either in the album pages or the sidebar.

 
borkhuis

Joined: 2009-02-16
Posts: 6
Posted: Tue, 2009-02-17 21:07

I guess you are using Firefox. I t was something that annoyed me as well, but it is quite easy to solve: in albumlight.tpl add title=$child.title to all lines where an image link is constructed (so all lines starting with g->image), like this:

    {g->image id="%ID%" item=$child image=$child.thumbnail
     class="%CLASS% giThumbnail" title=$child.title}

This will add a title tag to images. When no title tag is available Firefox uses the title tag from the link, which is the Lightbox link.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2009-02-17 21:18
borkhuis wrote:
I guess you are using Firefox. I t was something that annoyed me as well, but it is quite easy to solve: in albumlight.tpl add title=$child.title to all lines where an image link is constructed (so all lines starting with g->image), like this:

    {g->image id="%ID%" item=$child image=$child.thumbnail
     class="%CLASS% giThumbnail" title=$child.title}

This will add a title tag to images. When no title tag is available Firefox uses the title tag from the link, which is the Lightbox link.

If you do that make sure you do it in before.tpl and after.tpl (in the lightbox module) so that when you hit those pictures not on the current page the text in lightbox is consistent.

 
Barinthos

Joined: 2009-02-17
Posts: 6
Posted: Wed, 2009-02-18 04:02

I thought I explained the issues I was having good enough but I guess not :P

I was able to get the mouse over tooltip fixed though, I followed this and it resolved that issues, thankfully.

But I still have some issues with the Lightbox module. It just doesn't seem to work at all. I'm sure if you check out the 2 images on my site you'll see what I mean.

The Album (1st listed) appears to work, but when you go into it to see what images are in it, you get a thumbnail with

"Summer Night Forest
View Photo Page
rel="lightbox[photos]">"

above it. You can't click on the thumbnail and clicking on the other links it takes you to where it should, but when you want to expand it, where I would like Lightbox to come into play, it just maximizes the image within the same window. Not that this is a huge deal, I just like the way Lightbox looks and blends with the site.

Now the single image on the main Gallery menu has the same text above it, but when you click on either link it takes you to an awesome white page of nothingness.

This doesn't change regardless whether I turn Lightbox on or off in Plugins or Themes by the way.

Hopefully I explained my situation a bit better.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2009-02-18 17:34

I'm not exactly sure what that link you gave me did but it sure doesn't fix the tooltips. That was for the ebony theme. The part you are seeing above the picture should be part of the link. So let's try this.

1) Undo whatever you changed to change the tooltip.
2) If it still shows that stuff goto Site Admin -> Themes and tell me what it says under Blocks to show in Lightbox.
3) Remove any blocks that are there just to see if it works.
4) In albumlight.tpl line 123 it looks like I might of missed an ' so change this

		      <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" rev="{g->url arg1="view=core.DownloadItem" 
arg2="itemId=`$child.resizedId`"}" title='<h4>
{$child.title|markup|replace:"'":"&#39"}</h4><br><a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photo Page</a>
<br>{$smarty.capture.lbjs|replace:"'":"&#39"} rel="lightbox[photos]">

to

		      <a href="{g->url arg1="view=core.ShowItem" 
arg2="itemId=`$child.id`"}" rev="{g->url arg1="view=core.DownloadItem" 
arg2="itemId=`$child.resizedId`"}" title='<h4>
{$child.title|markup|replace:"'":"&#39"}</h4><br><a href="{g->url 
arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photo Page</a>
<br>{$smarty.capture.lbjs|replace:"'":"&#39"}' rel="lightbox[photos]">

Let me know if that works.

 
Barinthos

Joined: 2009-02-17
Posts: 6
Posted: Wed, 2009-02-18 17:14

Thanks for the assistance lvthunder.

I reverted the ItemInfo.tpl back to the way it was before the change, and sure enough, the tooltip wasn't affected. Which makes me wonder if I had a plugin activated/installed that was causing the problem. Which now leads me to ask, what plugins should I NOT have activated/installed, or are there any?

I also followed steps 2 - 4 but was unable to notice any changes within gallery. When i'm in "guest" mode I still see the

"Summer Night Forest
View Photo Page
rel="lightbox[photos]">"

Above the thumbnails. But when I'm in Admin mode it changes to

Delete Photo Edit Permissions 
        Edit Photo Make Highlight 
              Move Photo 

As a single link, and the thumbnail disappears and just changes to a clickable title of the image with the same problem as before. The Album takes me to the photo within the album but no thumbnail is present, but when i click on the "links" it takes me to the appropriate screen. But the single image on the main page still takes me to a blank page regardless of which link I click.

I did however notice that the

"Summer Night Forest
View Photo Page
rel="lightbox[photos]">"

above the thumbnails is missing...but most likely because it's replaced by the above mentioned single link.

I'm wondering whether I should give you the admin login to the site so you can check the settings within themes and plugins to make sure I didn't miss anything or select something I shouldn't have. I'm only willing to do this because once I figure this out I plan to erase the MySQL database and Subdomain and start all over from scratch.

Anyway, let me know if there's anything else that I should try. Again, thanks for the help.

*EDIT*

Well I decided to refresh my site one more time to see if maybe it would magically work...and well, it did lol. I guess the changes you suggest did indeed work lvthunder. As for the edit to the ItemInfo.tpl, that wasn't for the tooltip, but instead for a Translation Error caused by the Ebony theme, which i did in fact installed at one time. So It removed the annoying

[Translation error: Array ( [one] => (%d item total) [many] => (%d items total) [count] => [arg1] => ) ]

Under the thumbnails.

This is fantastic. I'm really excited now lol.

But there is one thing I want to know now. I wondered if there was a way to add a "View Actual Size" or "Zoom" function within Lightbox to view the images full size. Or even allowing a mouse click to take you to the Full image within Gallery itself?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2009-02-18 17:12

So you were able to find the missing ' in albumlight.tpl at line 123. The way lightbox works is it takes what's
in the title tag in the link and shows it under the picture. So somewhere there is an ' in the title tag which
closes it and that's why you see all that stuff above the picture. It looks to me that you have Item Actions in
the show in lightbox field but it shouldn't matter.

Try this.
Turn on the Imageframe module and pick a frame. Greypop comes with one that has a white border with a drop shadow.
See what that does. I'm thinking you found a bug somewhere in albumlight.tpl.

 
Barinthos

Joined: 2009-02-17
Posts: 6
Posted: Wed, 2009-02-18 17:31

Yeah I was able to find the line of code that was missing the ' and changed it to the one you posted above.

I installed and activated ImageFrame, refreshed my site but nothing seems to have "broken". I used the Spiral Notebook for Albums, Greypop for Items and Film Strip for photos. So it just makes the collection look all the better now lol.

I did notice another issue, quite a big one though. I can't upload any images anymore. I can go through the steps, Add Item > Browse > "Create Thumbnail" both on and off > Add Items. When the page starts transferring data, it just refreshes the page back to the File Upload page but nothing has changed.

*edit*

Nevermind...i figured out why I couldn't upload the image i wanted to. It was a .png, and the site doesn't support that.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2009-02-18 17:43

You might look and see if your server has one of the other image tool kits available.

As for the full size image yes you can change it. Do a search in albumlight.tpl, before.tpl, and after.tpl for View Photo Page and change
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photo Page</a>
to
<a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id`"}">View Photo Page</a>

 
Barinthos

Joined: 2009-02-17
Posts: 6
Posted: Wed, 2009-02-18 19:40

Well when I say view the full image, I meant being able to Zoom in or Enlarge the item within either Lightbox or the theme itself instead of bringing it up in a different/blank window.

I tried a couple different things to see if I could get it to work but nothing does. But I guess being a script/coding newbie I didn't expect much.

I suppose having to click a couple more times to get the full sized image isn't a huge deal. Just wanted to know if it was possible :P

*Edit*

I took a look in the images folder of the Greypop them and noticed that there was an icon for "Expand", which makes me wonder whether that can actually be used at all. Or is it only there since it's a common icon used with Lightbox?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Wed, 2009-02-18 21:14

The expand icon is part of lightbox, but the code needs to be modified to give it a different URL. I think the way it currently works in lightbox is if the image is bigger then the screen it will scale the image in the browser and display that button. I don't think you want that because it will increase the bandwidth of your site and make it slower.

 
chrisn

Joined: 2008-04-24
Posts: 5
Posted: Fri, 2009-03-13 01:57

Hey lvthunder - I have been testing the greypop v1.33 theme with G2.3 and so far it does everything I need. However I don't want the "Show Photo Page" link on the lightbox popup. Is this something within lightbox or the theme? If it is within the theme, could you point me in the right direction for which file and piece of code I need to remove to get rid of the link.

thanks

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Fri, 2009-03-13 03:06

It's in albumlight.tpl and the lightbox module files before.tpl and after.tpl. Just do a search. It's in those three files multiple times.

 
nav211

Joined: 2009-05-18
Posts: 4
Posted: Tue, 2009-05-19 09:34
lvthunder wrote:
I'm not exactly sure what that link you gave me did but it sure doesn't fix the tooltips. That was for the ebony theme. The part you are seeing above the picture should be part of the link. So let's try this.

1) Undo whatever you changed to change the tooltip.
2) If it still shows that stuff goto Site Admin -> Themes and tell me what it says under Blocks to show in Lightbox.
3) Remove any blocks that are there just to see if it works.
4) In albumlight.tpl line 123 it looks like I might of missed an ' so change this

		      <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" rev="{g->url arg1="view=core.DownloadItem" 
arg2="itemId=`$child.resizedId`"}" title='<h4>
{$child.title|markup|replace:"'":"&#39"}</h4><br><a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photo Page</a>
<br>{$smarty.capture.lbjs|replace:"'":"&#39"} rel="lightbox[photos]">

to

		      <a href="{g->url arg1="view=core.ShowItem" 
arg2="itemId=`$child.id`"}" rev="{g->url arg1="view=core.DownloadItem" 
arg2="itemId=`$child.resizedId`"}" title='<h4>
{$child.title|markup|replace:"'":"&#39"}</h4><br><a href="{g->url 
arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}">View Photo Page</a>
<br>{$smarty.capture.lbjs|replace:"'":"&#39"}' rel="lightbox[photos]">

Let me know if that works.

lvthunder,
I am having the same problem as Barinthos. I tried following your discussion with him but couldn't fix it. You can goto http://www.navisgallery.com/gal1/main.php and look at the mouse over tooltip. I fixed the ' in albumlight.tpl and have no blocks enabled to show in lightbox. Can you please help me figure this out? My knowledge in php is limited me read and follow.

Also, I am sure you have heard this numerous times and yet here it goes again. Greypop is awesome!!
Thanks,
Nav

 
nav211

Joined: 2009-05-18
Posts: 4
Posted: Wed, 2009-05-20 10:04

nevermind. I see that you have the same issue with your gallery too. thanks again for the theme.

cheers,
Nav

 
railcrew

Joined: 2009-03-11
Posts: 7
Posted: Mon, 2009-10-19 06:57

I just noticed a strange phenomenon happening on my gallery. It only happens on Firefox (3.5.3 is what I'm using) and strangely enough it doesn't happen when I visit your site. I'm getting a slightly darker shade of grey border around my photos, aprox. 10-20 pixels wide. I'm using greypop album, item, and photo frames, I've done nothing to my files lately, I haven't even downloaded a pic in 6 months. I just noticed it this evening. Like I said, I don't notice it happening on your gallery site, (although your title image is now the same darker shade of grey around your name)

http://gallery.tunnel13.com

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2009-10-19 13:33

Welcome to browser color management. Basically what is happening is the browser is using the embedded profile for the images (sRGB) and your monitor profile for the rest of the page. What you need to do is take the images and resave them without an embedded profile. The pictures for the greypop imageframe is under gallery2/modules/imageframe/frames/greypop (I think).

 
railcrew

Joined: 2009-03-11
Posts: 7
Posted: Tue, 2009-10-20 07:49

how do I... "resave them without an embedded profile.".... and which images are you talking about? the images in that folder:(gallery2/modules/imageframe/frames/greypop)or my images I uploaded? sorry, I'll catch on...

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2009-10-20 14:32

If your using Photoshop just open them then go File -> Save As and at the bottom there should be something that says ICC Profile. Uncheck that and save. Only do that to the title image and the imageframes (if you want just click and drag the imageframe images from my site). I'll get this fixed in the next release.

 
railcrew

Joined: 2009-03-11
Posts: 7
Posted: Wed, 2009-10-21 07:53

I got it thanks

 
tjohnson

Joined: 2009-10-30
Posts: 1
Posted: Thu, 2009-11-05 20:34

Like most others I just found your Theme and LOVE it!! I have been doing some minor tweaks and there is one I have seen comments on but no description of how to change it.

I have seen alot of comments about the back and next buttons showing up either on Top and bottom or Left to Right. I understand this changes depending on if its Portrait or Landscape. I would like to keep this the same for all pictures or have it below the pictures.

I know this would be done in the photo.tpl and think I know where its done but do not know how to edit it. If you have already explained this in another thread I appologize, but can you forward that to me.

Couple other tweaks I am just starting to work on.

1.) When I have an album with multiple pages, I would like to have the page: and the next>> last>| on the same line instead of two seperate lines. Quick search found nothing on this one.

2.) I would like to remove the dropdown list at the bottom of an album. Has show womments and slideshow in it.

Thansk for all your help.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Fri, 2009-11-06 03:53

It was 2005 when I wrote that code but you need to look in photo.tpl for the code that says

{if ($theme.item.height) > ($theme.item.width)}
</td><td> 
{else}
</td></tr><tr><td>
{/if}

There are two of them. One for the previous and one for next.

1)I'm not quite sure what you've done but it shows up that way on my site. Maybe your browser window is too small.

2) Under Site Admin -> Themes is where you control what shows up on what page.

 
www dimo spb ru

Joined: 2005-11-10
Posts: 25
Posted: Tue, 2009-11-17 16:20

Hi guys!
Anyone thought of replacing lightbox with other lightboxing script?
Original lightbox script in the attached module is very heavy , and.. it's old!

I wanted to replace it with a Clearbox, but did not succeed :((
Other compact script is ok too...
Maybe lvthunder will give a hint?

(http://clearbox.hu)

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2009-11-17 16:38

You need to modify the clearbox code to look at the rev attribute of the link instead of the href. I did that so that if a user turns Javascript off they would see the standard page instead of just the photo. Also if an admin needs to get to the photo page to get to the Edit Photo link or something they could.

To change it though you need to modify before.tpl, after.tpl, albumlight.tpl, and preloads.inc.

 
xoomxoomang

Joined: 2010-01-10
Posts: 7
Posted: Mon, 2010-01-11 02:03

Never mind, found the check box in the theme's master settings. Jeez.

Read through most of the comments... my head hurts.

http://gallery.mosaicmidwifery.com/gallery2/main.php

Very basic install at this point.
Gallery 2.3.1

Lightbox mod installed

Problem: Images do not open in a lightbox.

 
awabuaya

Joined: 2010-02-01
Posts: 15
Posted: Mon, 2010-02-01 07:19

all guys..

need some comment

i`m using gallery2 and greypop as a theme, when you open an album and put your mouse over the picture thumbnail, there some HTML code <h4>Title</h4><br><a href ="Image link">text</a><br>

example http://www.norlectech.net/index.php?q=gallery&g2_itemId=69 just put your cursor over image and its code will appear..

anybody can help me to solve this things.

thanks anyway

br,
awa

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2010-02-01 17:05
awabuaya wrote:
all guys..

need some comment

i`m using gallery2 and greypop as a theme, when you open an album and put your mouse over the picture thumbnail, there some HTML code <h4>Title</h4><br><a href ="Image link">text</a><br>

example http://www.norlectech.net/index.php?q=gallery&g2_itemId=69 just put your cursor over image and its code will appear..

anybody can help me to solve this things.

thanks anyway

br,
awa

That's the way it works. The only way to get rid of that is to disable the lightbox. Just look farther up on this page to see where we have discussed this in the past.

 
xoomxoomang

Joined: 2010-01-10
Posts: 7
Posted: Tue, 2010-02-02 01:07

Looking for how to add the photo level description into the lightbox.

Can't find it in the threads, maybe looking for wrong keywords.

Thanks.

 
awabuaya

Joined: 2010-02-01
Posts: 15
Posted: Tue, 2010-02-02 02:49

That's the way it works. The only way to get rid of that is to disable the lightbox. Just look farther up on this page to see where we have discussed this in the past.

so there is no way to solvethis? i guess ?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2010-02-02 04:00
xoomxoomang wrote:
Looking for how to add the photo level description into the lightbox.

Can't find it in the threads, maybe looking for wrong keywords.

Thanks.

Have you tried $child.description? If that doesn't work you can turn on debug mode and see what all the variables are. After that you need to add it to the title tag to the links in albumlight.tpl, before.tpl, and after.tpl.

 
xoomxoomang

Joined: 2010-01-10
Posts: 7
Posted: Tue, 2010-02-02 16:46

I believe $child.description for <h4> actually worked, but I edited so many different things, in different combinations, I'm not certain. I will gather the code from the various files and post here in the near future for reference.

Thanks so much!!

Any idea where to edit to set thumbnails for only the top level album to display right by default, instead of left?

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2010-02-02 16:20

Your example uses WordPress for the front page. If I were you and all you want is a front page I would just create a static front page (pure HTML and CSS) and have a link to your gallery. If you want the top gallery page just find a theme you like and just set that main page to that theme.

 
awabuaya

Joined: 2010-02-01
Posts: 15
Posted: Tue, 2010-02-02 16:46

hi.. lvthunder

i really love this theme so could you just try to fix image desc bug which appear when using lighbox please?

i guess there is something wrong with albumlight code its really sure to use all <a> without closed by "</a>" tag

thanks

 
xoomxoomang

Joined: 2010-01-10
Posts: 7
Posted: Tue, 2010-02-02 16:52

That is actually an excellent suggestion, thank you.

I can't seem to get viewcount or date off from the subalbums either, so I must be missing an edit somewhere.

I think creating the mainpage as a static and linking perfectly solves that issue, so now to remove the extra info from the subalbums and items themselves.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2010-02-02 16:56
awabuaya wrote:
hi.. lvthunder

i really love this theme so could you just try to fix image desc bug which appear when using lighbox please?

i guess there is something wrong with albumlight code its really sure to use all <a> without closed by "</a>" tag

thanks

It's not a bug. It's by design. The Lightbox JS uses the title tag and all the html code in it to display text underneath the photo in the lightbox.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2010-02-02 17:00
xoomxoomang wrote:
That is actually an excellent suggestion, thank you.

I can't seem to get viewcount or date off from the subalbums either, so I must be missing an edit somewhere.

I think creating the mainpage as a static and linking perfectly solves that issue, so now to remove the extra info from the subalbums and items themselves.

It's in album.tpl or albumlight.tpl depending upon if you use lightbox or not. There are multiple locations depending on if you use imageframes or not.

 
xoomxoomang

Joined: 2010-01-10
Posts: 7
Posted: Tue, 2010-02-02 17:04

By the way, lvthunder, thanks for the theme, and thanks for supporting it this long, and through all these requests. We're lucky.

 
xoomxoomang

Joined: 2010-01-10
Posts: 7
Posted: Tue, 2010-02-02 17:19
xoomxoomang wrote:
That is actually an excellent suggestion, thank you.

I can't seem to get viewcount or date off from the subalbums either, so I must be missing an edit somewhere.

I think creating the mainpage as a static and linking perfectly solves that issue, so now to remove the extra info from the subalbums and items themselves.

FOUND IT....

albumlight.tpl

{if ($theme.item.canContainChildren && $theme.params.showAlbumOwner) ||
(!$theme.item.canContainChildren && $theme.params.showImageOwner)}
{assign var="showOwner" value=true}
{else}
{assign var="showOwner" value=false}
{/if}
{g->block type="core.ItemInfo"
item=$child
showDate=false
showOwner=$showOwner
showSize=false
showViewCount=false
showSummaries=true
class="giInfo"}

 
awabuaya

Joined: 2010-02-01
Posts: 15
Posted: Thu, 2010-02-04 02:32

yup may be it is,

but if we wanna compare to the other theme, they using lightbox too and have tittle tag which work on them too but there is no html code :)

so can you just trying to fix it please, hope soo

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Thu, 2010-02-04 02:45

Which theme?

 
awabuaya

Joined: 2010-02-01
Posts: 15
Posted: Thu, 2010-02-04 10:20
awabuaya wrote:
all guys..

need some comment

i`m using gallery2 and greypop as a theme, when you open an album and put your mouse over the picture thumbnail, there some HTML code <h4>Title</h4><br><a href ="Image link">text</a><br>

anybody can help me to solve this things.

thanks anyway

br,
awa

already solve, brother lvthunder

may be this the right time to realease graypop v.1.3.4

1. at albumlight.tpl
find "title" at line 93, 104, 123, 134 and replace with "cap"

<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" rev="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id`"}" title='<h4>{$chil.......
to.....
<a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$child.id`"}" rev="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id`"}" cap='<h4>{$chil.......

2. at lightbox.js
find "title" and repalce with "cap"

----=>at line 392
imageArray.push(new Array(imageLink.getAttribute('rev'), imageLink.getAttribute('title')));
to....
imageArray.push(new Array(imageLink.getAttribute('rev'), imageLink.getAttribute('cap')));

----=>at line 400
imageArray.push(new Array(anchor.getAttribute('rev'), anchor.getAttribute('title')));
to....
imageArray.push(new Array(anchor.getAttribute('rev'), anchor.getAttribute('cap')));

thanks

regards

awa

dam this the dam cool simple theme

 
vishvijay

Joined: 2010-02-08
Posts: 1
Posted: Mon, 2010-02-08 18:15

How this theme would work what that coding part is.....

Webdesign

logo maken

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Mon, 2010-02-08 18:21
vishvijay wrote:
How this theme would work what that coding part is.....

Webdesign

logo maken

I have no idea what you are trying to say.

 
Chris Kotsiopoulos

Joined: 2010-10-15
Posts: 1
Posted: Fri, 2010-10-15 18:02

Hi everybody!
Excellent work. I really like the minimalistic style of this theme.
I'm trying to embed it to my site:
www.greeksky.gr
I have one question. Is there a way to place the title and description below the photo?

Many thanks.
Chris.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Tue, 2010-10-19 04:06

If you use lightbox you need to edit albumlight.tpl. If you don't edit photo.tpl.