Skip to main content
Participant
April 12, 2006
Question

Database images side by side

  • April 12, 2006
  • 2 replies
  • 578 views
Hi,

i have a database with images and these are being displayed with no problems on my .aspx pages, albeit one on top of the other. while this is ok i want to be able to have images displayed side by side in a 4 columned table and when the fifth image is being pulled through it will go to the next line and so on. Can anyone help me with this\? Even point me in the direction of an extension which could help.

These images will be thumbnails which i will then click on to have the larger image displayed in a new window.

Thanks in advance
This topic has been closed for replies.

2 replies

Inspiring
April 12, 2006
> i have a database with images and these are being displayed with no
> problems
> on my .aspx pages, albeit one on top of the other. while this is ok i
> want to
> be able to have images displayed side by side in a 4 columned table and
> when
> the fifth image is being pulled through it will go to the next line and so
> on.
> Can anyone help me with this\? Even point me in the direction of an
> extension
> which could help.

This can be done in Dreameweaver using standard DW tools and no extension. I
did an article on it here:
http://www.communitymx.com/abstract.cfm?cid=0A8AC

Basically, you use a DataList, choose to use table, then table columns of 4
and choose how many records you want to show total.


--
--
Tom Muck
co-author Dreamweaver MX 2004: The Complete Reference
http://www.tom-muck.com/

Cartweaver Development Team
http://www.cartweaver.com

Extending Knowledge Daily
http://www.communitymx.com/

EZ Gram -- the ease of e-mail with the impact of hard copy
http://www.ezgram.com


Participant
April 13, 2006
bought the tutorial, gonna give it a whirl now
Participant
April 14, 2006
OK,

so went through the tutorial and everything worked ok but how would i accomplish getting an image from the database to be output on the screen. at the minute it just prints the name/path of the image file on the page.
Inspiring
April 12, 2006
Put your looper around the <td> not around the <tr>. Have nested loopers
where the inner one counts to 4....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"markusmaximus" <webforumsuser@macromedia.com> wrote in message
news:e1j5dt$ln4$1@forums.macromedia.com...
> Hi,
>
> i have a database with images and these are being displayed with no
> problems
> on my .aspx pages, albeit one on top of the other. while this is ok i
> want to
> be able to have images displayed side by side in a 4 columned table and
> when
> the fifth image is being pulled through it will go to the next line and so
> on.
> Can anyone help me with this\? Even point me in the direction of an
> extension
> which could help.
>
> Thanks in advance
>