Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms 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 January 21st, 2004, 06:43 PM
Authorized User
 
Join Date: Jan 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You know I just took the advice from your original post to use
<IMG SRC="../LPimages/<%=rsLPM.Fields("Ps_ImageUrl")%>">

I created a new ASP page called it LPImages.asp, created a recordset to pass the value into <%=rsLPM.Fields("Ps_ImageUrl")%>, one the original page I used

language="javascript" id="Image" onclick="return Image_onclick();">
that called a function called image_click

function Image_onclick() {
    window.listados.location.href="LPImage.asp?Ps_Id=< %=Request.QueryString("Ps_Id")%>"
}

this worked out because in the original page I am using the <IFrame> tag the call other pages like subforms.

I should of just stuck with your original posting. one quick formating question in <IMG SRC="../LPimages/<%=rsLPM.Fields("Ps_ImageUrl")%>"> how do I get it fit smaller I have to scroll around in the Iframe to view the complete picture.:)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems in Image Data Type ayan.mukherjee VB Databases Basics 0 June 30th, 2008 03:54 AM
Javascript and binary image data thenoseknows ASP.NET 2.0 Professional 0 January 8th, 2007 07:26 PM
base64_encode() to encode image data vibinkrish Beginning PHP 1 March 9th, 2006 11:27 AM
IMAGE Data type ranakdinesh BOOK: Professional C#, 2nd and 3rd Editions 6 March 18th, 2005 08:35 AM
Image in a data access page. Brownr Access 7 March 2nd, 2004 12:17 AM





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