uploading an image and setting components
2 2

3 posts in this topic

Hello .  I am working in a script that will let me  upload images to ftrack.server location .Then I set its thumbnail.For this I do this:

modelcomponent = # file uploaded to ftrack

version = model_component['version']
version['thumbnail_id'] = model_component['id']
fo.session.commit()

It works finel.Image goes to ftrack and its thumbnail appears with no issues. But I realized there is no  FtrackReviewcomponent. I found and example and add this to my script:

model_component['metadata']['ftr_meta'] = json.dumps({
                'format': 'image'})
model_component['name'] = 'ftrackreview-image'

With this I get the FtrackReview component, but I lose the file component.I can´t see the url to the image anymore.

 

ftrack.JPG

Share this post


Link to post
Share on other sites

Hi Eder,

Quote

With this I get the FtrackReview component, but I lose the file component.I can´t see the url to the image anymore.

This should be fixed in version 3.3.30 of ftrack, where you will be able to see the URL of an ftrack review component.

Share this post


Link to post
Share on other sites

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
2 2