Tag: Upload
-
Increase WordPress file uploads limitation
WordPress default upload limit is 2MB. We can increase the maximum upload size in WordPress. Edit the .htaccess file in your WordPress root folder with the following code: php_value upload_max_filesize 128M php_value post_max_size 128M php_value max_execution_time 300 php_value max_input_time 300
-
Ajax file uploads on Rails
How to upload files with Ajax using Ruby on Rails? Today we will see how to files upload using Ajax without a page load. We will use DropzoneJS, DropzoneJS is an open-source library that provides drag ‘n’ drop file uploads with image previews. At first, we need to install DropzoneJS gem on our rails environment,…