We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Comment HTML Formatting Buttons and allowing image links

Development and Programming

hothousegraphix's avatar
hothousegraphix
851 posts
16 years ago
hothousegraphix's avatar hothousegraphix

A few questions about the Comment HTML Formatting Buttons plugin with respect to allowing images.

At the opening of htmp_buttons.php (the file that seems to drive the comment formatting buttons) is a variable

var $allow_img = FALSE;

I assume this has an associated global that can be defined in the config file? For testing however, I’ve just set to TRUE.

This then does seem to add an additional button to add images, however, the behavior I expect does not seem to happen. When the button is selected it simply adds the following BB tags

[img][/img]

to the comment text area.

I’m wondering if this is the expected behavior, how a user is supposed to use this feature?

My expectations are that it would, prior to adding tags, fire a JS prompt with an imput requesting the URL to the image followed by the same for an “alt” tag.

Am I off base with this assumption? If so, could someone please explain how this is to be used?

Thanks

       
hothousegraphix's avatar
hothousegraphix
851 posts
16 years ago
hothousegraphix's avatar hothousegraphix

disregard please.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.