Customizing SMF > SMF Coding Discussion

Code for adding image into a Category

(1/2) > >>

Con-a-ser:
I know it can be done but can't remember how

You simple go into the category settings & add the code to the description & it then places an image as below

Thanks for any help on advance
the image is 468x60 if that helps

Attachment removed due to NSFW. -d3vcho

Antes:
NSFW Attachment...

Kindred:
nope....  I believe we purposefully removed the ability to use HTML in the description because WAY too many people broke their sites by doing that.

To add images for categories or boards -- there is a mod for boards.... or you can do it in CSS for either/both.

Con-a-ser:
sussed it, all had to do was insert this code & image location

<img src="insert image location here">

Kindred:
that is a **BAD BAD BAD** choice.

I thought we removed that capability entirely (we should have)
It's *NOT* a good idea to put HTML in the category or board descriptions. You can seriously break things by doing that.

Navigation

[0] Message Index

[#] Next page

Go to full version