×

Methods for bundling images and devices thereof

  • US 10,116,726 B2
  • Filed: 07/09/2013
  • Issued: 10/30/2018
  • Est. Priority Date: 07/09/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for bundling images, the method comprising:

  • obtaining, by a web server, a web page requested by a client device, the web page comprising a plurality of image elements;

    determining, by the web server, when at least a first image element and a second image element of the plurality of image elements each include a HyperText Markup Language (HTML) source attribute value, wherein each of the HTML source attribute values identify an image directory and an image file name; and

    when the determination indicates that at least the first image element and the second image element of the plurality of image elements each include the HTML source attribute value;

    inserting, by the web server, and prior to sending the requested web page to the client device, a first data attribute bundle into the first image element and a second data attribute bundle into the second image element, wherein the first data attribute bundle comprises the image directory and the image file name of the HTML source attribute value associated with the first image element and the second data attribute bundle comprises the image directory and the image file name of the HTML source attribute value associated with the second image element;

    replacing, by the web server, at least each of the HTML source attribute values of the first image element and the second image element of the plurality of image elements with a default data uniform resource indicator (URI) of a spacer graphic interchange format (GIF) transparent image, wherein the default data URI of the spacer GIF transparent image does not enable rendering of any of one or more images identified by the image directory and image file name associated with each of the HTML source attribute values;

    inserting, by the web server, a reference to a JavaScript executable file into the requested web page, sending the requested web page to the client device, and receiving a request from the client device for the executable file; and

    sending, by the web server, the JavaScript executable file to the client device in response to the request, the JavaScript executable file configured when executed to replace each of the HTML source attribute values associated with the first image element and the second image element of the plurality of image elements with a data URI with a base 64 encoding of a corresponding one of the images identified by the image directory and image file name in the respective first data attribute bundle and the second data attribute bundle.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×