Automatic display of resized images
First Claim
1. A method for automatic resizing of an image in a document for display across a network, comprising:
- serving, to a client computing device, the document, the document containing instructions for a client document browser, executed on the client computing device, to (a) display the image in a component within the client document browser, the component being embedded in the document, being sized relative to a size of the client document browser, and being configured to await for and trap resize events fired by the client document browser in response to resizing of the client document browser, and, in response to trapping a resize event fired by the client document browser, (b) resize the component and the image to provide a temporary, resized image that is temporarily displayed within the component, (c) determine a size of the component resulting from the resize event fired by the client document browser, (d) determine a size of a resized image based on the size of the component, (e) transmit a request for the resized image, the request specifying only one parameter corresponding to the size of the resized image, and (f) replace the temporary, resized image within the component with the resized image when received; and
receiving the request and, in response;
scaling a stored image at a server based on the only one parameter specified in the request to generate the resized image, the stored image corresponding to the image; and
serving, to the client computing device, the resized image in response to the request for the resized image from the client document browser.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for automatic display of scaled and/or resized images that fit within pre-defined areas in a web browser are disclosed. The method may be implemented using an image scaling JavaScript component embedded within a HTML document. Upon resizing the a client document browser in which the document is displayed, the component is resized and requests, receives and redisplays a resized image within the resized component from a server. By having the server perform the resizing, the resized image not only fits within the resized component but also maintains the quality of the image without the need for special client-side software.
24 Citations
24 Claims
-
1. A method for automatic resizing of an image in a document for display across a network, comprising:
serving, to a client computing device, the document, the document containing instructions for a client document browser, executed on the client computing device, to (a) display the image in a component within the client document browser, the component being embedded in the document, being sized relative to a size of the client document browser, and being configured to await for and trap resize events fired by the client document browser in response to resizing of the client document browser, and, in response to trapping a resize event fired by the client document browser, (b) resize the component and the image to provide a temporary, resized image that is temporarily displayed within the component, (c) determine a size of the component resulting from the resize event fired by the client document browser, (d) determine a size of a resized image based on the size of the component, (e) transmit a request for the resized image, the request specifying only one parameter corresponding to the size of the resized image, and (f) replace the temporary, resized image within the component with the resized image when received; and receiving the request and, in response; scaling a stored image at a server based on the only one parameter specified in the request to generate the resized image, the stored image corresponding to the image; and serving, to the client computing device, the resized image in response to the request for the resized image from the client document browser. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A method for automatic resizing and display of an image in a document received across a network, comprising:
-
requesting and receiving, at a client computing device, the document and image by a client document browser from a server across the network, the client computing device executing the client document browser, the document containing a reference to the image on the server; displaying the document in the client document browser; displaying the image in a component within the client document browser, the component being embedded within the document, being sized relative to a size of the client document browser, and being configured to await for and trap resize events fired by the client document browser in response to resizing of the client document browser; and in response to trapping a resize event fired by the client document browser; resizing the component and the image to provide a temporary, resized image; displaying the temporary, resized image within the component; determining a size of the component resulting from the resize event fired by the client document browser; determining a size of a resized image based on the size of the component; and transmitting a request for the resized image to the server, the request specifying only one parameter corresponding to the size of the resized image; and receiving, and displaying the resized image from the server, the resized image having been generated at the server by scaling a stored image based on the only one parameter specified in the request, the stored image corresponding to the image, and the resized image replacing the temporary, resized image within the component. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A system for automatic resizing of an image in a document for display across a network, comprising:
-
storage for storing a document that can be served to a client computing device and an image referenced by the document, the component being embedded within the document, being sized relative to a size of a client document browser that is executed on the client computing device, and being configured to await for and trap resize events fired by the client document browser in response to resizing of the client document browser, the component containing instructions for the client document browser to, in response to trapping of a resize event fired by the client document browser;
resize the component and the image to provide a temporary, resized image, temporarily display the temporary, resized image within the component, determine a size of the component resulting from the resize event fired by the client document browser, determine a size of a resized image based on the size of the component, and transmit a request for the resized image, the request specifying only one parameter corresponding to the size of the resized image;an image scalar based on the only one parameter specified in the request and configured to generate the resized image in response to the request for the resized image, the image being scaled at a server using the image scalar to generate the resized image; and a network interface configured to receive requests for the document and for resized images and to serve the document, the component, and resized images. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A computer-implemented method, comprising:
-
receiving, at a server including one or more processors, a first request for a web page from a computing device via a network, the web page including a component configured to (i) display an image and (ii) await and trap resize events fired by a web browser executing on the computing device in response to resizing of the web browser; transmitting, from the server, the web page to the computing device via the network in response to receiving the first request; receiving, at the server, (i) a second request for a resized image and (ii) one parameter for obtaining the resized image, from the computing device via the network, the second request being generated at the computing device in response to the component trapping a resize event fired by the web browser; obtaining, at the server, the resized image using the one parameter in response to receiving the second request; and transmitting, from the server, the resized image to the computing device via the network, wherein upon receiving the resized image the computing device replaces a temporary resized image displayed by the component with the resized image, the temporary resized image having been generated at the computing device in response to the component trapping the resize event fired by the web browser. - View Dependent Claims (22, 23, 24)
-
Specification