Jump to content
Server Maintenance This Week. ×

Examples: Resize Images, Refresh & Rollover Button


Stuart Taylor

This topic is 4753 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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 by Guest
Link to comment
Share on other sites

  • 6 months later...
  • Newbies

From your example:

Choose ( Abs( Get ( SystemPlatform )) ; ""; "data" ; "about" ) & ":text/html,logo.gif"

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 by Guest
Link to comment
Share on other sites

  • 4 years later...

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.

Link to comment
Share on other sites

This topic is 4753 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.