Workflow image formatting, different per workflow

I can create a formatting rule to resize an image in a workflow template. Like this:

But what if I want a different size of the image in a different workflow? Is there some sort of Context expression I can use in the Condition field of the Format Rule?

As a workaround for now, I’ve created a new VC that just mirrors the image column in question, thus allowing me to apply a new rule to that VC instead of the original column. That seems like it is unnecessarily resource-intensive.

1 Like

I think you have identified a limitation. I am not certain how you can overcome it. Hopefully, someone in the community has an idea.

@Marc_Dillon, is it important that the actual image file size be larger/smaller, or are you trying to resize the pixel dimensions of the image? One method you may already be familiar with is containing the <<[image]>> within a table in each individual workflow template - the image should resize to fit the boundaries of that table, allowing you to adjust the size per workflow.

@Peter
Just resizing the display dimensions in the resulting pdf.
My experience has shown that the table will scale up to hold the image size, not restrict it. Or maybe I’m not seeing an option for a maximum table size? GDoc tables provide a width, and a minimum row height option.

I believe that if you include ‘margin’ columns in your table, and the whole table fits to the edges of your template, the cell should contain the image to the size of the cell.

For example, this sample email with image embedded resulted from sample this Google Doc workflow template (the image is contained to the cell width):

2 Likes

Ahh I see. I’ll try it out. Thanks

I am not seeing that this works, @Peter . I’ve got a table like:

2X_f_f3cebaa13e1d4e458605d126d0237a2e530bfcf1.png

It does not seem to be scaling the image down at all. I even set the column widths to 1 and 10, for image and blank right margin respectively, and saw no size reduction.

@Marc_Dillon if you have multiple rows, does the cell constrain the image by height?

@Peter No I am not seeing any size constraint with single or multiple rows.

I’m sorry @Marc_Dillon, not sure about any other recommendations for now.