Bulk compress and optimize image for web

Optimize Images Bulk image compression Mac and Windows (Before Upload) If you have some high res images and wants to compress them before upload photoshop is one of the more powerful tool to do your compression. However to do it in bulk quickly I have found a better tool xnConvert. It does compression and resize. Image compression vs file compression Firstly do not get confuse with image compression and files compression they are different types of process altogether. Images compression (Lossy) uses algorithms to determine how best to reduce data/pixels to maintain the same viewing effect on a screen. Where else a file compression finds ways to reduce file size by looking at repetitive data stream and grouping them together and it works for any types of files. After a file is compressed they are commonly save as file types  zip, tar, or gzip depending on their compression methods. Compression criteria There are many criteria to reduce image file size. I typically work with these 3: 1 – Size Size is tricky for images you want to keep at full width or full height and responsive, I typically just use the ratio of 1920×1200 for maximum prettiness and 1280×1024 for most cases and 800×600 for maximum file save (like a mobile intensive site). Anything else with a consistent size you can just use the chrome plugin MeasureIt  to measure the size you need in pixels. 2 – DPI We wont go into explaining Dots Per Inches (DPI) you can google and read up on that. Simply put , it is the amount of Pixels Per Inch (PPI) which is more commonly known as...
Increasing WordPress upload limit in digitalocean

Increasing WordPress upload limit in digitalocean

Server : Ubuntu WordPress on 14.04 –  automatic wordpress install by digitalocean ACTIVITY Was exporting posts from old site and importing into new site, few things I learned: WordPress exports in xml format images link are included So when you import on the new site it will automatically download the images with url provided in the xml export PROBLEM There was a memory limit in uploading it was just 8mb but my file was 8.7mb. SOLUTION So solution was to increase the limit. [1] Login to your digitalocean server, if you dont know how easiest way is to access the webconsole by digitalocean Vim ../etc/php5/apache2/php/ini to find your php.ini refer here.[3] (VIM cheatsheet) 1. Try adding this line to your wp-config.php file: define('WP_MEMORY_LIMIT', '64M'); 2. If you have access to your PHP.ini file, change the line in PHP.ini If your line shows 32M try 64M: memory_limit = 64M ; Maximum amount of memory a script may consume (64MB) post_max_size = 64M; upload_max_file_size = 64M; 3. If you don't have access to PHP.ini try adding this to an .htaccess file: php_value memory_limit 64M 12345678910111213  1. Try adding this line to your wp-config.php file:define('WP_MEMORY_LIMIT', '64M'); 2. If you have access to your PHP.ini file, change the line in PHP.iniIf your line shows 32M try 64M:memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)post_max_size = 64M;upload_max_file_size = 64M; 3. If you don't have access to PHP.ini try adding this to an .htaccess file:php_value memory_limit 64M  Remember to restart the apache server sudo service apache2 restart REFERENCE [1] https://wordpress.org/support/topic/importing-blog-larger-than-8mb-from-wordpresscom-to-wordpressorg [2] https://www.digitalocean.com/community/questions/php-memory-limit-wordpress-xml-rpc-and-large-files [3] http://stackoverflow.com/questions/8684609/dude-wheres-my-php-ini/24342463#24342463...

WordPress editor missing

Was working on a wordpress site when i found that the theme editor under appearance was missing. Started to google it and some common reasons was because: Multisite enabled role editor  plugin wp-security plugin have it disabled with an option to turn on. but for my site it was because it was disabled by hard code in the wp-config.php file define(‘DISALLOW_FILE_EDIT’, TRUE); //Disable File Editing This is a good security practice. so turn it off if you dont need it....
Digital Ocean + Server Pilot + wordpress setup

Digital Ocean + Server Pilot + wordpress setup

I had always thought of going with Amazon Servers (AWS) when I needed more power from my servers or else i just stick to my server with Exabytes or my personal server with Fatcow . But recently I have discovered Digital Ocean a Virtual Private Server. Quote from wiki A VPS runs its own copy of an operating system, and customers have superuser-level access to that operating system instance, so they can install almost any software that runs on that OS. Basically you have your own computer instead of sharing it with other people. The interface for this is so beautiful I can’t help but want to use it and its affordable! The reason for me to pick Digital Ocean instead of AWS is because of its price and easy setup interface. At 10$ a month and you can upgrade it as you need it ! If you want to get 10$ which means 1 month free test account use my reference link here. Awesome! But using the VPS means you have to do a lot of things yourselves and you don’t have cpanel. But you can install it if you want to pay the monthly price for it. There are a lot of other choices besides cpanel out there free and paid. So i did some research… http://www.gnutomorrow.com/best-free-web-hosting-panel-cpanel-alternative/ http://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels After some research I have decided to go with ServerPilot for these reasons: Pretty! Developed with digital ocean in mind therefore easy to setup for DigitalOcean Server pilot is cloud based server management. This means this is 0% of your CPU time & resources is being used by the control panel! How...