a) There is no conversion to byte code / binary code, the image is a binary date and is simply stored in the same way as in the database. This is certainly not the best way to save photos, because each image request includes a database, web servers faster serve static content directly.
b) it's a little better, but for privacy reasons you have to make sure that you canβt view images
c) Facebook: Facebook uses a content distribution network (CDN) to store images of its users, so if a browser requests a specific image, it is downloaded from the server closest to it. The image is distributed to several servers dedicated around the world. The same goes for YouTube files and videos.
source share