diff options
author | Friendika <info@friendika.com> | 2011-11-07 20:41:12 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-11-07 20:41:12 -0800 |
commit | 9fabdbf2c974211c8fef18e48a956f8f38bd9e74 (patch) | |
tree | 1eadb4a4cf3d33f80ea84d2214d78c65ebe84ddf /include | |
parent | aeddfa1e0a9642e3cd970e2e7d614341eecab076 (diff) | |
download | volse-hubzilla-9fabdbf2c974211c8fef18e48a956f8f38bd9e74.tar.gz volse-hubzilla-9fabdbf2c974211c8fef18e48a956f8f38bd9e74.tar.bz2 volse-hubzilla-9fabdbf2c974211c8fef18e48a956f8f38bd9e74.zip |
D* scaled images not containing link to original size
Diffstat (limited to 'include')
-rw-r--r-- | include/bb2diaspora.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index 0721d27f6..2331865ae 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -40,7 +40,7 @@ function scale_diaspora_images($s,$include_link = true) { $new_height = $ph->getHeight(); logger('scale_diaspora_image: ' . $new_width . 'w ' . $new_height . 'h' . 'match: ' . $mtch[0], LOGGER_DEBUG); $s = str_replace($mtch[0],'[img=' . $new_width . 'x' . $new_height. ']' . $mtch[1] . '[/img]' - . "\n" . ((! $include_link) + . "\n" . (($include_link) ? '[url=' . $mtch[1] . ']' . t('view full size') . '[/url]' . "\n" : ''),$s); logger('scale_diaspora_image: new string: ' . $s, LOGGER_DEBUG); |