This content has been marked as final.
Show 1 reply
-
1. Re: Image Gallery Paging
Newsgroup_User Nov 26, 2007 1:07 PM (in response to jmottle)"jmottle" <webforumsuser@macromedia.com> wrote in message
news:fi6u36$r0b$1@forums.macromedia.com...
> I am putting together an image gallery but am not quite sure how to
> approach
> this using Dreamweaver. The main gallery page will simply connect to all
> of
> the images in the gallery and allow you to page through them. When you
> click on
> an image and go to the detail page I want the detail page to a larger
> version
> of the clicked image. So far easy. HOWEVER, I want that detail page to
> allow
> the user to page through all of the other images beloning to that same
> user. So
> when you arrive on the detail page, you are really viewing a recordset of
> all
> images by a particular artist and you are pushed directly to the image on
> the
> first master page. I hope that makes sense. How would I go about doing
> this?
>
> Cheers,
> Jeff
You don't say what server model you are using so I won't provide code
samples.
You could create a second recordset ton the detail page that holds all image
records and use that with the recordset navigation serverbehaviors and a
repeat region for 1 record. You'd have to pass the current page id which
would be the same as the record-index of the image clicked on the masterpage
via a querystring parameter to get the repeat-region on the detail page to
be at the same record.
In the ASP servemodel dreamweaver has a move to detail record
serverbehavior, but I'm not sure if that comes with the PHP_MySQL
servermodel too.

