You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm using the Preparse Field inside of a Field Layout for a Volume, how do I access the ID of the field that is using that Volume? I'm trying to transform an image based on the field that is being used.
So for a heroImage assets field the Preparse Field would use a landscape transform while a portraitImage assets field would use a portrait transform.
Basically, I want the Preparse Field to be reusable across assets fields using the same Volume, but provide different transform sizes depending on the assets field.
The text was updated successfully, but these errors were encountered:
If I'm using the Preparse Field inside of a Field Layout for a Volume, how do I access the ID of the field that is using that Volume? I'm trying to transform an image based on the field that is being used.
So for a
heroImage
assets field the Preparse Field would use alandscape
transform while aportraitImage
assets field would use aportrait
transform.Basically, I want the Preparse Field to be reusable across assets fields using the same Volume, but provide different transform sizes depending on the assets field.
The text was updated successfully, but these errors were encountered: