locked
Jquery Customization RRS feed

Answers

  • User281315223 posted

    Based on their available API, you would probably set it as follows :

    $('#image').picEdit({ defaultImage: 'path/to/your/image' });

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 20, 2015 9:04 AM
  • User61956409 posted

    Hi Embryologist,

    As for your problem, I agree with Rion Williams. from the link you provide, it enable us to set “defaultImage” for the plugin. And I create a sample to test it, and the code works fine.

    <script type="text/javascript">
    	$(function() {
    		$('.picedit_box').picEdit({
    			imageUpdated: function(img){
    			},
    			formSubmitted: function(){
    			},
    			redirectUrl: false,
    			defaultImage: "http://lorempixel.com/140/140/"
    		});
    	});
    </script>
    

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 21, 2015 4:59 AM

All replies

  • User281315223 posted

    Based on their available API, you would probably set it as follows :

    $('#image').picEdit({ defaultImage: 'path/to/your/image' });

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, September 20, 2015 9:04 AM
  • User61956409 posted

    Hi Embryologist,

    As for your problem, I agree with Rion Williams. from the link you provide, it enable us to set “defaultImage” for the plugin. And I create a sample to test it, and the code works fine.

    <script type="text/javascript">
    	$(function() {
    		$('.picedit_box').picEdit({
    			imageUpdated: function(img){
    			},
    			formSubmitted: function(){
    			},
    			redirectUrl: false,
    			defaultImage: "http://lorempixel.com/140/140/"
    		});
    	});
    </script>
    

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 21, 2015 4:59 AM
  • User-1305530094 posted

    Thanks Guys,

    Appreciate it!

    Monday, September 21, 2015 5:04 AM