I’d like to know if it’s possible to assign image data as text to an image in HTML form instead of setting it’s “src” property to a file path… i want to do it with PHP!…
i remember seeing something like the following code in some websites’ source…
for example:
image data = R6+1u5jwhwf6GOG6X6MpFR/hrlbNA1JcqeByPKDIivcJQa2ePIft0Jqewk4/lLYSy4YU1BXARkvdN7vJxx0vUOJGiU5OiMhMhWrH6s1n3pGK0Sat0mMiUCQX4e4BDU+yD1kB87tI+Xh+WitqNN7FyLysoGlAvsGfZQ2bOo+7+7Bm6K4NMktamfNG9v
in this way… by viewing the source of my webpage… it’s not possible to see the address of the images used! just it’s data! i think it’s more secure! MAYBE!
Thanks!
I think what you’re referring to is Base64 encoded images in HTML.
It’s not very portable though, not nearly as much as a standard img tag.