HighDots Forums  

re: repeating region

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss re: repeating region in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jjrmy1
 
Posts: n/a

Default re: repeating region - 08-03-2004 , 09:30 PM






No the data source is on a different page and has to be so i enter page.asp as the source. if i use "insert image/data source" then
i can only select from data sources on the same page as the image. my record set is on a different page, but i still need it to be a
repeating region so all the images are shown.

"Craig" <csintheuk (AT) hotmail (DOT) com> wrote

Quote:
is this what you mean:-
img src="<?php echo $row_rsStaff['picbig']; ?>"

i.e., click insert image/data source, etc

Craig


"jjrmy1" <jjrmy1 (AT) earthlink (DOT) net> wrote in message
news:cemoeo$mu4$1 (AT) forums (DOT) macromedia.com...
anyone have an idea as to how i can make a repeating region on one page
when the record set is on another?
What I want repeating is an image who's source is a recordset on another
page. The record set is to a blob in an access table and it
won't work if it's on the same page as the image but i need to make the
image repeating so it shows all pics.

code for recordset:
!--#include file="Connections/myimages.asp" --
%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_myimages_STRING
Recordset1.Source = "SELECT image_blob FROM MYIMAGES"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
If Not Recordset1.EOF Then
Response.ContentType = "image/jpeg"
Response.BinaryWrite Recordset1("image_blob")
End If
Recordset1_numRows = 0
%
%
Recordset1.Close()
Set Recordset1 = Nothing
%


code for image:
img src="file with recordset" border="0"
any help would be appreciated thanks








Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.