Design of the commented gallery in Daria theme
Hello folk! This is a short introduction to the article. It is set in the editing page: in excerpt field of the article.

This method of content design is especially useful if you need to upload a lot of images to the article. In addition, it allows the user to actively interact with the site.
What’s under the hood?
The ability to comment is its main feature. It works on ajax technology, that is, without reloading the page. Users will be able to discuss any photos without having to wait for a long time.
Due to the use of the SHORTINIT constant, the hosting load is reduced by about 10 times, and the server response speed is reduced by 5 times. This allows you to run a php script and get the result faster than loading a full-size image!



In this section, you can place any information related to this image gallery. Output a description of images, create step-by-step instructions with the ability to discuss each step. In General, anything you want.
The number of galleries is unlimited: you can use one or more image blocks on any page. However, the gallery has technical limitations: commenting works in any mode except “MultiSite”, although the gallery itself will work.
Instead of a thousand words, look at the gallery’s work.
How it works
Text-brick, solid wall, without pictures-BRR! Well, who will read it? Unless it’s some nerd with nothing to do. And if the text is still cool: competent, informative, interesting, unusual in the style of presentation? All the more reason to save him!
Any self-respecting copywriter should bring the article to a decent appearance, this is not even discussed. High-quality text design includes the selection of images.
Images are a powerful tool to win the reader’s heart ? See what a normal gallery looks like when you include it in the text field. The standard WordPress thumbnail size is used by default, 150x150px. This can be changed from the Settings > Media page on the dashboard to make larger thumbnails sharper for retina and screen (this demo uses 300x300px).
Images play a special role in the article layout. They have two hidden attributes that affect SEO. These attributes are alt (alternative text that is shown in situations when images are disabled, and must contain keywords) and title (the image title that is shown when you hover the mouse cursor over the image must also contain keywords).
Conclusion
Xerox conducted an interesting study. It turns out that if you include several images or photos in the text design, the chances that the article will be read will increase by 80%.
In addition, WordPress has the ability to add captions to images. They can be explanatory, or you can just convey your emotions.
All rights reserved © 2020. Made with ❤ by CodyShop