Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Examples: Resize Images, Refresh & Rollover Button

Featured Replies

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

  • 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

  • Author

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

  • Newbies

Thanks, Stuart!

  • 4 years later...

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 ?

The field must be outside the quotes, something like:

"data:text/html,

...

<img src=" &

Product Catalog::Image Selection

& "width=178 >"

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.