Code for adding image into a Category

Started by Con-a-ser, February 22, 2020, 05:36:08 AM

Previous topic - Next topic

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


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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

AlanDewey

Con-a-ser   what version of SMF are you running?
Causing lots of electrons to push each other around since 1985.

Con-a-ser


Con-a-ser

Quote from: Kindred on March 16, 2020, 01:17:35 PM
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.

I will see how it goes & remove them if any issues arise
That does explain why I didn't find anything searching as well

but thanks all for the advice it is appreaciated

Shambles

Quote from: Con-a-ser on March 16, 2020, 07:16:43 PM
I will see how it goes & remove them if any issues arise

Thing is, as Kindred was trying to point out, it's extremely difficult to remove your changes using standard Admin GUI controls, as you'll soon discover when you want to make changes or view settings.

Advertisement: