Blog mode
Generate thumbnails and Related Post thumbnails plugins
- September, 2011
- Posted by: Golgi Alvarez
- Category: Internet and Blogs

A while ago I got rid of Arthemia, a template with a very nice aesthetic for WordPress but with the disadvantage of raising the thumbnail images with the timthumb function that brings serious problems in the consumption of resource width. After several tickets raised by HostGator administrators, I decided to keep the template while this weakness is improved.
In recent WordPress updates, automatic generation of thumbnails was introduced, which are previously stored in their different sizes. This will increase the hosting width but it is insignificant considering that they are not large files and the utility that new themes are giving to this functionality. Thus, every time an article is created, WordPress generates thumbnails with widths of 32, 160 and 170 pixels.
I'm going to use at least two plugins that take advantage of this function and little problems in the consumption of resources; Both construction of Maria Shaldybina and I mean the plugins Generate posts thumbnails y Related Posts.
Generate previous post thumbnails.
One limitation of the WordPress change is the thumbnails of all previous posts. The Generate Thumbnails plugin does a great job of this. It works en masse with all the thumbnails of each article in the blog, and includes a log that reflects the problems found, generally due to images stored on another site or folder within the same domain. It is not appropriate to do this process during times when traffic is high, as it takes a few minutes and we could receive a ticket from HostGator.
This also helps so that the thumbnails of the Swift theme do not look blurry, because when not finding, it raises 32 × 32 images with a very bad appearance.
Placing related links
This other plugin, Related posts thumbnails, places links related by categories or tags at the end of the articles, raising a thumbnail image. It is obvious that for it to work you have to execute the previous process, otherwise it will only show a default image in articles that do not have a thumbnail.
A common problem in this plugin is usually special characters, such as accented letters or ñ (á é í or ú ñ). This happens because although the database may be configured in UTF-8 as is my case, the generated queries may not be configured.
For this, the plugin must be edited. It is done in the left editor tab, of plugins, then the file is chosen Related-posts-thumbnails.php And the content is copied for editing out.
Search near row 362, and remove “htmlspecialchars(” and a closing parenthesis “)”. To do this you can edit directly in Cpanel, or use DreamWeaver or CoffeeCup, as they are programs that allow us to see the row numbers.
This will solve the problem of accents.
Author:Golgi Alvarez
Leave a comment
I'm sorry, you should be connected to post a comment.