CN102184179A - Method and system for cutting photo thumbnail - Google Patents
Method and system for cutting photo thumbnail Download PDFInfo
- Publication number
- CN102184179A CN102184179A CN 201110033356 CN201110033356A CN102184179A CN 102184179 A CN102184179 A CN 102184179A CN 201110033356 CN201110033356 CN 201110033356 CN 201110033356 A CN201110033356 A CN 201110033356A CN 102184179 A CN102184179 A CN 102184179A
- Authority
- CN
- China
- Prior art keywords
- photo
- thumbnail
- client
- user
- page
- 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.)
- Granted
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a system for cutting a photo thumbnail. The method comprises the following steps that: 1, a server saves photos of a user at different addresses according to different display webpage types of the photos; 2, a client positions a position of a masking of the photos in a webpage to be checked by the user; 3, the client acquires a corresponding photo address according to the type of the webpage to be checked by the user; 4, the client cuts 15 to 62.5 percent of the photo from the top end as the thumbnail by using the masking; and 5, when the user accesses the webpage, the client checks the thumbnail and caches the picture according to the acquired photo address. By the invention, the generated thumbnail comprises complete important information of the photos; when the user previews the photos, actual contents of the photos can be identified intuitively, and the user can check the photos conveniently; moreover, the photos are stored in the cache, so the pressure of the server can be reduced and the stability of the server can be improved.
Description
Technical field
The present invention relates to a kind of method and system that intercept the photo thumbnail, belong to the social networking service field.
Background technology
Existing photo thumbnail, normally comparison film intercepts at random.For the photo of perpendicular version, make the thumbnail that generates in this way, its important information is imperfect, during user's preview photo, is difficult to pick out the actual content of photo.The user then needs to open the former figure of photo and searches if need check certain photo, and this checks that to the user photo has brought inconvenience, has influenced user's experience; In addition, prior art produces in the method for thumbnail, owing to will consider the composing of picture in the page, all will be to each pictures through after repeatedly calculating, judge and comparing, carry out compression and generate the thumbnail dimensions that is fit to page layout, be saved to server then, the pressure of server increases, and causes the poor stability of server.
Summary of the invention
The objective of the invention is to, a kind of method and system that intercept the photo thumbnail are provided, it can make the complete important information that comprises photo in the thumbnail of generation, when making user's preview photo, can pick out the actual content of photo intuitively, check that to the user photo has brought convenience, improved user's experience.
For solving the problems of the technologies described above, the present invention adopts following technical scheme: a kind of method that intercepts the photo thumbnail may further comprise the steps:
S1, server be according to the difference of photo page displayed type, and user's photo is saved as different addresses;
The position of the masking-out of the photo in the page that S2, client location user desire to check;
S3, the page type that client is desired to check according to the user obtain corresponding photo address;
S4, client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S5, during user to access pages, client is checked thumbnail and buffer memory picture according to obtaining photo address.
Aforesaid a kind of method that intercepts the photo thumbnail, among the described step S4, client is downloaded photo according to obtaining photo address and is comprised: photo is kept in the buffer memory of client.Photo and thumbnail are kept at the pressure that can alleviate server in the client-cache.
Aforesaid a kind of method that intercepts the photo thumbnail, described step S5 also comprises: with the photo location, and make the photo along continuous straight runs placed in the middle.
In aforesaid a kind of method that intercepts the photo thumbnail, described page type comprises: homepage, the former diagram page of photo, photo preview page or the Dynamic Display page.
Realize a kind of system that intercepts the photo thumbnail of preceding method, comprising:
The address generation module is used for the difference of server according to photo page displayed type, and user's photo is saved as different addresses;
Locating module is used for the position of masking-out of the photo of the page that the client location user desires to check;
Address acquisition module is used for the page type that client desires to check according to the user and obtains corresponding photo address;
Interception module, be used for client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
Display module is used for client and checks thumbnail and buffer memory picture according to obtaining photo address.
Aforesaid a kind of system that intercepts the photo thumbnail also comprises the image cache module, is used for photo is kept at the buffer memory of client.
Aforesaid a kind of system that intercepts the photo thumbnail also comprises location module placed in the middle, is used for the photo location, and makes the photo along continuous straight runs placed in the middle.
Compared with prior art, the present invention saves as different addresses by the photo with the user, the position of the masking-out of the photo in the positioning webpage; The page type of desiring to check according to the user obtains corresponding photo address and with its background as masking-out, then intercepts photo generation thumbnail; The present invention makes the complete important information that comprises photo in the thumbnail of generation, when making user's preview photo, can pick out the actual content of photo intuitively, checks that to the user photo has brought convenience, has improved user's experience; In addition, comparison film of the present invention is handled in the process that generates thumbnail, server only need carry out once carrying out relatively afterwards compression with picture and normal width, return corresponding picture address then, bring in the adaptation of finishing thumbnail by the client, therefore use method of the present invention can reduce the pressure of server, improve the stability of server.
Description of drawings
Fig. 1 is the system architecture synoptic diagram of a kind of embodiment of the present invention;
Fig. 2 is the workflow diagram of a kind of embodiment of the present invention.
Reference numeral: 1-address generation module, 2-locating module, 3-address acquisition module, 4-display module, 5-interception module, 6-image cache module, 7 location module placed in the middle.
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Embodiment
Embodiments of the invention: a kind of method that intercepts the photo thumbnail may further comprise the steps:
S1, server be according to the difference of photo page displayed type, and user's photo is saved as different addresses;
The position of the masking-out of the photo in the page that S2, client location user desire to check;
S3, the page type that client is desired to check according to the user obtain corresponding photo address;
S4, client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S5, during user to access pages, client is checked thumbnail and buffer memory picture according to obtaining photo address.
Among the described step S4, client is downloaded photo according to obtaining photo address and is comprised: photo is kept in the buffer memory of client.
Described step S5 also comprises: with the photo location, and make the photo along continuous straight runs placed in the middle.
Described page type comprises: homepage, the former diagram page of photo, photo preview page or the Dynamic Display page.
Realize a kind of system that intercepts the photo thumbnail of preceding method, its system schematic as shown in Figure 1; Comprise:
Locating module 2 is used for the position of masking-out of the photo of the page that the client location user desires to check;
System also comprises image cache module 6, is used for photo is kept at the buffer memory of client.
System also comprises location module 7 placed in the middle, is used for the photo location, and makes the photo along continuous straight runs placed in the middle.
According to composite principle, golden section point (approximating 62.5%) is very important in the process of a taking pictures reference point, and the applicant reaches a conclusion after a large amount of photos are analyzed, compare, screened: the key area of most important information of most of photo and photo all is positioned at down 15%~62.5% zone, photo top.
The workflow of a kind of embodiment of the present invention: (workflow diagram as shown in Figure 2)
S10, picture servers is according to the difference of photo page displayed type, by the address generation module user's photo saved as different addresses;
S20, the position of the masking-out of the photo in the page that client is desired to check by the locating module consumer positioning;
S30, the page type that client is desired to check according to the user obtain corresponding photo address;
S40, client is photo location, placed in the middle by locating module placed in the middle, then by interception module use cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S50, during user to access pages, client is checked thumbnail and buffer memory picture according to obtaining photo address by display module.
Claims (7)
1. a method that intercepts the photo thumbnail is characterized in that, may further comprise the steps:
S1, server be according to the difference of photo page displayed type, and user's photo is saved as different addresses;
The position of the masking-out of the photo in the page that S2, client location user desire to check;
S3, the page type that client is desired to check according to the user obtain corresponding photo address;
S4, client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail;
S5, during user to access pages, client is checked thumbnail and buffer memory picture according to obtaining photo address.
2. a kind of method that intercepts the photo thumbnail according to claim 1 is characterized in that: among the described step S4, client is downloaded photo according to obtaining photo address and is comprised: photo is kept in the buffer memory of client.
3. a kind of method that intercepts the photo thumbnail according to claim 1 and 2, it is characterized in that: described step S5 also comprises: with the photo location, and make the photo along continuous straight runs placed in the middle.
4. a kind of method that intercepts the photo thumbnail according to claim 1, it is characterized in that: described page type comprises: homepage, the former diagram page of photo, photo preview page or the Dynamic Display page.
5. realize a kind of system that intercepts the photo thumbnail of the described method of claim 1~4, it is characterized in that, comprising: address generation module (1), be used for the difference of server according to photo page displayed type, user's photo is saved as different addresses;
Locating module (2) is used for the position of masking-out of the photo of the page that the client location user desires to check; Address acquisition module (3) is used for the page type that client desires to check according to the user and obtains corresponding photo address; Interception module (5), be used for client use to cover plate intercepting photo top down 15%~62.5% zone as thumbnail; Display module (4) is used for client and checks thumbnail and buffer memory picture according to obtaining photo address.
6. a kind of system that intercepts the photo thumbnail according to claim 5 is characterized in that: also comprise image cache module (6), be used for photo is kept at the buffer memory of client.
7. a kind of system that intercepts the photo thumbnail according to claim 5 is characterized in that: also comprise location module placed in the middle (7), be used for the photo location, and make the photo along continuous straight runs placed in the middle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110033356 CN102184179B (en) | 2011-01-30 | 2011-01-30 | Method and system for cutting photo thumbnail |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110033356 CN102184179B (en) | 2011-01-30 | 2011-01-30 | Method and system for cutting photo thumbnail |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102184179A true CN102184179A (en) | 2011-09-14 |
CN102184179B CN102184179B (en) | 2012-12-19 |
Family
ID=44570356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110033356 Active CN102184179B (en) | 2011-01-30 | 2011-01-30 | Method and system for cutting photo thumbnail |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102184179B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103514271A (en) * | 2013-09-13 | 2014-01-15 | 北京奇虎科技有限公司 | Method and device for providing thumbnail image corresponding to webpage content |
CN103514272A (en) * | 2013-09-13 | 2014-01-15 | 北京奇虎科技有限公司 | Method and device for providing thumbnail corresponding to webpage content |
CN104159140A (en) * | 2014-03-03 | 2014-11-19 | 腾讯科技(北京)有限公司 | Video processing method, apparatus and system |
CN112199138A (en) * | 2020-09-01 | 2021-01-08 | 北京达佳互联信息技术有限公司 | Task picture display method and device and server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101359336A (en) * | 2008-08-15 | 2009-02-04 | 深圳市中兴移动通信有限公司 | Method for producing reduced graph with different specifications based on page need |
CN101557389A (en) * | 2008-04-11 | 2009-10-14 | 北京闻言科技有限公司 | Method for dynamically scaling picture as required in request |
US20100128986A1 (en) * | 2008-11-24 | 2010-05-27 | Microsoft Corporation | Identifying portions of an image for cropping |
-
2011
- 2011-01-30 CN CN 201110033356 patent/CN102184179B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557389A (en) * | 2008-04-11 | 2009-10-14 | 北京闻言科技有限公司 | Method for dynamically scaling picture as required in request |
CN101359336A (en) * | 2008-08-15 | 2009-02-04 | 深圳市中兴移动通信有限公司 | Method for producing reduced graph with different specifications based on page need |
US20100128986A1 (en) * | 2008-11-24 | 2010-05-27 | Microsoft Corporation | Identifying portions of an image for cropping |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103514271A (en) * | 2013-09-13 | 2014-01-15 | 北京奇虎科技有限公司 | Method and device for providing thumbnail image corresponding to webpage content |
CN103514272A (en) * | 2013-09-13 | 2014-01-15 | 北京奇虎科技有限公司 | Method and device for providing thumbnail corresponding to webpage content |
CN104159140A (en) * | 2014-03-03 | 2014-11-19 | 腾讯科技(北京)有限公司 | Video processing method, apparatus and system |
CN112199138A (en) * | 2020-09-01 | 2021-01-08 | 北京达佳互联信息技术有限公司 | Task picture display method and device and server |
Also Published As
Publication number | Publication date |
---|---|
CN102184179B (en) | 2012-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11734287B2 (en) | Mapping images to search queries | |
US20160283096A1 (en) | Method of generating a link by utilizing a picture and system thereof | |
US20130124560A1 (en) | Variable user interface based on document access privileges | |
WO2012129786A1 (en) | Custom web page themes | |
CN102184179B (en) | Method and system for cutting photo thumbnail | |
CN103839479B (en) | A kind of efficent electronic writing exchange method | |
CN103246678B (en) | A kind of web page content preview method and apparatus | |
CN101739705B (en) | Method and system for cutting and splicing newspaper digitalized layout information | |
CN103927713B (en) | The acquisition methods and device of picture thumbnail | |
TW200842623A (en) | System and method for processing map images | |
US9069794B1 (en) | Determining location information for images using landmark, caption, and metadata location data | |
EA201201059A1 (en) | SYSTEM AND METHOD OF MANAGING WEB FORMS AND DYNAMIC CONTENTS OF WEB SITES | |
CN102624914B (en) | Method for detecting local DNS (Domain Name Server) used by client side in Web form | |
US20200159764A1 (en) | Method for Processing and Displaying Real-Time Social Data on Map | |
CN108475320A (en) | Query pattern and associated aggregate statistics are identified in search inquiry | |
DE202014010894U1 (en) | System for disambiguation of the object selection | |
CN106850572B (en) | Target resource access method and device | |
EP2780795A1 (en) | System and method for viewer-based image metadata sanitization | |
CN104809113B (en) | The display methods and device of webpage information | |
CN110321529A (en) | Frame character displaying method, device, computer equipment and storage medium | |
CN102708167A (en) | Web-based semantic annotation system and Web-based semantic annotation method for high resolution SAR (synthetic aperture radar) image interpretation | |
DE112015005293T5 (en) | Presentation of information cards for events associated with entities | |
US11514130B2 (en) | Systems, methods, and devices for hybrid implementation of native and web components | |
US20160078285A1 (en) | System and Method for Displaying an Object in a Tagged Image | |
CN106598933B (en) | A kind of web-based type-setting document proofreading method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |