Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
5-star Rating (1 Vote) Rate It!  Login/Join 
Junior Member
Picture of PaulMax
Posted
Is there any way to database drive the mtx files? From looking at the mtx files only the basename and imagesize changes. If this data could be added via a database and server generated then you might not need all the mtx files?

My application searches a photodatabase and then displays the zoomview image. If I could put the info in like I do via ASP then I would not need to manage all the mtx files.
 
Posts: 2 | Location: Halifax, Nova Scotia | Registered: December 23, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of duncan
Posted Hide Post
Hi Paul,

By all means, yes, you can generate mtx (XML) from a database. You might want to start looking into XSLT.

HTH,
Daimen
 
Posts: 381 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of DavidR
Posted Hide Post
 
Posts: 308 | Location: Atlanta Georgia | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Member
Picture of PaulMax
Posted Hide Post
Basically, I have sites that run many (1000s) of zoomview images from a database. I use SQL and ASP to generate the link between the data content and the zoomview e.g.,

<script language="javascript">
vmp = new MTSPlugin("zoomview/<%=Recordset1.Fields("ARimage").value%>.mtx",<%=Recordset1.Fields("ARwidth").value%>,<%=Recordset1.Fields("ARheight").value%>,"/nsarm/scripts/BroadcastKey.mtx","<img src='images/<%=Recordset1.Fields("ARimage").value%>.jpg' border=0>","contenttype=2;imagelink=1;popup=1;ComponentMinimumVersion=50333440;GenieMinimumVersion=50333440;HostMinimumVersion=50333440;RequiredVersions=SreeD.dll=3.0.7.46,SreeDMMX.dll=3.0.7.46");
</script>

So the database links the number.mtx. What I want to be able to do is reduce the number of mtx pages. I want to have an mtx page similar to my asp page and plug data variables into it. I have NO IDEA how to do this and would appreciate an example. Thanks - PGM

see:

http://www.gov.ns.ca/nsarm/virtual/africanns/pageBN.asp?ID=1

You can search 3000 names and link to that name on the digitized page of a 1783 ledger.
 
Posts: 2 | Location: Halifax, Nova Scotia | Registered: December 23, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community