Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Adaptation method and device for pictures in web pages

A picture and webpage technology, applied in the field of picture adaptation in webpages, can solve problems such as unreasonable fixed width design of pictures, failure to meet user browsing needs, etc., and achieve the effect of improving user experience

Active Publication Date: 2020-09-01
BEIJING QIHOO TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this situation, due to the different display parameters of various terminal devices, the fixed-width design of pictures in traditional web pages becomes more and more unreasonable and cannot meet the browsing needs of users.

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
  • Adaptation method and device for pictures in web pages
  • Adaptation method and device for pictures in web pages
  • Adaptation method and device for pictures in web pages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0047] figure 1 A flowchart showing a method for adapting pictures in a web page according to an embodiment of the present invention. Such as figure 1 As shown, the method includes:

[0048] Step S110, receiving a request for acquiring a specified web page sent by the browser on the terminal device.

[0049] Step S120, acquiring a code package for adapting the original picture in the specified webpage to the display parameters o...

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 present invention discloses an adaptation method and apparatus for a picture in a webpage. The method comprises: receiving a request of acquiring an appointed webpage, which is sent by a browser in a terminal device; acquiring a code packet used for performing adaptation processing on an original picture in the appointed webpage and display parameters of the terminal device; and returning the code packet to the browser in the terminal device; therefore, performing the code packet by the browser in the terminal equipment to perform the adaptation processing on the original picture in the appointed webpage and the display parameters of the terminal device, and rendering and loading the appointed webpage containing the picture processed by the code packet. According to the technical scheme provided by the present invention, when the browser in the terminal device loads the webpage, the picture in the webpage is adapted to the current terminal device and is displayed on the premise of ensuring information of the picture is complete and distortionless, so that browsing requirements of users are met and the user experience is greatly improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for adapting pictures in a web page. Background technique [0002] With the continuous advancement of science and technology, the types of terminal devices used to browse Internet pages are increasing. In addition to using traditional PCs, users are also more and more frequently browsing the web through various types of mobile phones, netbooks, PADs and other terminal devices. . In this situation, due to the different display parameters of various terminal devices, the fixed-width design of pictures in traditional web pages becomes more and more unreasonable, and cannot meet the browsing needs of users. [0003] Therefore, how to make the browser on the terminal device load the webpage, and the pictures in the webpage can be displayed on the current terminal device under the premise of ensuring that the picture information is complete and undistorted, wh...

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): G06F16/957
CPCG06F16/9577
Inventor 崔丽
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products