In the previous article using WordPress to quickly build a good-looking website (1) about the basic elements of the addition, but the light has articles and pages is not enough, because the site will be more boring than the newspaper, for this, we want to add some pictures and videos on the site.
So after writing an article, we can click to add the multimedia, and then prepare some of the images we want to upload.
Once you have clicked on the multimedia, you can add or drag and drop the pre-prepared images.
But sometimes pictures can not be uploaded successfully, for the following points: size is not satisfied, the picture is too large to upload. Names are best named in English. Problem with wp-content permission settings
For the above three questions, the second picture name name English name is good, for the first problem, we can manually modify the maximum upload size limit, in the Wamp installation directory, search for a file called PHP.ini, with the editor to open, and then set up Post_max_ Size is fine, so there is no fear of limiting the limit. For the third problem, we can do the FTP rights Management of this folder, change the permissions to 777 on the line
Inserting a picture in an article is a great way to change the overall design of the article, and we can also insert an album in the article
For inserting a photo album, first open the multimedia, then build an album, and finally in this album select the picture you want to insert this album, and finally insert this album into the article. , when viewing this album in the article, click on the upper left corner, there will be an editor and a cancellation, interested readers can try their own
Such as
After this album is finished, click on the update article to display the album. Of course, WordPress also has the ability to modify and edit the image, can be carried out, rotation, zooming and other simple modification work.
But this WordPress comes with the album features more monotonous, we can choose the dashboard, choose Plug-ins, download a plug-in called jquery Colorbox, after the successful download, in the dashboard settings can be payees set, choose when to apply, We generally choose to apply it at all times.
After downloading this plugin, the plugin can be applied to the album, as
Note here to choose to connect to the media file, after checking the OK, and update the article, we click on the picture in the article will have this effect
is a few steps to install the plug-in, the above-mentioned readers can be based on a piece of self-understanding ... I can only help here, uploading pictures is very troublesome ....