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