Полноразмерные картинки при клике
Хотелось бы узнать, как можно сделать что бы при клике на картинку открывалась полноразмерная версия, т.е. вместо «обрезания» на сайте показывалась миниатюра…
Есть идеи!?
Есть идеи!?
<a href="#" onclick="showImgUploadForm(); return false;" class="button"><img src="{$DIR_STATIC_SKIN}/images/panel/img.gif" width="20" height="20" title="изображение"></a>
<div class="login-popup" id="window_load_img">
<div class="login-popup-top"><a href="#" class="close-block" onclick="return false;"></a></div>
<div class="content">
<form method="POST" action="" enctype="multipart/form-data" id="form_upload_img" >
<h3>Вставка изображения</h3>
<table border="0">
<tr>
<td align="right">Файл:</td>
<td width="100%"><input type="file" name="img_file" style="width: 100%;" value=""></td>
</tr>
<tr>
<td align="right">Ссылка:</td>
<td><input type="text" name="img_url" value="http://" style="width: 100%;">
</tr>
<tr>
<td align="right">Выравнивание:</td>
<td>
<select name="align">
<option value="">нет</option>
<option value="left">слева</option>
<option value="right">справа</option>
</select>
</tr>
<tr>
<td align="right">Описание:</td>
<td><input type="text" name="title" style="width: 100%;"></td>
</tr>
<tr>
<td></td>
<td>
<input type="button" value="Загрузить" onclick="ajaxUploadImg(document.getElementById('form_upload_img'),'form_comment_text');">
<input type="button" value="Отмена" onclick="hideImgUploadForm(); return false;">
</td>
</tr>
</table>
</form>
</div>
<div class="login-popup-bottom"></div>
</div>
[Tue Feb 17 02:38:46 2009] [error] [client 79.120.44.172] PHP Warning: copy(/home/data/www//uploads/images/b/c/e/1/1/20c96d1486.jpg) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory in /home/data/www/include/function.php on line 426, referer: http://site.ru/topic/add/
[Tue Feb 17 12:30:27 2009] [error] [client 79.120.45.43] PHP Warning: copy(/home/data/www/uploads/images/b/e/6/d/1/d69e33cbba.jpg) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory in /home/data/www/include/function.php on line 426, referer: http://site.ru/topic/edit/234257/
http://livestreet.ru/images/2008/1.jpg<img src="http://livestreet.ru/uploads/images/1/ffa0a01793.jpg" >