- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-16-2011 09:00 PM
To remove dependancy on external servers for hosting content as part of the block pages, I tried impeding a small image in-line with base64 encoding (see http://en.wikipedia.org/wiki/Data_URI_scheme). When uploading the custom page, the system alerted that it failed for an unkown reason. My assumption is that there is a size limit for the custom block page HTML and with my base64 image imbeded, I exceeded that number. Do we have any idea what that is or if there would be some other reason data URI schemes are not supported?
12-19-2011 06:47 PM
in 4.1.x we will actually display the limit and enhanced the error indicating that you have uploaded something over this limit.
the current limit is roughly 3/4 of 21KB.
12-19-2011 05:22 PM
https://live.paloaltonetworks.com/docs/DOC-2010
the above link is for custom block page. i do not recall any size limit but if you want an image on the block page you will need to host this on a external server.
12-19-2011 05:47 PM
It's not true that the image has to be stored externally.. there is definitely a size limit because I'm able to embed an extremely low resolution image as URI data, it does work. I'm just trying to figure out what the limit is and why there is a limit... I've been able to sucessfully upload a file as large as 9,141 bytes (with the really cruddy image imbeded) and it works.
12-19-2011 06:18 PM
i am trying to figure out the limit right now. the limit should be in place so we do not cause our internal web server to crash while processing that.
this is something that can be done, but i would recommend using an external server to host the images.
12-19-2011 06:47 PM
in 4.1.x we will actually display the limit and enhanced the error indicating that you have uploaded something over this limit.
the current limit is roughly 3/4 of 21KB.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!