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

Method and device for displaying pictures in webpage in browser

A browser and picture technology, applied in program control devices, instruments, user interface execution and other directions, can solve the problems of small pixel size, incomplete display of picture content, and users unable to view clearly or completely.

Active Publication Date: 2018-07-27
BEIJING QIHOO TECH CO LTD
View PDF7 Cites 2 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 pictures in webpage in browser
  • Method and device for displaying pictures in webpage in browser
  • Method and device for displaying pictures in webpage 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, whose prototype is roughly " ", src="image path", the image path is generally a website address, that is, URL (Universal Resource Locator), when the browser's rendering engine reads this code, it will download it from the image bed server corresponding to the URL The image is rendered; width="x" indicates the width of the image displayed on the webpage, height="y" indicates the height of the image displayed on the webpage, and the combination of width and height indicates the size of the image element; Alt setting is correct This picture text description. For the picture elem...

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 pictures in web pages in a browser, and relates to the technical field of browsers. The method includes: monitoring the mouse hovering event on the picture element in the webpage; if the mouse hovering event on the picture element in the webpage is monitored, then for the first picture in the picture element, obtain the corresponding first picture the second picture; create a window, and load the second picture into the window for display. The present invention can directly display the second picture with the same content as the first picture in the webpage in the browser window, without changing the display structure of the webpage itself, and without clicking to enter a display interface similar to a photo album, so that users can clearly , Completely view the content of the picture, the user's operation is simple, it will not affect the user's normal browsing of the page, and realizes the lightweight enlarged picture display.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30G06F9/451
Inventor 蔡永建唐明生甘恩平李煜
Owner BEIJING QIHOO TECH CO LTD