Jump to content

Photogallery with text under pictures and page numbers


kuba2
 Share

Recommended Posts

Hi there

I have made a basic photogallery on the website ( http://olikehrli.ch/galerie/ ) I created with processwire ( foreach loop ), but there are only photos and captions for fancybox.

What I need to do is a product photo gallery with descriptions ( attached images ) and with page numbers. I looked into all the tutorials, but I guess I need a push.

Can anybody please point me in the right direction with the php? I am learning php on youtube, but it's not processwire specific 8 ( if there is such a thing ), so I am still quite in the dark.

I guess there isn't a ton of code to write, but I am a bit overwhelmed.

Any help would very much appreciated.

Thanks a lot

Jakob

2.png

1.png

Link to comment
Share on other sites

First, take a look at the docs on pagination, if you haven't already done so. Important thing to remember is that you need to enable pagination in your parent template (/galerie/) in the case of your example, or in the case of a shop perhaps /produkte/.

If it is for a shop, then each product should probably be a page, but you can paginate images just as easily. (And if it is a shop take a look at this.)

If you get stuck, come back here and ask some more.

  • Like 6
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...