CN103677720A - Picture display method and device based on website - Google Patents

Picture display method and device based on website Download PDF

Info

Publication number
CN103677720A
CN103677720A CN201310728120.9A CN201310728120A CN103677720A CN 103677720 A CN103677720 A CN 103677720A CN 201310728120 A CN201310728120 A CN 201310728120A CN 103677720 A CN103677720 A CN 103677720A
Authority
CN
China
Prior art keywords
width
webpage
window
client
focus picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310728120.9A
Other languages
Chinese (zh)
Inventor
张博
李时斌
吴海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310728120.9A priority Critical patent/CN103677720A/en
Publication of CN103677720A publication Critical patent/CN103677720A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a picture display method and device based on a website, wherein the method and device are used for solving the problem that because website focus pictures are all in the fixed state in the prior art, the presentation effect of the focus pictures is affected. The method includes the steps that a service request of a client is received; according to the resolution ratio used by the client currently, the current display width of a browsing window of the client is obtained; a corresponding webpage is acquired according to identification of the webpage, the width of the webpage is determined, and the sizes of the focus pictures in the webpage are determined; the ratio of the current display width of the browsing window to the width of the webpage is calculated; the sizes of the focus pictures are adjusted according to the ratio, and the webpage containing the adjusted focus pictures is sent to the client to be presented. According to the method, the sizes of the pictures of the webpage are adjusted according to the browsing window of the client and the resolution ratio used by the client currently, and thus the presentation effect of the focus pictures is guaranteed.

Description

A kind of image display method and device based on website
Technical field
The present invention relates to network multimedia and play field, relate in particular to a kind of image display method and device based on website.
Background technology
Network, as the product of development in science and technology, is also the sign of information age.The mankind, along with the universal and development of network service, have entered the information age.Our life of access that network is more and more stronger, network is gone out Information Communication by various types of websites.
At present, in website, occurred that a kind of new information represents form---website focus chart.Website focus chart represents a pictures or plurality of pictures in the specific position of website.Conventionally website focus chart is all at the visibility point of the website homepage space of a whole page or the channel homepage space of a whole page, and the form of playing with picture combination, plays focus picture.
The focus chart of website more has vision attractability than the information of general character property, easily causes visitor's click.According to statistics, the clicking rate of website focus chart is apparently higher than the clicking rate of pure words information.
Yet in prior art, no matter which kind of resolution is terminal adopt, website all provides the focus chart of same size, like this, can affect the effect that presents of focus chart.
For example, if terminal adopts high-resolution, the focus chart that website provides is now in terminal, may cannot see focus chart clearly due to the too small user of causing of focus chart.
Again for example, if terminal adopts low resolution, the focus chart that website provides is now in terminal, may because focus chart is excessive, cause terminal cannot present complete focus chart.
Above-mentioned any situation no matter, all can affect the effect that presents of focus chart.
Summary of the invention
The embodiment of the present invention provides a kind of image display method and device based on website, in order to solve in prior art, exist because website focus chart is all in stationary state, thereby affect the problem that presents effect of focus chart.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
First aspect, a kind of image display method based on website, comprising:
Receive the services request of client, in this services request, carry the resolution of the current use of described client, and the sign of the Webpage of described client-requested access;
According to the resolution of the current use of described client, what obtain described client browses the current display width of window;
According to the sign of described Webpage, determine corresponding Webpage, and determine the width of described Webpage, and the area size that takies in described Webpage of definite focus picture;
Described in calculating, browse the ratio of the width of the current display width of window and described Webpage;
The area size described focus picture being taken in described Webpage according to described ratio is adjusted, and the Webpage that includes the focus picture after adjustment is mail to described client presents.
By this method, according to the size of the resolution adjustment Web page picture of browsing window and the current use of client of client, can when customer end adopted high-resolution, amplify focus chart, and then see focus chart clearly, when customer end adopted low resolution, dwindle focus chart, and then can in webpage, present complete focus chart, finally guaranteed the effect that presents of focus chart.
In conjunction with first aspect, in the possible implementation of the first, according to the resolution of the current use of described client, what obtain described client browses the current display width of window, comprising:
If described in browse window and browse window for maximizing, according to the resolution of the current use of described client, described in obtaining, browse the current display width of window;
If described in to browse window be that window is browsed in non-maximization, the window adjusting information of browsing sending according to the resolution of the current use of described client and described client, browses the current display width of window described in obtaining.
In this way, the size of the focus chart in webpage can adjusted according to the size of browsing window.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described client sends browses and browses the maximized ratio of browsing window display width that the current display width of window and the resolution of described current use can be supported described in carrying in window adjusting information.
In this way, can determine the size of browsing window of client.
In conjunction with the first or the possible implementation of the second of first aspect or first aspect, in the third possible implementation, the area size described focus picture being taken in described Webpage according to described ratio is adjusted, and comprising:
Amassing of the region height that described focus picture is taken in described Webpage and described ratio, as the object height of described focus picture;
Amassing of the peak width that described focus picture is taken in described Webpage and described ratio, as the target width of described focus picture;
Judge that described object height is more than or equal to default height threshold, and described target width is while being more than or equal to default width threshold value, according to described object height and described target width, described focus picture is adjusted;
Judge that described object height is less than default height threshold, or described target width is while being less than default width threshold value, according to described height threshold and described width threshold value, described focus picture is adjusted.
In this way, can determine object height, the target width of focus picture.
The third possible implementation in conjunction with first aspect, in the 4th kind of possible implementation, if the number of described focus picture is greater than 1, according to described height threshold and described width threshold value, described focus picture is adjusted, the Webpage that includes the focus picture after adjustment is being mail to before described client presents, is also comprising:
While there is lap between each focus picture after judgement is adjusted, the edge of each focus picture is carried out to corresponding cutting.
In this way, can guarantee to guarantee to be after the size adjustment of all focus pictures in webpage not have now lap.
Second aspect, a kind of image display apparatus based on website, comprising:
Receiving element, for receiving the services request of client, carries the resolution of the current use of described client in this services request, and the sign of the Webpage of described client-requested access;
Processing unit, for according to the resolution of the current use of described client, what obtain described client browses the current display width of window;
Determining unit, for determining corresponding Webpage according to the sign of described Webpage, and the width of definite described Webpage, and definite focus picture occupied area size in described Webpage;
Computing unit, for browsing the ratio of the width of the current display width of window and described Webpage described in calculating;
Running unit, for according to described ratio, described focus picture being adjusted in described Webpage occupied area size, and mails to described client by the Webpage that includes the focus picture after adjustment and presents.
Like this, according to the size of the resolution adjustment Web page picture of browsing window and the current use of client of client, can make the image display apparatus based on website when customer end adopted high-resolution, amplify focus chart, and then see focus chart clearly, when customer end adopted low resolution, dwindle focus chart, and then can in webpage, present complete focus chart, finally guaranteed the effect that presents of focus chart.
In conjunction with second aspect, in the possible implementation of the first, described processing unit, specifically for:
If described in browse window and browse window for maximizing, according to the resolution of the current use of described client, described in obtaining, browse the current display width of window;
If described in to browse window be that window is browsed in non-maximization, the window adjusting information of browsing sending according to the resolution of the current use of described client and described client, browses the current display width of window described in obtaining.
Like this, the image display apparatus based on website can adjusted the size of the focus chart in webpage according to the size of browsing window.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, described client sends browses and browses the maximized ratio of browsing window display width that the current display width of window and the resolution of described current use can be supported described in carrying in window adjusting information.
Like this, can determine the size of browsing window of client.
In conjunction with the first or the possible implementation of the second of second aspect or second aspect, in the third possible implementation, described running unit specifically for:
Amassing of the region height that described focus picture is taken in described Webpage and described ratio, as the object height of described focus picture;
Amassing of the peak width that described focus picture is taken in described Webpage and described ratio, as the target width of described focus picture;
Judge that described object height is more than or equal to default height threshold, and described target width is while being more than or equal to default width threshold value, according to described object height and described target width, described focus picture is adjusted;
Judge that described object height is less than default height threshold, or described target width is while being less than default width threshold value, according to described height threshold and described width threshold value, described focus picture is adjusted.
Like this, running unit can be determined object height, the target width of focus picture.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, if the number of described focus picture is greater than at 1 o'clock, described running unit also for:
After described focus picture being adjusted according to described height threshold and described width threshold value, the Webpage that includes the focus picture after adjustment is being mail to before described client presents, while there is lap between each focus picture after judgement is adjusted, the edge of each focus picture is carried out to corresponding cutting.
In this way, can guarantee to guarantee to be after the size adjustment of all focus pictures in webpage not have now lap.
Adopt technical solution of the present invention, according to the size of the resolution adjustment Web page picture of browsing window and the current use of client of client, can make to amplify focus chart when customer end adopted high-resolution, and then see focus chart clearly, when customer end adopted low resolution, dwindle focus chart, and then can in webpage, present complete focus chart, finally guaranteed the effect that presents of focus chart.
Accompanying drawing explanation
The particular flow sheet of a kind of image display method based on website that Fig. 1 provides for the embodiment of the present invention;
The schematic diagram of a kind of image display apparatus based on website that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Adopt technical solution of the present invention, can effectively avoid existing in prior art because website focus chart is all in stationary state, thereby affect the problem that presents effect of focus chart.
The embodiment of the present invention provides a kind of image display method based on website, below in conjunction with accompanying drawing, the preferred embodiment of the present invention is elaborated.
Consult shown in Fig. 1, a kind of image display method based on website that the present embodiment provides, can be applied to the server apparatus of all kinds of websites, and the server apparatus of these all kinds of websites shows that the idiographic flow of website picture comprises:
Step 101: receive the services request of client, in this services request, carry the resolution of the current use of this client, and the sign of the Webpage of this client-requested access.
When user's wish access some websites, client need to be sent services request to the server apparatus of this website, and the resolution of the current use of this client is wherein carried in service, the sign of the Webpage of client-requested access.
Client type has a lot, such as computer, flat board, smart mobile phone etc., and client type is different, and corresponding resolution is different, and a client can arrange different resolution, and for example computer, can be set to 1024*768, or 1280*1024 etc.
Each webpage has the sign of specific Webpage in order to distinguish from webpage of the same type, and wherein, the sign of this Webpage can be the address of this Webpage.
Step 102: according to the resolution of the current use of client, what obtain this client browses the current display width of window.
Concrete, according to the resolution of the current use of client, what obtain this client browses the current display width of window, comprising:
If this is browsed window and browses window for maximizing, according to the resolution of the current use of this client, obtain this and browse the current display width of window;
If this browses window is that window is browsed in non-maximization,, according to the window adjusting information of browsing of the resolution of the current use of this client and the transmission of this client, obtains this and browse the current display width of window.
Wherein, this client sends browses and in window adjusting information, can carry this and browse the maximized ratio of browsing window display width that the current display width of window and the resolution of current use can be supported, the browsing of this client transmission can also be carried this in window adjusting information and be browsed the current display width of window.
In different application scenarioss, the mode of browsing window adjusting information that server receives client transmission is also different, for example, is non-maximization browses window if browse when window is opened, client, when sending services request to server, is carried the window adjusting information of browsing in services request; Again for example, browse window and be opened for maximized window, still, again this is browsed to window carried out big or small adjustment later stage user, after adjusting, user end to server sends the window adjusting information of browsing; Also for example, server receives after the services request of client transmission, and server sends adjustment information request to client, and then client, according to this adjustment information request, sends to server the window adjusting information of browsing.If server does not receive the window adjusting information of browsing that client sends, show that it is to maximize to browse window that client is browsed window.
If this is browsed window and browses window for maximizing, this browses the cumulative width of all pixels across that the current display width of window is the resolution of the current use of this client, for example, the resolution of the current use of this client is 1280*1024, this to browse the current display width of window be the cumulative width of 1280 pixels.
If this browses window is that window is browsed in non-maximization, this is browsed cumulative width and this in adjustment information of all pixels across that the current display width of window is the resolution of the current use of this client and browses the current display width of window with respect to the maximized product of browsing the ratio of window display width.For example, the resolution of the current use of this client is 1280*1024, and the current display width of window of browsing carrying in adjustment information is 50% with respect to the maximized ratio of browsing window display width, this browses the cumulative width * 50% that the current display width of window is 1280 pixels, is the cumulative width of 640 pixels.
Step 103: according to the sign of Webpage, determine corresponding Webpage, and determine the width of this Webpage, and the area size that takies in this Webpage of definite focus picture.
Server can obtain corresponding Webpage according to the sign of the Webpage of the client-requested access of carrying in the services request of client, and determine the width at this Webpage of server side, and the area size that takies in this Webpage of definite focus picture.
Step 104: the ratio that calculates the width of browsing the current display width of window and Webpage.
Concrete, this ratio=browse width of the current display width/Webpage of window.
Step 105: the area size taking in Webpage according to ratio focusing picture is adjusted, and the Webpage that includes the focus picture after adjustment is mail to client present.
Concrete, the area size taking in Webpage according to ratio focusing picture is adjusted, and comprising:
Amassing of the region height that this focus picture is taken in this Webpage and this ratio, as the object height of this focus picture;
Amassing of the peak width that this focus picture is taken in this Webpage and this ratio, as the target width of this focus picture;
Judge that this object height is more than or equal to default height threshold, and this target width is while being more than or equal to default width threshold value, according to this object height and this target width, this focus picture is adjusted;
Judge that this object height is less than default height threshold, or this target width is while being less than default width threshold value, according to this height threshold and this width threshold value, described focus picture is adjusted.
Due in the ordinary course of things, in Webpage, there will be a focus picture, so height threshold and width threshold value are according to the ratio setting of the width of this focus picture and height.Even if there are a plurality of focus pictures in Webpage, the size of its focus picture is all identical, therefore height threshold and width threshold value are also according to the ratio setting of width and height, so generally when object height is less than height threshold, target width is also less than width threshold value.
Like this, height threshold and the width threshold value of focus picture is set, for when dwindling focus picture, avoids the too small of focus picture contracting, affect watching of user.
If the number of focus picture is greater than 1, after described focus picture being adjusted according to described height threshold and described width threshold value, the Webpage that includes the focus picture after adjustment is being mail to before client presents, also comprise:
Judgement when there is lap between each focus picture after this ratio adjustment, is carried out corresponding cutting to the edge of each focus picture.
Concrete, according to the width of the lap existing between each focus picture or height, to the width of each focus picture or highly cut out width or the height of lap (being the edge of focus picture), and the height of each focus picture or width are carried out to cutting according to width and the ratio of height of the width of cutting out or height, focus picture.For example, two width are 8cm, be highly the focus picture (left and right side by side) of 4cm overlapping 2cm, the width that is lap is 2cm, the left hand edge of each focus picture is cut out to 1cm, and right hand edge is cut out 1cm, and the wide and high ratio of two focus pictures is 2(8cm/4cm=0.5), therefore, two focus picture coboundarys and lower limb are cut out 0.5cm(1cm/2=0.5cm).
For example, it is certain webpage of client-access of 800*640 that user adopts resolution, the idiographic flow of the image display method based on website is: server receives client and sends services request, wherein, in services request, carried the resolution 800*640 of client, and the sign (as web page address) of the Webpage of client-requested access, server is not received the window adjusting information of browsing that client is sent, show that the current window of browsing is to maximize to browse window, can determine that the current display width of window of browsing of client is the cumulative width of 800 pixels according to the resolution of the client of carrying in services request, according to this web page address, obtain corresponding Webpage, the width of determining this Webpage is the cumulative width of 1024 pixels, and determines the big or small X*Y of two focus pictures of this Webpage, M*N, the ratio that the width of the current display width of window and Webpage is browsed in calculating is 0.78(800/1024=0.78), according to the size of 0.78 pair of two focus picture, adjust, the size of two focus pictures after adjustment is 0.78X*0.78Y, 0.78M*0.78N, the target width of determining two focus pictures is less than default width threshold value, according to default width threshold value and height threshold, two focus pictures is adjusted, judge between two focus pictures, exist overlapping, for example, when two focus pictures are transversely arranged, judge the size of distance between the width threshold value of twice and the high order end of first focus picture and the low order end of second focus picture, the width threshold value of judging twice is greater than distance between the high order end of first focus picture and the low order end of second focus picture, judge between two focus pictures after adjusting and have lap, size to each focus picture is readjusted, according to the lap between focus picture, the edge of each focus picture is carried out to corresponding cutting, continue to judge between two focus pictures, whether exist overlapping, judge between two focus pictures and do not have lap, the Webpage that includes the focus picture after adjustment is mail to client to be presented.
Based on above-described embodiment, to consult shown in Fig. 2, the embodiment of the present invention also provides a kind of image display apparatus based on website, specifically comprises: receiving element 201, processing unit 202, determining unit 203, computing unit 204 and running unit 205, wherein
Receiving element 201, for receiving the services request of client, carries the resolution of the current use of this client in this services request, and the sign of the Webpage of this client-requested access;
Processing unit 202, for according to the resolution of the current use of this client, what obtain this client browses the current display width of window;
Determining unit 203, for determining corresponding Webpage according to the sign of this Webpage, and the width of definite this Webpage, and definite focus picture occupied area size in this Webpage;
Computing unit 204, the ratio of browsing the width of the current display width of window and this Webpage for calculating this;
Running unit 205, for according to this ratio, this focus picture being adjusted in this Webpage occupied area size, and mails to this client by the Webpage that includes the focus picture after adjustment and presents.
Processing unit 202, specifically for:
If browse window, for maximizing, browse window, according to the resolution of the current use of client, obtain this and browse the current display width of window;
If browse window, be that window is browsed in non-maximization,, according to the window adjusting information of browsing of the resolution of the current use of client and the transmission of this client, obtain this and browse the current display width of window.
Client sends browses and in window adjusting information, carries this and browse the maximized ratio of browsing window display width that the current display width of window can be supported with respect to the resolution in current use.
Running unit 205 specifically for:
Amassing of the region height that focus picture is taken in Webpage and this ratio, as the object height of focus picture;
Amassing of the peak width that focus picture is taken in Webpage and this ratio, as the target width of focus picture;
Judge that object height is more than or equal to default height threshold, and target width is while being more than or equal to default width threshold value, according to this object height and this target width focusing picture, adjusts;
Judge that object height is less than default height threshold, or target width is while being less than default width threshold value, according to this height threshold and this width threshold value focusing picture, adjusts.
If the number of focus picture is greater than at 1 o'clock, running unit 205 also for:
After adjusting according to height threshold and width threshold value focusing picture, the Webpage that includes the focus picture after adjustment is being mail to before client presents, while there is lap between each focus picture after judgement is adjusted, according to this height threshold and this width threshold value, the edge of this focus picture is carried out to cutting.
In sum, the embodiment of the present invention provides a kind of image display method and device based on website, receive the services request of client, in this services request, carry the resolution of the current use of described client, and the sign of the Webpage of described client-requested access; According to the resolution of the current use of client, what obtain client browses the current display width of window; According to the sign of Webpage, obtain corresponding Webpage, determine the width of Webpage, and the size of focus picture in definite Webpage; The ratio of the width of the current display width of window and Webpage is browsed in calculating; According to the size of ratio focusing picture, adjust, and the Webpage that includes the focus picture after adjustment is mail to client present.By according to the size of the resolution adjustment Web page picture of browsing window and the current use of client of client, can when customer end adopted high-resolution, amplify focus chart, and then see focus chart clearly, when customer end adopted low resolution, dwindle focus chart, and then can in webpage, present complete focus chart, finally guaranteed the effect that presents of focus chart.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the embodiment of the present invention the embodiment of the present invention.Like this, if within these of the embodiment of the present invention are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (10)

1. the image display method based on website, is characterized in that, comprising:
Receive the services request of client, in this services request, carry the resolution of the current use of described client, and the sign of the Webpage of described client-requested access;
According to the resolution of the current use of described client, what obtain described client browses the current display width of window;
According to the sign of described Webpage, determine corresponding Webpage, and determine the width of described Webpage, and the area size that takies in described Webpage of definite focus picture;
Described in calculating, browse the ratio of the width of the current display width of window and described Webpage;
The area size described focus picture being taken in described Webpage according to described ratio is adjusted, and the Webpage that includes the focus picture after adjustment is mail to described client presents.
2. the method for claim 1, is characterized in that, according to the resolution of the current use of described client, what obtain described client browses the current display width of window, comprising:
If described in browse window and browse window for maximizing, according to the resolution of the current use of described client, described in obtaining, browse the current display width of window;
If described in to browse window be that window is browsed in non-maximization, the window adjusting information of browsing sending according to the resolution of the current use of described client and described client, browses the current display width of window described in obtaining.
3. method as claimed in claim 2, is characterized in that, described client sends browses and browse the maximized ratio of browsing window display width that the current display width of window and the resolution of described current use can be supported described in carrying in window adjusting information.
4. the method as described in claim 1,2 or 3, is characterized in that, the area size described focus picture being taken in described Webpage according to described ratio is adjusted, and comprising:
Amassing of the region height that described focus picture is taken in described Webpage and described ratio, as the object height of described focus picture;
Amassing of the peak width that described focus picture is taken in described Webpage and described ratio, as the target width of described focus picture;
Judge that described object height is more than or equal to default height threshold, and described target width is while being more than or equal to default width threshold value, according to described object height and described target width, described focus picture is adjusted;
Judge that described object height is less than default height threshold, or described target width is while being less than default width threshold value, according to described height threshold and described width threshold value, described focus picture is adjusted.
5. method as claimed in claim 4, it is characterized in that, if the number of described focus picture is greater than 1, after described focus picture being adjusted according to described height threshold and described width threshold value, the Webpage that includes the focus picture after adjustment is being mail to before described client presents, is also comprising:
While there is lap between each focus picture after judgement is adjusted, the edge of each focus picture is carried out to corresponding cutting.
6. the image display apparatus based on website, is characterized in that, comprising:
Receiving element, for receiving the services request of client, carries the resolution of the current use of described client in this services request, and the sign of the Webpage of described client-requested access;
Processing unit, for according to the resolution of the current use of described client, what obtain described client browses the current display width of window;
Determining unit, for determining corresponding Webpage according to the sign of described Webpage, and the width of definite described Webpage, and definite focus picture occupied area size in described Webpage;
Computing unit, for browsing the ratio of the width of the current display width of window and described Webpage described in calculating;
Running unit, for according to described ratio, described focus picture being adjusted in described Webpage occupied area size, and mails to described client by the Webpage that includes the focus picture after adjustment and presents.
7. device as claimed in claim 6, is characterized in that, described processing unit, specifically for:
If described in browse window and browse window for maximizing, according to the resolution of the current use of described client, described in obtaining, browse the current display width of window;
If described in to browse window be that window is browsed in non-maximization, the window adjusting information of browsing sending according to the resolution of the current use of described client and described client, browses the current display width of window described in obtaining.
8. device as claimed in claim 7, is characterized in that, described client sends browses and browse the maximized ratio of browsing window display width that the current display width of window and the resolution of described current use can be supported described in carrying in window adjusting information.
9. the device as described in claim 6,7 or 8, is characterized in that, described running unit specifically for:
Amassing of the region height that described focus picture is taken in described Webpage and described ratio, as the object height of described focus picture;
Amassing of the peak width that described focus picture is taken in described Webpage and described ratio, as the target width of described focus picture;
Judge that described object height is more than or equal to default height threshold, and described target width is while being more than or equal to default width threshold value, according to described object height and described target width, described focus picture is adjusted;
Judge that described object height is less than default height threshold, or described target width is while being less than default width threshold value, according to described height threshold and described width threshold value, described focus picture is adjusted.
10. device as claimed in claim 9, is characterized in that, if the number of described focus picture is greater than at 1 o'clock, described running unit also for:
After described focus picture being adjusted according to described height threshold and described width threshold value, the Webpage that includes the focus picture after adjustment is being mail to before described client presents, while there is lap between each focus picture after judgement is adjusted, the edge of each focus picture is carried out to corresponding cutting.
CN201310728120.9A 2013-12-25 2013-12-25 Picture display method and device based on website Pending CN103677720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310728120.9A CN103677720A (en) 2013-12-25 2013-12-25 Picture display method and device based on website

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310728120.9A CN103677720A (en) 2013-12-25 2013-12-25 Picture display method and device based on website

Publications (1)

Publication Number Publication Date
CN103677720A true CN103677720A (en) 2014-03-26

Family

ID=50315404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310728120.9A Pending CN103677720A (en) 2013-12-25 2013-12-25 Picture display method and device based on website

Country Status (1)

Country Link
CN (1) CN103677720A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503696A (en) * 2014-12-30 2015-04-08 广东欧珀移动通信有限公司 Object tracking method and system of preview interface of camera
CN104866620A (en) * 2015-06-09 2015-08-26 腾讯科技(北京)有限公司 Implementation method, device and system of background focus picture
CN105975635A (en) * 2016-06-24 2016-09-28 武汉斗鱼网络科技有限公司 Interaction method and device capable of realizing adaptive grids at front end
CN105989069A (en) * 2015-02-10 2016-10-05 中国移动通信集团云南有限公司 Webpage adaptive adjustment method and device
CN106055575A (en) * 2016-05-19 2016-10-26 天脉聚源(北京)传媒科技有限公司 Method and device for optimized loading of website page
CN106383686A (en) * 2016-10-09 2017-02-08 广州视睿电子科技有限公司 HTML (Hypertext markup language) picture display method and device
WO2017096854A1 (en) * 2015-12-08 2017-06-15 乐视控股(北京)有限公司 Picture preview method and device for smart terminal
CN106910158A (en) * 2016-11-14 2017-06-30 上海仪电鑫森科技发展有限公司 Self adaptation vector display system
CN107256142A (en) * 2017-04-21 2017-10-17 腾讯科技(深圳)有限公司 Method and terminal that a kind of page is shown
CN107391698A (en) * 2017-07-27 2017-11-24 杭州登虹科技有限公司 A kind of method, apparatus, medium and the computing device of Dynamic Announce webpage
CN107526489A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 Picture-adjusting method and device
CN108228284A (en) * 2016-12-14 2018-06-29 腾讯科技(深圳)有限公司 A kind of window display method and terminal
CN109710866A (en) * 2018-12-18 2019-05-03 天津字节跳动科技有限公司 Image display method and device in online document

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001159967A (en) * 1999-12-03 2001-06-12 Hitachi Ltd Method for adjusting window size by picture resolution
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN102096690A (en) * 2009-12-11 2011-06-15 谷歌公司 Utilization of browser space
CN103412928A (en) * 2013-08-16 2013-11-27 北京乐动卓越科技有限公司 Method and device for realizing browser page intelligent response-type layout on mobile terminal
CN103455571A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Method and device for displaying picture in webpage, and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001159967A (en) * 1999-12-03 2001-06-12 Hitachi Ltd Method for adjusting window size by picture resolution
CN102096690A (en) * 2009-12-11 2011-06-15 谷歌公司 Utilization of browser space
CN101908076A (en) * 2010-08-24 2010-12-08 北京世纪高通科技有限公司 Page layout self-adaptive method and device
CN103412928A (en) * 2013-08-16 2013-11-27 北京乐动卓越科技有限公司 Method and device for realizing browser page intelligent response-type layout on mobile terminal
CN103455571A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Method and device for displaying picture in webpage, and terminal

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503696A (en) * 2014-12-30 2015-04-08 广东欧珀移动通信有限公司 Object tracking method and system of preview interface of camera
CN104503696B (en) * 2014-12-30 2017-08-29 广东欧珀移动通信有限公司 The object tracking method and system at a kind of camera preview interface
CN105989069A (en) * 2015-02-10 2016-10-05 中国移动通信集团云南有限公司 Webpage adaptive adjustment method and device
CN104866620A (en) * 2015-06-09 2015-08-26 腾讯科技(北京)有限公司 Implementation method, device and system of background focus picture
CN104866620B (en) * 2015-06-09 2018-09-28 腾讯科技(北京)有限公司 The implementation method of background formula focus chart, apparatus and system
WO2017096854A1 (en) * 2015-12-08 2017-06-15 乐视控股(北京)有限公司 Picture preview method and device for smart terminal
CN106055575A (en) * 2016-05-19 2016-10-26 天脉聚源(北京)传媒科技有限公司 Method and device for optimized loading of website page
CN107526489A (en) * 2016-06-21 2017-12-29 阿里巴巴集团控股有限公司 Picture-adjusting method and device
CN105975635A (en) * 2016-06-24 2016-09-28 武汉斗鱼网络科技有限公司 Interaction method and device capable of realizing adaptive grids at front end
CN106383686A (en) * 2016-10-09 2017-02-08 广州视睿电子科技有限公司 HTML (Hypertext markup language) picture display method and device
CN106910158B (en) * 2016-11-14 2020-12-01 上海仪电鑫森科技发展有限公司 Adaptive vector display system
CN106910158A (en) * 2016-11-14 2017-06-30 上海仪电鑫森科技发展有限公司 Self adaptation vector display system
CN108228284A (en) * 2016-12-14 2018-06-29 腾讯科技(深圳)有限公司 A kind of window display method and terminal
CN108228284B (en) * 2016-12-14 2021-05-28 腾讯科技(深圳)有限公司 Window display method and terminal
CN107256142A (en) * 2017-04-21 2017-10-17 腾讯科技(深圳)有限公司 Method and terminal that a kind of page is shown
CN107256142B (en) * 2017-04-21 2020-12-29 腾讯科技(深圳)有限公司 Page display method and terminal
CN107391698A (en) * 2017-07-27 2017-11-24 杭州登虹科技有限公司 A kind of method, apparatus, medium and the computing device of Dynamic Announce webpage
CN107391698B (en) * 2017-07-27 2021-08-10 杭州登虹科技有限公司 Method, device, medium and computing device for dynamically displaying webpage
CN109710866A (en) * 2018-12-18 2019-05-03 天津字节跳动科技有限公司 Image display method and device in online document
CN109710866B (en) * 2018-12-18 2021-07-02 天津字节跳动科技有限公司 Method and device for displaying pictures in online document

Similar Documents

Publication Publication Date Title
CN103677720A (en) Picture display method and device based on website
CN107273031B (en) Information flow page loading method and device
KR101786917B1 (en) Systems and methods for displaying fixed-scale content on mobile devices
RU2616536C2 (en) Method, device and terminal device to display messages
US20140143071A1 (en) Method and apparatus for providing online advertisement
CN102314306B (en) Method for presenting human machine interface and handheld device using the same
CN110716906B (en) File viewing method, electronic equipment and file viewing device
EP2887203B1 (en) Method, apparatus and terminal device for adaption of page
CN108628510B (en) Content display method and device, electronic equipment and readable storage medium
CN102279708A (en) Method and device for processing data input
CN110825997B (en) Information flow page display method, device, terminal equipment and system
CN104765539A (en) Message display method and device
CN107256116B (en) Page switching processing method and device, user terminal and readable storage medium
CN110647369B (en) Page dynamic display method and device, mobile terminal and storage medium
CN111698365A (en) Information display method and device
CN104133869A (en) Webpage page refreshing method
CN110262742B (en) Information flow advertisement display method and terminal
CN105389308A (en) Display processing method and device for web pages
KR20080042051A (en) System for providng advertisement
CN111262996A (en) Notification bar message processing method and device, electronic device and storage medium
CN106598371B (en) Information display method and equipment
KR101314850B1 (en) Method for controlling webpage
CN113760205A (en) Picture display method and device
CN108829331B (en) Monitoring processing method of sliding event and terminal equipment
KR100959758B1 (en) Method for displaying process information loading web page in mobile internet browser and therefor wireless communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180105

AD01 Patent right deemed abandoned