미리보기 이미지를 클릭 할 때 열리는 이미지 상자의 높이 및 너비를 수정하려하지만 성공하지 못했습니다.라이트 박스 높이 및 너비 변경
이 지금까지
@for (int i = 0; i < Model.count; i++)
{
<a href= "@Url.Action("GetImage", "Image", new { id = i })" rel="prettyPhoto[pp_gal]">
<img src= "@Url.Action("GetImage", "Image", new { id = i })" alt="Image @(i+1)" width="240" height="240" /></a>
}
<script type="text/javascript">
$(document).ready(function() {
$("a[rel^='prettyPhoto']").prettyPhoto({
autoplay_slideshow: false,
show_title: true,
default_width: 300, //I have tried playing with these values
default_height: 200, //I have tried playing with these values
theme: 'pp_default',
overlay_gallery: false,
social_tools: false
});
});
</script>
어떤 도움을 주시면 감사하겠습니다 내 코드입니다.