Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12358
Latest: KekoWorld
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40095
Total Topics: 7059
Most Online Today: 64
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 52
Total: 52

Author Topic: [Mod]Smush it! For SMF - Image Attachment Space Saver  (Read 1444 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15051
    • View Profile
[Mod]Smush it! For SMF - Image Attachment Space Saver
« on: January 30, 2016, 11:25:29 pm »
Smush it! For SMF - Image Attachment Space Saver



http://www.smfhacks.com/index.php?action=downloads;sa=view;down=183Smush it! For SMF - Image Attachment Space Saver

I recently found out about Smush it from using on some of my wordpress sites. Then just today I saw Spuds had created it. So spent about 2 hours and have ported it to SMF enjoy.



###Introduction
This adds the ability to run WPMU DEV WordPress Smush API service on your attachments.  Smush.it uses optimization techniques specific to each image format to remove unnecessary bytes from image files. It is a "lossless" tool, which means it optimizes the images without changing their look or visual quality. Typical savings are in the 5-20% file size reduction.  After Smush.it runs it will report how many bytes have been saved as well as the percent reduction for each file.  Smaller files save bandwidth, disk space and make your forum faster.

###License
Ported to SMF by vbgamer45 http://www.smfhacks.com
Original by Spuds
The software is licensed under [Mozilla Public License 1.1 (MPL-1.1)](http://opensource.org/licenses/MPL-1.1).

###Features
* Ability to run Smush.it on all current attachments in a batch mode (based on attachment age/size)
* Admin->Forum->Attachments & Avatars->File Maintenance
* Ability to selectively run Smush.it on any single or selection of attachments
* Admin->Forum->Attachments & Avatars->Browse->Smush.it
* Can run as a scheduled task to Smush.it attachments added in the last 24hrs
* Admin->Maintenance->Scheduled Tasks

###Important Notes
* The Smush.it service will not accept files >1M in size, as such no size reduction on those files is possible with this addon
* Unable to copy the Smush.it file back to the attachment directory: This generally indicates that the original attachment file was saved with permissions (or owner/group) that will not allow the forum to replace it.  This can occur if the attachments were FTP-ed to the site or your site changed how PHP is run.  You will need to change the file permissions as needed (664)
* Smush.it returned the following error: Failed to create a temp dir: This means what it says, e.g. Smush.it is unavailable at the current time, all you can do is try again later
* I ran Smush.it and now the file does not show up in the browse list! This means the file was reduced in size below your lower size setting (admin -> configuration -> modification settings -> misc -> Attempt to Sumsh.it all attachments larger than)

###Installation
Simply install the package to install this addon
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
6163 Views
Last post September 25, 2006, 08:11:46 am
by SMFHacks
14 Replies
12990 Views
Last post May 31, 2011, 12:25:39 pm
by Yannick95
4 Replies
4690 Views
Last post January 09, 2010, 12:27:12 am
by petesky
0 Replies
5367 Views
Last post April 12, 2010, 04:08:45 pm
by madman71
2 Replies
3045 Views
Last post August 18, 2014, 03:21:52 pm
by Michel68

+- Recent Topics

[Mod]SMF2WPBridge - Wordpress Login Bridge by SMFHacks
April 04, 2020, 07:16:59 pm

BUG Message Editor Pro1.0.5 by marcimila
April 04, 2020, 09:01:21 am

MOVED: BUG Message Editor Pro1.0.5 by SMFHacks
April 03, 2020, 07:54:07 pm

Only variables should be passed by reference by Zaphod
April 02, 2020, 11:19:11 am

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Powered by EzPortal