Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Examples: Resize Images, Refresh & Rollover Button


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

Recommended Posts

  • 6 months later...
  • Newbies
Posted (edited)

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
  • 4 years later...
Posted

The field must be outside the quotes, something like:

"data:text/html,

...

<img src=" &

Product Catalog::Image Selection

& "width=178 >"

Posted

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.

This topic is 4978 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.