[ic] Passing data from flypage to new page to content of image_large field.

John Wolgamot John at Wolgamot.com
Tue Jun 15 17:17:26 EDT 2004


Hi,

Sorry if I missed it. I'm sure this has been asked and answered. I've been
looking for a while with no luck though.

Code snips follow this diatribe.

I'm trying to use the image_large field in the database to display an
enlarged image(NO-popup). The link takes you to the flypage2 but the image
won't display on the page. I have read somewhere in the mail archives that
it has something to do with the session ID or passing the data to the next
page but I'm not sure where to find that info in the mailing lists.

I'm still looking and if I figure it out before anyone has a chance to
respond, I'll post a reply of my discoveries here. Obviously I'm a complete
novice but I have had luck with other hurdles like adding new tables to the
database and matching input fields to the admin UI. I was happy about that
one :-)

In the meantime I thought I would ask if anyone could help me understand
what code I need to insert which passes the info to the flypage2 so it will
know which product image to pull from the image_large table, or if I'm
missing code in the flypage2.html

I also tried enclosing the table in flypage2 inside of a <form> </form> with
various clips from the top of the normal flypage <form> but I'm just not
versed enough to completely get it yet.

Following are code snippets.

Thanks in advance,
John



I have inserted the following code in the flypage below the
[/if-item-field] so there will be a link below the medium sized image to
send the user to the flypage2.


-----------------------
STOCK CODE FROM FLYPAGE
-----------------------
[if-item-field image]
	    <IMG SRC="items/[item-field image]" ALT="[item-filter
entities][item-description][/item-filter]" title="[item-filter
entities][item-description][/item-filter]" BORDER=1>
 	  [/if-item-field]


------------------------------------------------------------------
CODE I ADDED TO PLACE A LINK BELOW THE MEDIUM IMAGE ON THE FLYPAGE
------------------------------------------------------------------
        [if-item-field image_large]
	  <A HREF="[area flypage2]">ENLARGE</A>
        [/if-item-field]





Then I created a second flypage (flypage2.html) which contains the
following code including a BACK button link which I like a lot.


@_NOLEFT_TOP_@
<!-- BEGIN CONTENT -->

[fly-list]



<br>
	  <table width="100%">
  <tr>
    <td><div align="center">[if-item-field image_large]
	    <IMG SRC="items/[item-field image_large]" ALT="[item-filter
entities][item-description][/item-filter]" title="[item-filter
entities][item-description][/item-filter]" BORDER=1>
 	  [/if-item-field]</div></td>
  </tr>
</table>


<FORM><INPUT TYPE="button" VALUE="Back" onClick="history.go(-1);return
true;"> </FORM>



[/fly-list]
<!-- END CONTENT -->
@_NOLEFT_BOTTOM_@



More information about the interchange-users mailing list