Posts

Showing posts from June, 2019

Get Height and Width of Image when upload

<script type="text/javascript">  var _URL = window.URL || window.webkitURL;  $('#structure_product_image').on('change', function() { //pass here file field id    var image, file;    if ((file = this.files[0])) {      image = new Image();      image.onload = function() {        $("#error_message").text("");        if (this.width <= 700) {          $("#error_message").text("Width should be greater than 700 pixel!") //id where you want to display text        }        else if (this.height <= 600){          $("#error_message").text("Height should be greater than 600 pixel!")        }        else if (this.height >= this.width){          $("#error_message").text("Height should not be greater than Width")        }        if($("#error_message").text() == ""){          $("#save_product").prop("disabled" , false)      

Place to share your Article Content Blog

1. Medium Medium allows you to share or publish your content and article 2. Reddit Reddit can be a worthwhile platform to consider for sharing content, but it needs to be done the right way 3. LinkedIn Articles LinkedIn also allow you share your content. Try LinkedIn Learing 4. DesignFloat An online discussion board for designers to share articles, element ideas, and more. 5. Twitter Here is a another best way to share your Blog or content to Twitter. You can also share your content into specific twitter community of that content