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.

adding a container image to the web page

Featured Replies

Im sure im not the first person to ask this but here goes… How do I get an image to show on my webpage. My script successfully finds a record and displays the text from a number of fields. ( see arina.biz/search.php)

I have added the following

$address = 'https:fms.arina.biz:444';
$Image = $record->getField('Image');
echo $address . $Image;

returns

https://fms.arina.biz:444/fmi/xml/cnt/Monash-BLTB-300x200.jpg?-db=Projects&-lay=WebSearch&-recid=1462&-field=Image(1)

This seems to the correct syntax based on the CWP manual. I believe it is a permission issue as I can click the link and using the PHP passwords see the image.

How would I add the user name and password

 

I should add the jpg is embedded

 

Edited by Aussie John

  • Author

Also it seems I needed to add 

echo '<img src="'. $Address . $Image .'">';

 

Page is requesting a password and user name.

 

Edited by Aussie John

The PHP and XML access methods have independent extended privileges. Although you have authenticated your PHP session in your script this is not carried forward to the XML engine.

Try setting the fmxml extended privilege to a "Guest" account.

Support for the old http://username:password@address is almost non-existent.

Did you also look at the php method getContainerData()? (NB. does not work for external storage))

  • Author

Thanks Ideal Data - adding the guest to fmxml did the trick

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.