Announcement

Collapse
No announcement yet.

Automatic image resize

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

  • Automatic image resize

    Until version 3.8.4 (not PL1) to resize automatically images in posts, I changed in /includes/class_bbcode.php

    this
    PHP Code:
    return '<img src="' .  $link '" border="0" alt="" />'
    to
    PHP Code:
    return '<img src="' $link '" onload="if(this.width > 700) {this.width=700;this.alt=\'Click here to see a large version\';}" onmouseover="if(this.alt) this.style.cursor=\'pointer\';" onclick="if(this.alt) window.open(\'' $link '\');" border="0" />'
    in the new PL1 I cannot find the first string; how can I resolve the problem?

    Thank'you
    Best regards
    Paolo

  • #2
    includes/class_bbcode.php doesn't even need to be modified for the PL1 patch.

    Comment


    • #3
      Sorry, then in 3.8.3, I am sure

      Comment

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