Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 29th, 2005, 01:53 PM
Registered User
 
Join Date: Mar 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default photo album in a template

can i create a web photo album in a template ????

dc
 
Old May 1st, 2005, 05:07 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Dreamweaver always creates a new page (or pages) when you create a Web Photo Album, so technically speaking, it's not possible to create the album inside the template.
However, nothing is stopping you from copying the Html for the album to a template file and save it, because a album is nothing more than a bunch of tags, links, pages and images.

Why do you want to create an album inside a template?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Sleeping Annaleah by Nick Cave & the Bad Seeds (Track 3 from the album: Kicking Against the Pricks) What's This?
 
Old May 1st, 2005, 02:45 PM
Registered User
 
Join Date: Mar 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

http://users.pandora.be/delbaere/s2.htm

imar

maybe not a webalbum , but when you see on http://users.pandora.be/delbaere/s2.htm you maybe beter understand my question the little picture on the top left ( flower ) i want to open it in the same page in the black rectangle it is possibel
greetings christel

dc
 
Old May 1st, 2005, 04:10 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Dag christel,

If I understand you correctly, you have a few options.

One is to create a page with each of your images hardcoded in the black area, and then have the thumb nails link to each of those pages.

Another approach is to pass the name of the image in the QueryString and then use that to dynamically determine the src attribute of the image. E.g.:

Thumbs:
<a href="ImageViewer.asp?IMAGE=Bloem.gif"><img src="Bloem_tn.gif"></a>
<a href="ImageViewer.asp?IMAGE=Paard.gif"><img src="Paard_tn.gif"></a>

Then in ImageView.asp (can be the same page that holds the thumbs) do something like this:

<black area>

<img src="/Images/<%=Request.QueryString("IMAGE")%>" />

</black area>

This displays something like

<img src="/Images/Bloem.gif" /> when you click the flower image....

HtH,


Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Photo Album Questions m3ben BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 April 4th, 2007 12:12 PM
paging in photo album xperre BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 April 2nd, 2007 03:32 PM
Error posting photo to photo album abel714 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 10 February 5th, 2007 03:07 AM
Wrox Photo Album Help rsearing BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 6 September 27th, 2006 02:30 PM
Photo Album Menus Tremmorkeep BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 August 15th, 2006 01:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.