Google Tag Manager

Forum Discussion

jodiechana's avatar
jodiechana
Active Member
9 months ago

How Many Pixels is a Content Block?

Hi, I'm looking to find out the size the content blocks are in pixels? Can someone help?

  • Hey jodiechana ðŸ‘‹

    Can you give some more details on the use case you have in mind?

    If you see the reference MaggieBrennan posted, content blocks are less about pixels and more about file size as a content block can only hold 50kB of data. For example, you couldn't fit most images in a content block by file size, so these are stored in the media library and the code in the block pulls them in. The pixel width of the image is then determined by the size of the message the content block is housed in, or the code in the content block, not by the block itself.

    In my experience content blocks also resize to the content you are putting them in.

    Feel free to ask as many questions as you need and we can all help you answer them.😊

  • DavidO's avatar
    DavidO
    Strategist II

    Hey jodiechana ðŸ‘‹

    Can you give some more details on the use case you have in mind?

    If you see the reference MaggieBrennan posted, content blocks are less about pixels and more about file size as a content block can only hold 50kB of data. For example, you couldn't fit most images in a content block by file size, so these are stored in the media library and the code in the block pulls them in. The pixel width of the image is then determined by the size of the message the content block is housed in, or the code in the content block, not by the block itself.

    In my experience content blocks also resize to the content you are putting them in.

    Feel free to ask as many questions as you need and we can all help you answer them.😊