vincent Publish time 2013-08-12 08:42

The thumbnail watermark method

① Open source\function\function_post.php

② lookup$image->Watermark($_G['setting']['attachdir'].'/forum/'.$newattachfile[$aid], '', 'forum');ADD code// The thumbnail watermark method
         if (file_exists($_G['setting']['attachdir'] . '/forum/' . $newattachfile[$aid] . '.thumb.jpg')) {
                  $image->Watermark($_G['setting']['attachdir'] . '/forum/' . $newattachfile[$aid] . '.thumb.jpg', '', 'forum');
                }
                //The thumbnail watermark methodend③ lookupC::t('forum_attachment_unused')->delete($aid);ADD code//
The thumbnail watermark method
       if (file_exists($_G['setting']['attachdir'] . '/forum/' . $attach['attachment'] . '.thumb.jpg')) {
                $image->Watermark($_G['setting']['attachdir'] . '/forum/' . $attach['attachment'] . '.thumb.jpg', '', 'forum');
            }
            // The thumbnail watermark method End

mj1919 Publish time 2013-08-12 16:45

thank u
but do you have any preview? screenshot?

Pages: [1]
View full version: The thumbnail watermark method