Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Image Gallery Paging

Explorer ,
Nov 23, 2007 Nov 23, 2007
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
TOPICS
Server side applications
322
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 26, 2007 Nov 26, 2007
LATEST
"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.



Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines