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

Database images side by side

New Here ,
Apr 12, 2006 Apr 12, 2006

Copy link to clipboard

Copied

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
TOPICS
Server side applications

Views

420
Translate

Report

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 ,
Apr 12, 2006 Apr 12, 2006

Copy link to clipboard

Copied

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
>


Votes

Translate

Report

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 ,
Apr 12, 2006 Apr 12, 2006

Copy link to clipboard

Copied

> 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


Votes

Translate

Report

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
New Here ,
Apr 13, 2006 Apr 13, 2006

Copy link to clipboard

Copied

bought the tutorial, gonna give it a whirl now

Votes

Translate

Report

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
New Here ,
Apr 14, 2006 Apr 14, 2006

Copy link to clipboard

Copied

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.

Votes

Translate

Report

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 ,
Apr 14, 2006 Apr 14, 2006

Copy link to clipboard

Copied

<img src="<% whatever %>".....

--
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:e1oaod$d9s$1@forums.macromedia.com...
> 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.
>
>


Votes

Translate

Report

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
New Here ,
Apr 19, 2006 Apr 19, 2006

Copy link to clipboard

Copied

LATEST
OK,

so got images coming through now but is there any way i can specify the column widths in the datalist or that the image must be scaled to a certain size. Its just that i want the images to be a hyperlink which when clicked open a new window with a larger size of the image. I have accomplished all this but want to format the datalist to "look better"

Thanks in advance

Votes

Translate

Report

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