Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for displaying images in web page in browser

A browser and web technology, applied in program control devices, instruments, computing, etc., can solve problems such as users being unable to view clearly or completely, small pixel size, and incomplete picture content display.

Active Publication Date: 2015-02-18
BEIJING QIHOO TECH CO LTD
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is a problem that the picture on the web page may have a small pixel size or the content of the picture may not be fully displayed, and the user may not be able to clearly or completely view the details of the content of the picture

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for displaying images in web page in browser
  • Method and device for displaying images in web page in browser
  • Method and device for displaying images in web page in browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] refer to figure 1 , which shows a schematic flowchart of a method for displaying pictures in a web page in a browser according to the present invention, which may specifically include:

[0088] Step 110, monitoring the mouse hover event on the picture element in the web page;

[0089] In practical applications, image elements in HTML documents are generally image tags Define the image element, its prototype is roughly "", src="image path", the image path is generally a URL, that is, URL (Uniform Resource Locator, Universal Resource Locator), when the rendering engine of the browser reads this code, it will download the image from the image bed server corresponding to the URL for rendering; width="x" indicates the width of the image displayed on the web page , height="y" indicates the height of the picture displayed on the webpage, and the combination of width and height indicates the size of the picture element; Alt sets the text description of this picture. For ima...

Embodiment 2

[0124] refer to figure 2 , which shows a schematic flowchart of a method for displaying pictures in a web page in a browser according to the present invention, which may specifically include:

[0125] Step 210, for the URL corresponding to the current webpage document, match the URL according to the URL matching rules constructed with regular expressions and / or the preset URL list; judge that the webpage document has pictures according to the matching result element's specific page;

[0126] Because the picture elements of many webpages do not possess substantive meaning, just pictures such as advertisements, brief introductions, for these webpages, if also start the follow-up steps of the present invention, can increase the resource that browser takes, in order to avoid this kind of situation, the present invention will The webpages opened by the browser are screened, and only the qualified webpages execute the follow-up process of the present invention.

[0127] The embod...

Embodiment 3

[0165] refer to image 3 , which shows a schematic flowchart of a method for displaying pictures in a web page in a browser according to the present invention, which may specifically include:

[0166] Step 310, according to the main website website matching rules constructed with regular expressions, judge whether the website is the website of the predetermined main website; if the website is the website of the predetermined main website, then enter step 312;

[0167] Step 312, judge whether the web page corresponding to the web address is a specific web page with image elements in the site according to the URL matching rules in the site constructed with regular expressions; if the web page corresponding to the URL is a specific web page with image elements in the site; Then enter step 314;

[0168] Step 314, filter the picture element belonging to one or more of the picture element of the advertisement node, the picture element of the navigation bar node, and the picture ele...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for displaying images in a web page in a browser, and relates to the technical field of browsers. The method comprises the following steps of monitoring an event of suspending a mouse over image elements on the web page; if the event is monitored, obtaining a second image corresponding to a first image in the image elements; creating a window, and loading the second image to the window for display. By using the method and a device for displaying the images in the web page in the browser, the second image having the same display content with the first image in the web page can be directly displayed in the browser window, the self displaying structure of the web page is not changed, and a display interface like a photo album is not clicked; therefore, a user can clearly and completely check the content of images, the user operation is simple, the regular browsing of the user to the web page is not influenced, and the images are displayed in a lightweight maximization manner.

Description

technical field [0001] The invention relates to the technical field of browsers, in particular to a method and device for displaying pictures in webpages in a browser. Background technique [0002] A browser refers to a software that can display the content of HTML (HyperText Mark-up Language, HyperText Mark-up Language)) files on a web server or file system, and allows users to interact with these files. The web browser mainly interacts with the web server through the HTTP protocol to acquire web pages, these web pages are specified by a URL (Uniform Resource Locator, Uniform Resource Locator), and the file format is usually HTML. A web page may include multiple documents, and each document is obtained from the server separately. The HTTP content type and URL protocol specifications allow web page designers to embed pictures, videos, etc. in web pages. [0003] In the prior art, many webpages set picture elements in the HTML document, so that the browser can download the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445G06F17/30
Inventor 蔡永建唐明生甘恩平李煜
Owner BEIJING QIHOO TECH CO LTD