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

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

Recommended Posts

Posted

First off,

This product is amazing and has amazing potential!

What i'm trying to do is alter the cropImage function so it pulls the image from a container, image has already been uploaded, resize it and put it back in the container.

is SM able to retrieve data from containers? i havent seen any sample doing that?

thanks

atlz

Posted

Hi altz

When you upload an image to SuperContainer at full resolution you can request a reduced size for quicker display, and so you don't have to rely on FileMaker's Graphic engine to reduce the size of the image in a container field. (when using the plugin)

On the back end SuperContainer creates a thumbnail of that image at the requested size, and saves it on the server so subsequent calls to view that image is fast because the image you are viewing is cached.

can you elaborate what your attempting to accomplish?

Posted

Currently you can only pass strings in as parameters. The best way to get a container field contents is using the fmpro object to get a field by name

InputStream stream = fmpro.getContainerStream("mytable::mycontainer");

String filename = fmpro.getContainerFileName("mytable::mycontainer");

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