Member
Member
PierreSnugg   2008-04-23, 08:33
#1

Hy, i still got a problem with my realisation....

My index.php now leads directly to image.php (thanks to acrylian) where i got a big view image and the thumbs under it.

The last thing i want to ask if it´s possible to style the archiv view, or maybe the album.php (unless i don´t use it right now) to get the following structure:

Album1
Thumbs:Imager1,2,3,4,5,6,7,8....

Album2
Thumbs:Imager1,2,3,4,5,6,7,8....

Album3
Thumbs:Imager1,2,3,4,5,6,7,8....

etc.

You know, what i mean....

So the idea is if someone comes to my page he choses on index a Album, zenphoto leads him directly to image.php and if he want´s to view all images he should get a list of all albums with all image-thumbs below.

is that possible?

Administrator
Administrator
acrylian   2008-04-23, 09:55
#2

As I stated on your other thread, it is possible. So here a little code:
`

Member
Member
PierreSnugg   2008-04-23, 11:02
#3

Even better: I added this directly to my archiv view:
`

[code]

Administrator
Administrator
acrylian   2008-04-23, 11:53
#4

I don't know exactly what you mean. The code above (both mine and your mod) should print the thumbs to each album in the loop.

Member
Member
gerben   2008-04-23, 13:06
#5

@PierreSnugg at the start of your while(next_album()) loop you could print the album title, and you could make each section (album title and it's thumbs) a paragraph,
so in some pseudo code just like this:

while (next_album)

print album title;
foreach (image) { draw the thumb }

endwhile

Member
Member
PierreSnugg   2008-04-23, 16:00
#6

Here we go! Works perfect...

i wrote:

`

Administrator
Administrator
acrylian   2008-04-23, 16:07
#7

Ok, if that was all, you could have looked at index.php or album.php to see how to get the album title.
Let us know when the site is ready..:-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.