MdenHeijer
Design Dabbler

Set a control's properties for image attachment control doesn't seem to work

Jump to solution

I have a certain view with 5 image attachment controls on it. I use the view in multiple forms. On some forms the size of the images need to be small (32x32) and in other cases it needs to be custom size. My default is small (32x32) and in the view initialize rule I have a condition and then a set a controls properties action to set the size. But it does not work as expected, the size remains rendered the same. Does anyone have experience with a working solution to resize the image attachment control runtime?

Labels: (1)
0 Kudos
Reply
2 Replies
dchersels
Nintex Employee
Nintex Employee

Re: Set a control's properties for image attachment control doesn't seem to work

Jump to solution

I did a quick test and when I use the Set a control's properties action to change Size property to Custom and passing in the Custom Width and Custom Height properties, it works as expected:

dchersels_0-1623192715979.png

 

Size is a view parameter passed in.

 

How are you changing your control's properties?

View solution in original post

0 Kudos
Reply
MdenHeijer
Design Dabbler

Re: Set a control's properties for image attachment control doesn't seem to work

Jump to solution
I've found the issue. When the custom width and height are set with values in the controls properties and you only set the Size Property to 'Custom' (without re-setting the custom width and height) then it doesn't change as expected. When you refill the two custom size properties, then it works.
0 Kudos
Reply