September 1, 200619 yr The example is inspired by The Bridge it gives a couple of examples that maybe useful with Web Viewer: 1. Resize an image 2. Refresh Content 3. Embed a flash rollover button You need 8.5 to use this The attachments named MacAndPC should work on PC although i only have a Mac so can't test it. best wishes, Stuart WebViewer_Example.fp7.zip WebViewer_MacAndPC.fp7.zip Edited September 1, 200619 yr by Guest
September 1, 200619 yr Author Would be great if you could post any other examples or improvements/comments! SVG is well worth checking out :-) Edited September 1, 200619 yr by Guest
March 24, 200718 yr Newbies From your example: Choose ( Abs( Get ( SystemPlatform )) ; ""; "data" ; "about" ) & ":text/html," Is it possible to refer to an existing field for the img src URL instead of hardcoding it in? If so, how do I go about doing this? Say for example http://fmforums.com/forum/skins/Crisp/logo.gif was in Table "Blue" and Field "Link"... Thanks! FM Noobee Edited March 24, 200718 yr by Guest
March 24, 200718 yr Author Choose ( Abs( Get ( SystemPlatform )) ; ""; "data" ; "about" ) & ":text/html,"
April 28, 201114 yr How would you get this code to work with a Field "Image Selection" which holds the URL to the images. I tried; "data:text/html,<img src=Product Catalog::Image Selection width=178 >" But that didn't work..... Anyone got any ideas ?
April 28, 201114 yr The field must be outside the quotes, something like: "data:text/html, ... <img src=" & Product Catalog::Image Selection & "width=178 >"
April 28, 201114 yr Thanks that worked... I tried changing the code to "data:text/html, <img src=" & Product Catalog::Image Location Site & " width=150 or height=200>" But it just made the image stretched, is there a way to get it to resize the image by Height OR Width, depending on what is first. Some of my images are large in WIDTH while some of them are Large in height.
Create an account or sign in to comment