ZenphotoCMS Forum
An album appearing as subalbum of more than one album (how to) - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: An album appearing as subalbum of more than one album (how to) (/thread-7427.html)



An album appearing as subalbum of more than one album (how to) - minutepapillon - 2010-08-04

Hi everyone,
Is there a way to make an album appear as a subalbum in more than one album ?
(... without duplicating it ?)
Same question for an image :
Is there a way to make an image appear in more than one album ?
(... still without duplicating it ?)
That would be great ...
Thank's for your answers ... (I hope this question is not too stupid ...)




An album appearing as subalbum of more than one album (how to) - acrylian - 2010-08-04

No, that is not the concept of Zenphoto. You could use dynamic albums. Please see the user guide on that.




An album appearing as subalbum of more than one album (how to) - minutepapillon - 2010-08-04


Thank's Acrylian,

Dynamic albums are indeed a great feature, cool ... (but not quite the same ...)

"that is not the concept of Zenphoto"

Well, that would be nothing but a kind of shortcut (like in windows ...)

Easy to implement no ? ... and convenient, I guess ...

Zp does already more that I hoped to find 2 months ago when I was looking for a galery CMS ... I am more grateful than sorry ...

o)
Thanks,
Bye




An album appearing as subalbum of more than one album (how to) - acrylian - 2010-08-04

Well, Zenphoto is file system based, it recognizes what it finds in your root albums folder and turns that to albums/images. Therefore having "duplicates" without having "duplicates" is problematic.




An album appearing as subalbum of more than one album (how to) - sbillard - 2010-08-04

Shortcuts (actualy in Unix sym-links) are filesystem items. If you do create such an entity pointing to the actual folder, Zenphoto will dutifully treate it as an album, giving you what you are asking.




An album appearing as subalbum of more than one album (how to) - minutepapillon - 2010-08-05

I understand.
An idea (just for the fun of it):
If zp is file based, shortcut files could be used. ZP could be able to add the shortcut of a folder A in another folder B (with a little drop down menu like for "move" function). When displaying B, zp would find A's shortcut in B's bolder and display A's thumbnail in B's album.
In the administration, shortcut subalbum would appear differently : not much editable, but with a link to the original subalbum. There, a list of all its shortcuts would be displayed.
Editing the description only once, ordering the images only once and having the files only once on the FTP would, ect ... be the advantage.
Bye the way, I am a zero in php ... (talking guys often don't DO much ...) ;o)
Thank's anyway !




An album appearing as subalbum of more than one album (how to) - minutepapillon - 2010-08-06

Thanks Sbillard,

"... dutifully treate it as an album"
Really !? ... cool and unexpected !

"If you do create such an entity pointing to the actual folder"
You mean, if i create it on my pc, indicating the relative url of the target album ?
And then I upload ...

Thanks mister Chief Dev !
Bye




An album appearing as subalbum of more than one album (how to) - sbillard - 2010-08-06

Quote:You mean, if i create it on my pc, indicating the relative url of the target album ?
And then I upload ...
Not sure what you are saying here. Simlinks must be on the server where zenphoto resides and must point to folders accessable to that server or they do not work as symlinks (nothing to do with zenphoto)