Thumbnails and Advanced tabs
Thumbnails tab
With Create thumbnails set to Yes, the module makes a resized copy of each item image with the PHP GD library and shows it in the grid. The lightbox still opens the original image. The copies are saved in modules/mod_easy_articles_portfolio/cache and made again after Cache time. That folder must be writable.
Thumbnails are the easiest way to give all items the same size, so the rows line up.
Size and scaling
| Option | Default | What it does |
|---|---|---|
| Create thumbnails | No | Make and use thumbnails. |
| Thumbnail Width | 300 | Width in pixels. |
| Thumbnail Height | 200 | Height in pixels. |
| Image auto-scale | Yes | Centre the image and zoom it to fill the size. Works when Keep aspect ratio and Thumbnail stretch are off. |
| Keep aspect ratio | No | Keep the shape of the image; width and height become the largest size. |
| Thumbnail stretch | No | Stretch the image to the exact size. |
| Thumbnail background | #000 | The colour of empty space around a scaled image. |
| Thumbnail quality | 95 | JPEG quality, 0 to 100. |
| Cache time | 30 | Minutes before a thumbnail is made again. |
| Memory Limit | 128MB | PHP memory for making thumbnails. Raise it if large images give a white page. |
| Download External Images | No | Download images from other sites to make thumbnails of them. |
Responsive images and Wrap content have no effect in 6.0.1.
Cropping
With Image auto-scale set to No, crop fields appear: top, bottom, left and right crop in pixels, and crop rules. In 6.0.1 their labels show as language keys such as MOD_EASY_ARTICLES_PORTFOLIO_SIMPLE_CROP_TOP_LABEL, and each field shows twice. Both copies are the same setting; enter the same value in both.
Image Filters
Grayscale, Sepia, Blur, Brightness, Smooth, Pixelate and Contrast change the look of the thumbnails. Filter argument is the strength for Brightness, Smooth, Pixelate and Contrast. Filters only apply to thumbnails.
Things to know
- Two modules with different thumbnail sizes can overwrite each other's thumbnails, because the files are named after the image only. Use the same size in both, or thumbnails in one module only.
- If a thumbnail cannot be made, for example because GD is missing, the item shows a broken image. Turn Create thumbnails off in that case.
Advanced tab
| Option | Default | What it does |
|---|---|---|
| Module Class Suffix | (empty) | No effect in 6.0.1. |
| Caching | Use Global | Use the site's module cache, or No caching. |
| Cache Time | 900 | Seconds before the cached module is built again. |
Joomla adds its own fields to this tab, such as Module Style and Header Tag.
Set Caching to No caching when Joomla's cache is on and you use Load More or Random order. See Limits of Load More.