[ADDON] Forum images in recent active topics
Posted: 24 Nov 2012, 20:51
Thanks, worked fine for me, with the instructions in the first post.
Database and Demo for phpBB3 BBCodes, Mods and Smilies
https://phpbb3bbcodes.com/
Always a good idea to put the image width and height attributes in and to make your icons of that size, so there is no re-sizing going on, this is 'good practice' for images. 32*32 px is a good size for forum images.doktornotor wrote: Inrecent_active_body.html
, find:
and replace withCode: Select all
<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->
Code: Select all
<!-- IF recent_active.FORUM_IMAGE --><img src="{ROOT_PATH}{recent_active.FORUM_IMAGE}" width="32" height="32" alt="" /><!-- ELSE --><img src="{ROOT_PATH}images/starimg.png" alt="" /><!-- ENDIF -->
- http://gtmetrix.comSpecifying a width and height for all images allows for faster rendering by eliminating the need for unnecessary reflows and repaints.