Jump to content

[Фича] GIF анимации на стену


Recommended Posts

1 заходим в system\modules открыть там файл attach.php
ищем

//Создание оригинала
                                $tmb = new thumbnail($album_dir.$image_rename.$res_type);
                                $tmb->size_auto('770');
                                $tmb->jpeg_quality('95');
                                $tmb->save($album_dir.$image_rename.$res_type);
                               
заменить на

//Создание оригинала
                                                        // orig save fix for gif and other
                                                        if ($res_type != ".gif") {
                                                                $tmb = new thumbnail($album_dir.$image_rename.$res_type);
                                                                $tmb->size_auto('770');
                                                                $tmb->jpeg_quality('95');
                                                                $tmb->save($album_dir.$image_rename.$res_type);
                                                        };

автор неизвестен

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...