Changeset 539 for trunk/picture.php
- Timestamp:
- Oct 2, 2004, 12:50:50 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r536 r539 451 451 'HEIGHT_IMG' => $picture_size[1], 452 452 453 'L_HOME' => $lang['gallery_index'], 453 454 'L_SLIDESHOW' => $lang['slideshow'], 454 'L_TIME' => $lang['period_seconds'],455 455 'L_STOP_SLIDESHOW' => $lang['slideshow_stop'], 456 456 'L_PREV_IMG' =>$lang['previous_image'].' : ', 457 457 'L_ADMIN' =>$lang['link_info_image'], 458 'L_BACK' =>$lang['back'],459 458 'L_COMMENT_TITLE' =>$lang['comments_title'], 460 459 'L_ADD_COMMENT' =>$lang['comments_add'], … … 468 467 'L_PICTURE_METADATA' => $lang['picture_show_metadata'], 469 468 'L_PICTURE_HIGH' => $lang['picture_high'], 470 'L_PICTURE_HIGH_ALT' => $lang['picture_high_alt'],471 469 472 470 'U_HOME' => add_session_id($url_home), … … 494 492 if (isset($picture['current']['high'])) 495 493 { 496 $template->assign_block_vars( 497 'high', 498 array('U_HIGH' => $picture['current']['high'])); 494 $full_size = @getimagesize($picture['current']['high']); 495 $full_width = $full_size[0]; 496 $full_height = $full_size[1]; 497 $uuid = uniqid(rand()); 498 $template->assign_block_vars('high', array( 499 'U_HIGH' => $picture['current']['high'], 500 'UUID'=>$uuid, 501 'WIDTH_IMG'=>($full_width + 16), 502 'HEIGHT_IMG'=>($full_height + 16) 503 )); 499 504 } 500 505 //------------------------------------------------------- favorite manipulation
Note: See TracChangeset
for help on using the changeset viewer.