![]() |
how to insert image before [img] bb code
I have a need to insert a image before images inserted via bbcode. It will sort of serve as a header before the images are viewed.
For example it could be a image, that says this image is resized. (that is not exactly my plan, but a good example) How or where can I insert this call to pull the image in, only when a [img] bb code is used? |
Have you tried looking at the class_bbcode.php file and at the function for the image bbcode?
|
Good suggestion.
That is abit out of my reach, but I am willing to try for it. do I append my image to this area? I tried a few things but failed. Code:
// do [img]xxx[/img] |
I don't know exactly where to do it since I really don't understand exactly what you are trying to do. I'm just suggesting that that may be the function you want to try to modify to do what you want.
|
1 Attachment(s)
maybe a graphic will help convey my thoughts better.
|
OK, well you can try to add it around where that code it. After they do the preg_replace, I suppose you can just append your code to the front of it.
|
All times are GMT. The time now is 06:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|