Jump to content
Server Maintenance This Week. ×

jQuery photo annotation in web viewer


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

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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