[phpBB] Remove captions from images and attachments

The task was to remove captions for images in phpBB. They look like this: the name of the file, its size, how many times viewed. The easiest way to do this is to edit the template.
  1. Go to styles/prosilver/template/attachment.html ; instead of prosilver, it might be your template folder. It consists of four blocks: output thumbnail, picture, file, insertion flash. In my case we will edit the block .S_IMAGE
  2. Just delete a line from there:

<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>

Enjoy the beautiful display of pictures!

This entry was posted in CMS (en), phpBB (en). Bookmark the permalink.

Leave a Reply

🇬🇧 Attention! Comments with URLs/email are not allowed.
🇷🇺 Комментарии со ссылками/email удаляются автоматически.