Announcement

Collapse
No announcement yet.

Smilies

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Smilies

    What template do the smilies use ? I want to add width and height attributes to all images, but cannot find the smilies template...

  • #2
    There is no smilies template (except for smilies and smiliesbit - which is for the smilies explanation page).

    IF all your smilies are the same size (are they? I know mine aren't), then you can hard-code the width and height in admin\function.php, line 321 (in v2b2):

    PHP Code:
    $bbcode=str_replace(trim($smilie[smilietext]),"<img src=\"$smilie[smiliepath]\" border=0>",$bbcode); 
    Cheers,

    Bira

    Comment


    • #3
      Thanks Bira (you're feeling very helpful this afternoon, aren't you - you must be in a good mood as there's only one week to go! woohoo! )

      I'll look into that. I wonder if the team will add this extra template for the next beta/full release ? It's all very well adding compression facilities to speed the download time, but it's a bit silly if we can't add width and height attributes to each image...!

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X