[tags] Implement Tag Albums into Gallery2 frontpage

Torvon

Joined: 2007-12-26
Posts: 70
Posted: Wed, 2008-01-16 13:11

Hello.

(1)How do I implement tag albums into the gallery main window? I know how to link them with the short-URL module, but I want some of my tag albums to appear like normal other albums (with summary below, with a thumbnail window, with the possibility to add comments et cetera.)
Is that possible?
As an example: on the gallery main page I would like to have 9 albums: 6 static ones (create album, name, blabla, upload picture - oldschool), and 3 tag albums which show all items with the tag "travel", "norway" and "cities".

(2) Is it possible to create a replica of a picture which shares comments? I put picture(A) into albums (Y) and (Z), and when someone posts a comment in album (Z), it also appears on the picture in album (Y)? Or is that only possible with tags?

Thanks
ta-ta
T.

---------------
In case you need the link to my gallery in order to answer my help requests:
revelation-of-silence DOT com SLASH gallery

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-01-16 14:59

1. try the http://codex.gallery2.org/Gallery2:Modules:linkitem module.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Torvon

Joined: 2007-12-26
Posts: 70
Posted: Wed, 2008-01-16 15:19

I took a look at the readme, and the installation hints, and and and ... even searched the forums.

In my site admin panel, all that module does is show these options: screenshot
I checked out that khtml program, but I still have no idea what it has to do with the functionality I want (and that actually is written about in the readme of the module)

Sorry, I dont get it ...
---------------
In case you need the link to my gallery in order to answer my help requests:
revelation-of-silence DOT com SLASH gallery

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-01-16 19:24

Select add items, ( if you have the linkitem module activated) you will see a link tab.
click the link tab, in the Link to External URL: add the url to your Virtual album: http://revelation-of-silence.com/gallery/main.php?g2_view=tags.VirtualAlbum&g2_tagName=cities
You will have to tag some items cities.

If you don't have the link tab then you will have to install and activate the link item module. Don't worry about khtml you will not need it unless you want to add screenshots of external sites.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Torvon

Joined: 2007-12-26
Posts: 70
Posted: Thu, 2008-01-17 11:23

Exactly what I needed. I still have some configure issues, though:

(1) I haven't found a way yet to also use subalbums in this new tagalbum structure (for instance the tag-subalbum "moscow" in the tag-album "cities"). My idea was to create a tagalbum "moscow", and put the tag "cities" on it so that it appears in the cities album. But if I try "item action: edit tags" on those albums created with linked items, I get a blank screen ...
EDIT: "move link" on the subalbum "moscow" doesn't work either, because the album I want to move it to "cities" doesn't appear in the dropdown menu to move items to.

(2) Highlight: I cannot get highlights working for the new tag albums - it shows a picture of a chain (which isn't one of mine); I tried "edit picture: highlight" on the picture tagged "cities", but it doesn't work on the linked item album really.

(3) The tagalbums don't appear in the sidebar album menu

(4) Comments and Slideshows don't work on such albums.

(5) And last but not least: as soon as you click on a picture in such a tagalbum (for instnace "cities"), you "lose" being in the album, and get redirected to the "real" album where the picture is located in; it would be nice if you could "browse" those tagalbums like you can browse normal ones.

thanks and ta-ta
T.

---------------
In case you need the link to my gallery in order to answer my help requests:
revelation-of-silence DOT com SLASH gallery

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2008-01-17 14:45

(1) Links are not albums they are links. The virtual albums are not albums either they are dynamically generated.

Quote:
(2) Highlight: I cannot get highlights working for the new tag albums - it shows a picture of a chain (which isn't one of mine); I tried "edit picture: highlight" on the picture tagged "cities", but it doesn't work on the linked item album really.

Click edit tag. there you will be able to add your own theumbnail for the highlight. If you have that module installed as well.

(3) In the album list? no they don' they are links not albums.

(4) don't know never tested. Might be that your default theme does not have those features acivated.

(5) I don't see that behavior. I click on a thumb in a virtual album and I get a photo and I can navigate; first, last, next, previous, just like any other album.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Torvon

Joined: 2007-12-26
Posts: 70
Posted: Thu, 2008-01-17 16:23

basically, I want all the advantages of the "static" albums, + the funcionality of tags. And I thought, perhaps I can achieve that with tagalbums.

ad (1)
So there is no possibility to add subalbums to tagalbums?

ad (2)
Edit Tags on tagalbum "cities" --> http://revelation-of-silence.com/gallery/main.php?g2_view=tags.TagsItemEdit&g2_itemId=1284
White screen. Nothing at all, just white, not even error message.

ad (3)
is there a way to achieve that anyway?

ad (4)
got the slideshow working - comments dont work.

ad (5)
http://revelation-of-silence.com/gallery/main.php
click on album tag: cities --> http://revelation-of-silence.com/gallery/main.php?g2_view=tags.VirtualAlbum&g2_tagName=cities
And then, as soon as you click on a picture, the link leads to the album where the picture is located: in the album portfolio. Is there a way to change that? May the pictures not lie in other albums to display in tagalbums correctly?

thanks floridave

---------------
In case you need the link to my gallery in order to answer my help requests:
revelation-of-silence DOT com SLASH gallery

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2008-01-17 16:34

Ask one question at a time it is less confusion to the thread.

I dont see that behavior on my site does it work in matrix theme?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Torvon

Joined: 2007-12-26
Posts: 70
Posted: Thu, 2008-01-17 18:50

It works with the matrix theme - you can browse the tagged album "cities" like any other static album without leaving it. Unfortunately, it does not work with xtreme - do you have any explanation for that?

The exact difference:
Matrix theme: the link to the picture in the tagalbum "cities" goes to
http://revelation-of-silence.com/gallery/main.php/tag/cities?g2_itemId=674
Xtreme theme: the link to the same picture in the tagalbum "cities" goes tohttp://revelation-of-silence.com/gallery/main.php/v/portfolio/00_04am.jpg.html

The "edit tags" on tagged albums doesn't work with the matrix theme either, I just get a blank white screen :(

Thanks
Torvon

---------------
In case you need the link to my gallery in order to answer my help requests:
revelation-of-silence DOT com SLASH gallery

 
jens_k

Joined: 2007-01-28
Posts: 244
Posted: Thu, 2008-01-17 18:48

Hi Torvon,

ad(5) You can customize that directly via site administration. Go to -> theme -> X-treme. In the section "X_treme Theme Settings" search for "Thumbnail links in dynamic albums". If you select "browse dynamic album" you will get waht you want ;-)

Ciao,
Jens
__________________
http://jekophoto.de

 
Torvon

Joined: 2007-12-26
Posts: 70
Posted: Thu, 2008-01-17 19:03

I actually didn't see that option before, and it sounds correct.

But I had "browse dynamic album" enabled all the time :(
The option somehow seems to be "broken" though - I tried to switch to "jump to original album" and save, but after saving it doesn't change and stays at "browse dynamic album".

Is there any option in the incredible huge wastelands of config files I have to enable as requirement to have this "browse dynamic album" working?

---------------
In case you need the link to my gallery in order to answer my help requests:
revelation-of-silence DOT com SLASH gallery

 
smock9

Joined: 2010-07-21
Posts: 1
Posted: Thu, 2010-08-12 01:14

Hey Torvon,

Did you ever get #4 working? I am trying to set some text to be displayed for each tag album. I'd love a caption field like regular albums but would settle for using the first comment.

Thanks,

Jon