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.

jQuery photo annotation in web viewer

Featured Replies

image_src:

/Applications/MAMP/htdocs/jQuery_Notes/images/image1.jpg

body_text_3

  • Author

Perhaps I am making this harder than it needs to be. Ultimately, what I am looking for is a way for users to comment on a photo that is in a record in FileMaker. Currently the photo file is embedded; may use SuperContainer in the future or may simply have it in one directory. Regardless, I'd like users to comment right on the photo.

Any thoughts/ideas/suggestions?

After opening your file off the top of my head it looks like you are not declaring the script tag before the javascript code.

Before any chunk of javascript code you need to have the tag:

and then at the end of the code you put:

I didn't look at things really closely so there may be other issues but that would be the first step to try.

So just wrap any of your jquery functions in the javascript tags and see what happens.

  • Author

Thanks for the reply, Tanner.

I was indeed making this harder than needed. Using jQuery_Notes in MAMP I ended up with the following solution:

1. FMP web viewer:


"http://localhost:8888/jQuery_Notes/index.php?name=images/" & TO::name





2. jQuery_Notes, in the file index.php:





	
<?php if (!isset ($_GET['name'])) { $name = ""; } else { $name = $_GET['name']; } ?>
<?php echo $name ?>

Seems to work pretty well. The notes themselves are written to a separate document. I think they could be brought into FMP via ScriptMaster, if needed.

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.