CN103186533B - A kind of method and apparatus of uploading pictures in comment or in replying - Google Patents
A kind of method and apparatus of uploading pictures in comment or in replying Download PDFInfo
- Publication number
- CN103186533B CN103186533B CN201110443991.7A CN201110443991A CN103186533B CN 103186533 B CN103186533 B CN 103186533B CN 201110443991 A CN201110443991 A CN 201110443991A CN 103186533 B CN103186533 B CN 103186533B
- Authority
- CN
- China
- Prior art keywords
- thumbnail
- comment
- reply
- original picture
- original
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000006835 compression Effects 0.000 claims description 6
- 238000007906 compression Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method of uploading pictures in comment or in replying, comment or the background system of replying receive the original image of uploading and generate thumbnail; Described background system is preserved original image and thumbnail; After comment or reply submission, in comment or reply, show the thumbnail of included original image; The present invention also discloses a kind of device of uploading pictures in comment or in replying, by the solution of the present invention, can be quickly and easily uploading pictures in comment or in replying, improve the loading velocity of the page, realize fast browsing.
Description
Technical Field
The invention relates to the internet information processing technology, in particular to a method and a device for uploading pictures in comments or replies.
Background
With the vigorous development of the social network sites, the instant messaging function of the social network sites is more and more powerful, published contents can be directly written in the social network sites through instant messaging tools such as QQ and MSN, and the published contents can be updated instantly as long as a mobile phone is provided even in places without networks.
Most social networking sites have comment and reply functions, such as: the comment function is to evaluate published or forwarded articles, and the reply is to reply to existing comments. However, comments or replies in the current social network sites either cannot upload information containing pictures or upload large and many pictures, which affects the loading time of pages.
Disclosure of Invention
In view of the above, the main object of the present invention is to provide a method and an apparatus for uploading a picture in a comment or a reply, which can conveniently and quickly upload a picture in a comment or a reply, increase the loading speed of a page, and implement quick browsing.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for uploading pictures in comments or replies, which comprises the following steps:
a background system for commenting or replying receives the uploaded original picture and generates a thumbnail;
the background system stores the original picture and the thumbnail;
after submission of the comment or reply, a thumbnail of the original picture included is displayed in the comment or reply.
In the above scheme, the generating the thumbnail is: and processing the original picture in a compression mode to obtain the thumbnail.
In the above scheme, the displaying the thumbnail of the included original picture in the comment or reply is: and displaying the thumbnail of the original picture in the comment or reply according to the saving path of the thumbnail of the original picture.
In the above scheme, the method further comprises: and the background system for commenting or replying detects whether the mouse focuses on the thumbnail in the comment or reply, and when the mouse focuses on the thumbnail in the comment or reply, the original picture corresponding to the thumbnail is displayed beside the thumbnail according to the hyperlink of the thumbnail.
The invention provides a device for uploading pictures in comments or replies, which comprises: the thumbnail generation module comprises a receiving module, a thumbnail generation module, a storage module and a display module; wherein,
the receiving module is used for receiving the uploaded original pictures;
the thumbnail generation module is used for generating a thumbnail of the original picture;
the storage module is used for storing the original picture and the thumbnail;
and the display module is used for displaying the thumbnail of the included original picture in the comment or the reply after the comment or the reply is submitted.
In the above scheme, the thumbnail generation module is specifically configured to process an original picture in a compression manner to obtain a thumbnail.
In the above scheme, the display module is specifically configured to display the thumbnail of the original picture included in the comment or the reply according to the saving path of the thumbnail of the original picture after the comment or the reply is submitted.
In the above scheme, the device further includes an original image display module, configured to detect whether a mouse focuses on a thumbnail in the comment or the reply, and when the mouse focuses on the thumbnail in the comment or the reply, display, beside the thumbnail, an original image corresponding to the thumbnail according to a hyperlink of the thumbnail.
The invention provides a method and a device for uploading pictures in comments or responses, wherein a background system for comments or responses receives uploaded original pictures and generates thumbnails; the background system stores original pictures and thumbnails; after the comments or the replies are submitted, displaying thumbnails of the included original pictures in the comments or the replies; therefore, the pictures can be uploaded in the comments or the replies conveniently and quickly, the loading speed of the page is increased, and quick browsing is realized.
Drawings
FIG. 1 is a schematic flow chart of a method for uploading pictures in comments or replies according to the present invention;
fig. 2 is a schematic structural diagram of an apparatus for uploading a picture in a comment or reply according to the present invention.
Detailed Description
The basic idea of the invention is: a background system for commenting or replying receives the uploaded original picture and generates a thumbnail; the background system stores the original picture and the thumbnail; after submission of the comment or reply, a thumbnail of the original picture included is displayed in the comment or reply.
Here, in the present invention, the original picture refers to a picture that a user selects to upload in a computer; the thumbnail refers to a reduced picture obtained by compressing an original picture on a webpage or in a computer, wherein the reduced picture usually includes a hyperlink pointing to a picture with a complete size; generally, thumbnails are used in a Web browser, so that the Web browser can load a webpage with many graphics or pictures more quickly, and the thumbnails can be used for quick browsing due to small size and high loading speed, and are equivalent to the functions of picture file preview and directory.
The invention is further described in detail below with reference to the figures and the specific embodiments.
The invention realizes a method for uploading pictures in comments or replies, which comprises the following steps as shown in figure 1:
step 101: popping up a dialog box for selecting an uploaded picture on a comment or reply page, and uploading the original picture to a background system for comment or reply after a user selects the uploaded original picture;
step 102: a background system for commenting or replying receives the uploaded original picture and generates a thumbnail;
in this step, the thumbnail generation is to process the original picture in a compression manner to obtain the thumbnail.
Step 103: a background system for commenting or replying stores the original picture and the thumbnail;
step 104: after the comments or the replies are submitted, displaying thumbnails of the included original pictures in the comments or the replies;
specifically, after the comment or the reply is submitted, the thumbnail of the original picture included in the comment or the reply is displayed according to the saving path of the thumbnail of the original picture.
The above method further comprises: and the background system for commenting or replying detects whether the mouse focuses on the thumbnail in the comment or reply, and when the mouse focuses on the thumbnail in the comment or reply, the original picture corresponding to the thumbnail is displayed beside the thumbnail according to the hyperlink of the thumbnail.
In order to implement the method, the present invention further provides an apparatus for uploading a picture in a comment or a reply, where the apparatus is placed in a background system of the comment or the reply, as shown in fig. 2, and the apparatus includes: the thumbnail image generation device comprises a receiving module 21, a thumbnail image generation module 22, a storage module 23 and a display module 24; wherein,
a receiving module 21, configured to receive an uploaded original picture;
the thumbnail generation module 22 is used for generating thumbnails of the original pictures;
the saving module 23 is configured to save the original picture and the thumbnail;
the display module 24 is configured to display a thumbnail of the included original picture in the comment or the reply after the comment or the reply is submitted;
the thumbnail generation module 22 is specifically configured to process the original picture in a compression manner to obtain a thumbnail;
the display module 24 is specifically configured to display the thumbnail of the original picture included in the comment or the reply according to the storage path of the thumbnail of the original picture after the comment or the reply is submitted;
the device further comprises an original image display module 25, which is used for detecting whether the mouse focuses on the thumbnail in the comment or the reply, and when the mouse focuses on the thumbnail in the comment or the reply, the original image corresponding to the thumbnail is displayed beside the thumbnail according to the hyperlink of the thumbnail.
By the method, the picture can be uploaded in the comment or the reply conveniently and quickly, and only the thumbnail of the uploaded picture is displayed in the comment or the reply, so that the loading speed of the page is increased, and quick browsing is realized.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (4)
1. A method of uploading a picture in a review or reply, the method comprising:
in an instant messaging tool or a social network site, a backstage system for commenting or replying receives an original picture uploaded by a terminal user and generates a thumbnail, wherein the thumbnail is generated by processing the original picture in a compression mode to obtain a thumbnail suitable for a web browser; the comments are used for evaluating published or forwarded articles, and the replies are replies to the existing comments;
the background system stores the original picture and the thumbnail;
after the comments or the replies are submitted, displaying thumbnails of the included original pictures in the comments of the articles or the replies of the existing comments;
and the background system for commenting or replying detects whether the mouse focuses on the thumbnail in the comment or reply, and when the mouse focuses on the thumbnail in the comment or reply, the original picture corresponding to the thumbnail is displayed beside the thumbnail according to the hyperlink of the thumbnail.
2. The method of claim 1, wherein displaying the thumbnail of the included original picture in the comment or reply is: and displaying the thumbnail of the original picture in the comment or reply according to the saving path of the thumbnail of the original picture.
3. An apparatus for uploading a picture in a comment or reply, the apparatus comprising: the thumbnail image generation module comprises a receiving module, a thumbnail image generation module, a storage module, a display module and an original image display module; wherein,
the receiving module is used for receiving an original picture uploaded by a terminal user when the terminal user makes a comment or replies in an instant messaging tool or a social network site; the comments are used for evaluating published or forwarded articles, and the replies are replies to the existing comments;
the thumbnail generation module is used for generating a thumbnail of the original picture, wherein the thumbnail generation is to process the original picture in a compression mode to obtain the thumbnail suitable for the web browser;
the storage module is used for storing the original picture and the thumbnail;
the display module is used for displaying the thumbnail of the included original picture in the comment of the article or the reply of the existing comment after the comment or the reply is submitted;
and the original image display module is used for detecting whether the mouse focuses on the thumbnail in the comment or the reply, and when the mouse focuses on the thumbnail in the comment or the reply, displaying the original image corresponding to the thumbnail beside the thumbnail according to the hyperlink of the thumbnail.
4. The apparatus according to claim 3, wherein the display module is specifically configured to display the thumbnail of the original picture included in the comment or the reply according to the saving path of the thumbnail of the original picture after the comment or the reply is submitted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110443991.7A CN103186533B (en) | 2011-12-27 | 2011-12-27 | A kind of method and apparatus of uploading pictures in comment or in replying |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110443991.7A CN103186533B (en) | 2011-12-27 | 2011-12-27 | A kind of method and apparatus of uploading pictures in comment or in replying |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103186533A CN103186533A (en) | 2013-07-03 |
CN103186533B true CN103186533B (en) | 2016-05-18 |
Family
ID=48677704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110443991.7A Active CN103186533B (en) | 2011-12-27 | 2011-12-27 | A kind of method and apparatus of uploading pictures in comment or in replying |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103186533B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461477A (en) | 2013-09-13 | 2015-03-25 | 腾讯科技(北京)有限公司 | Method, system and corresponding device for adding network comment information |
CN103838484A (en) * | 2014-02-21 | 2014-06-04 | 联想(北京)有限公司 | Method for deleting redundancy images, and electronic device |
CN105162817A (en) * | 2015-05-25 | 2015-12-16 | 腾讯科技(北京)有限公司 | Method and apparatus for image upload |
CN106375178B (en) * | 2015-07-23 | 2021-06-29 | 小米科技有限责任公司 | Message display method and device based on instant messaging |
CN107145494A (en) * | 2016-03-01 | 2017-09-08 | 广州市动景计算机科技有限公司 | A kind of method and device for browsing thumbnail in webpage |
CN107092622A (en) * | 2016-12-14 | 2017-08-25 | 口碑控股有限公司 | The methods of exhibiting and device of a kind of comment information |
CN108984098B (en) * | 2018-07-12 | 2020-10-02 | 北京达佳互联信息技术有限公司 | Information display control method and device based on social software |
CN109525896A (en) * | 2018-11-08 | 2019-03-26 | 北京微播视界科技有限公司 | Comment on answering method, device, equipment and storage medium |
CN110096665B (en) * | 2019-04-28 | 2022-03-04 | 北京字节跳动网络技术有限公司 | Method, device, equipment and medium for displaying picture comment data |
CN117251091A (en) | 2020-12-25 | 2023-12-19 | 北京字节跳动网络技术有限公司 | Information interaction method, device, equipment, storage medium and program product |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193074A (en) * | 2007-05-22 | 2008-06-04 | 腾讯科技(深圳)有限公司 | A method and system for display image on instant communication demonstration frame |
CN101359336A (en) * | 2008-08-15 | 2009-02-04 | 深圳市中兴移动通信有限公司 | Method for producing reduced graph with different specifications based on page need |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003016015A (en) * | 2001-06-27 | 2003-01-17 | Sanyo Electric Co Ltd | Device and system for providing image |
US20040246531A1 (en) * | 2003-06-03 | 2004-12-09 | Murata Kikai Kabushiki Kaisha | Server device having electronic bulletin board function |
-
2011
- 2011-12-27 CN CN201110443991.7A patent/CN103186533B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193074A (en) * | 2007-05-22 | 2008-06-04 | 腾讯科技(深圳)有限公司 | A method and system for display image on instant communication demonstration frame |
CN101359336A (en) * | 2008-08-15 | 2009-02-04 | 深圳市中兴移动通信有限公司 | Method for producing reduced graph with different specifications based on page need |
Also Published As
Publication number | Publication date |
---|---|
CN103186533A (en) | 2013-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103186533B (en) | A kind of method and apparatus of uploading pictures in comment or in replying | |
US9971740B2 (en) | Dynamic webpage image | |
US10643021B2 (en) | Method and device for processing web page content | |
CN111984165B (en) | Method and device for displaying message and terminal equipment | |
CN103246678B (en) | A kind of web page content preview method and apparatus | |
CN103616983B (en) | A kind of picture display method, device and terminal device | |
CN110162353B (en) | Multi-page switching method and equipment, storage medium and terminal | |
CN105740263B (en) | Page display method and device | |
CN109309696B (en) | Folder transmission method, sender, receiver, and storage medium | |
WO2012087824A2 (en) | Techniques for electronic aggregation of information | |
CN110278141B (en) | Instant messaging information processing method and device and storage medium | |
CN107436948B (en) | File searching method and device and terminal | |
CN110826002B (en) | Information sharing method, device, terminal and storage medium | |
CN106936699A (en) | A kind of information sharing method, device and system | |
JP7076471B2 (en) | File transmission in instant communication applications | |
CN104410768A (en) | Information transmitting method and apparatus | |
CN104216929A (en) | Method and device for intercepting page elements | |
CN104679724A (en) | Page noting method and device | |
CN103577496B (en) | A kind of display methods and device of Email | |
CN104516890A (en) | Business processing method, business processing device and electronic equipment | |
CN203204657U (en) | Product specification transmission system based on mobile terminal | |
CN103793366A (en) | Mobile terminal having built-in comment issuing function and issuing method thereof | |
CN102436509A (en) | Method and system for browsing web page at mobile terminal | |
CN108932243B (en) | Method and device for refreshing webpage | |
CN105373557A (en) | Content synchronization method and device |
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 |