Jump to content

Forced Recalculation of Image Thumbnail in Container Field?


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

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?

Link to comment
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!

Link to comment
Share on other sites

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