Baidu Editor How to implement thumbnail image

Source: Internet
Author: User
How Baidu editor implements thumbnail images
Use Baidu Editor, want to put the first picture inside the thumbnail into the home display, the first picture and other diagrams are also in the detailed page display, so the size is unchanged.
Its contents such as:

Item Size/spec: 24 cm high, good stuff is worth collecting.

700? 700:true); "title=" 1.jpg "/>

700? 700:true); "title=" 2.jpg "/>

700? 700:true); "title=" 3.jpg "/>





Now I want to put the first picture data/attachment/antique//20141123/14167157082579.jpg as a thumbnail on the homepage display, how to implement?
------to solve the idea----------------------
The regular matches the content and puts it up.
------to solve the idea----------------------
Regular take out, generate different names of thumbnails, storage, display
------to solve the idea----------------------
It is recommended to set a separate field to save this image address separately
------to solve the idea----------------------
References:
Quote: References:

It is recommended to set a separate field to save this image address separately


How do you do it with code?


You want to edit the editor's upload code where
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.