October 17, 2021, 02:01:38 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Additional Info
Type
Package ID
vbgamer45:SmushforSMF
First Created
January 31, 2016, 12:28:06 AM
Last Updated
April 25, 2021, 10:19:47 PM

Smush it! For SMF - Image Attachment Space Save v1.1a

Smush it! For SMF - Image Attachment Space Saver
Compatible With 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.0.15, 2.0.16, 2.0.17, 2.0.18
Latest version v1.1a
Downloads 755
Reviews 0
Rating 0/5
Subscribers 6
License (View License)
Author(s)
Smush 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
SmushforSMF.zip
30159 KB
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: