Page 1 of 1

Remove filename from showing on inline attachments/images ?

Posted: Wed Jun 13, 2018 8:46 pm
by TearAByte
I would like to remove the file-name & image size from showing below inline image attachments. I found a post from not long about detailing how to remove the view-count, and I assume its basically the same but I dont want to bork it so hoping the experts can help.

TIA!

Re: Remove filename from showing on inline attachments/images ?

Posted: Thu Jun 14, 2018 10:51 am
by HiFiKabin
Probably, but without knowing what post you are referring to I can not be certain.

Anyway,

OPEN

styles>prosilver>template>attachment.html

FIND

Code: Select all

			<p><a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</p>
DELETE any or all of the following

{_file.FILESIZE}
{_file.SIZE_LANG} |
{_file.L_DOWNLOAD_COUNT}



SAVE>UPLOAD>PURGE FORUM CACHE

And remember to keep an un edited backup of ANY file you are working on. That way should you make a muck of things, its easy to revert to a working forum.

Re: Remove filename from showing on inline attachments/images ?

Posted: Thu Jun 14, 2018 11:48 am
by canonknipser
HiFiKabin wrote:
Thu Jun 14, 2018 10:51 am
Probably, but without knowing what post you are referring to I can not be certain.
Maybe this one: viewtopic.php?f=556&t=2473176#p15022471
Anyway, you posted the solution

Re: Remove filename from showing on inline attachments/images ?

Posted: Thu Jun 14, 2018 2:38 pm
by TearAByte
Yup, that was the post I was referring to..

Thank you both - Will try this tonight.

Re: Remove filename from showing on inline attachments/images ?

Posted: Thu Jun 14, 2018 10:56 pm
by TearAByte
That did the trick.
Thanks guys (or girls)!