DPI, or Dots Per Inch, is a photography and printing term. Essentially a pixel on any screen does not equal to a dot on a printed document. The resolution and detail of a print wouldn’t look good if you used a 72 DPI upload on a 300 DPI print. The end result is either pixelated or blurry images. You can’t just scale an image up either, detail can’t just be easily made. It’s a big problem in the design and print industries. A lot of people fight with their clients to upload the correct images. Any image from the web just won’t do. DPIorDIE to the rescue.
This plugin was designed to filter out images based on the DPI of an image only a specific type of user can upload, « Uploader ». It reads the EXIF data to get the horizontal and vertical DPI for now. It can also increase the max upload size to your desired choosing. There’s also the ability to upload said images to Dropbox in a dedicated app folder and offset path. It seamlessly integrates with WordPress and I’ve done the work for people to give translations.
NOTE: You don’t actually have to make a new user profile on the site with the role type; « Uploader ». It’s just looking for uploading privileges. Later there will be more allowance for flexibility in it’s user capabilities, but it’s unnecessary. The Uploader role was designed to allow a user reduced privileges to a site, not giving them anything but uploading capabilities.
The Dropbox functionality is easy to setup. Click the button, authorize DPIorDIE on Dropbox, get the code they give you, punch it in, and save. The authorization token code will be generated on save. The code lasts indefinitely, they just don’t expire. The offset path will generate the required folders or directories. All duplicates get renamed and aren’t rejected.
- Upload the plugin files to the
/wp-content/plugins/dpiordiedirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->DIEorDIE screen to configure the plugin
- Create required user profiles.
- Is it free and or open source?
It’s fully free and totally open source. https://github.com/Halsys/DPIorDIE
I would love it if you bought me a [coffee](https://www.paypal.me/CoryNil I crave the speedy juice) however!
- Can it upload anywhere else?
Not yet but I’m planning on it. Currently FTP, Apple Cloud, and OneDrive is on the table.
- How do you get the DPI?
It looks for the EXIF data on a file and checks for the horizontal and vertical DPI. Later version might do a bit a math to find out the DPI.
There are no reviews for this plugin.
Contributors & Developers
“DPIorDIE” is open source software. The following people have contributed to this plugin.Contributors
- First major version. Does everything advertised.