Jump to content
macmasterservices

Forced Recalculation of Image Thumbnail in Container Field?

Recommended Posts

I have two container fields, one named 'Image' and another named 'Image Thumbnail', the latter which uses this calculation resize the image:

GetThumbnail (Image; Total width cm * 5.1; Total height cm * 5.1)

This works fine, except that 'Image Thumbnail' is only created immediately after importing an image into the 'Image' field.

I would like to force regeneration of 'Image Thumbnail' whenever I change any parameters of the above calculation, such as the 5.1 factor. How can I automate this?

Share this post


Link to post
Share on other sites

Is the calculation storage option to "do not store calculation results -- recalculate when needed" checked? Making the calculation unstored should allow it to update automatically.

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, John Mark Osborne said:

Is the calculation storage option to "do not store calculation results -- recalculate when needed" checked? Making the calculation unstored should allow it to update automatically.

Originally my thumbnail field was a container field with a calculated result. I changed it to a calculation field, chose "Calculation result is 'Container'" in the lower left corner of the Specify Calculation window, and then selected "do not store calculation results -- recalculate when needed" in the Storage Options as you suggested, and voila! - Problem solved.

Thanks!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.