我使用 prettyPhoto API。
$(document).ready(function(){
$("a[rel^='prettyPhoto']").live('click',function(){
api_images = ['photos/actual/47e2c8b5.jpg','photos/actual/22a4e7ab.jpg',,'photos/actual/22a4e7ab.jpg'];
$.fn.prettyPhoto();
$.prettyPhoto.open(api_images,'','');
});
});
我需要设置默认图像。如何在 api_images 数组中设置默认图像?