Google Tag Manager

Forum Discussion

MetroBOS's avatar
MetroBOS
Active Member
2 years ago

Is there a way to set an image to a specific pixel size within a template?

I created a template using the Drag and Drop Editor mode.  I inserted an image that is 128px wide.  I'd like to scale it down to 64px wide, but I can't seem to find a way to do this.

The only option I can find is a slider which is not working for what I need.  It only slides up and down in 5% increments, and the smallest possible option it allows me to choose is 110px wide.

Is there a way to specify an exact width?

  • Arso's avatar
    Arso
    Specialist

    I don't think there's a straightforward way to do it. 

    You could add a row with 3 or 5 columns and put the image block in one column, then increase padding in combination with the slider to get to the desired width. 

    The other two options are adding a HTML block and defining the exact width in the code, or just resizing the image to 64px and re-upload ðŸ˜…