Forum Discussion
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.😊
- charles_emailsActive Member
It depends on what you put in them. You can put almost any html in there.
- MaggieBrennanCommunity Manager
jodiechana dropping a link to the Content Blocks documentation in case it's helpful: https://www.braze.com/docs/user_guide/engagement_tools/templates_and_media/content_blocks/.
- DavidOStrategist 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.😊
Related Content
- 9 months ago
- 2 years ago
- 5 months ago