when viewing image, with fname, show full path with icon of path
This commit is contained in:
@@ -52,7 +52,7 @@ function DrawImg()
|
||||
if( $('#fname_toggle').prop('checked' ) )
|
||||
{
|
||||
// reset fname for new image (if navigated left/right to get here)
|
||||
$('#fname').html(objs[current].name)
|
||||
$('#fname').html(PrettyFname(objs[current].name))
|
||||
$('.figcaption').show()
|
||||
}
|
||||
else
|
||||
@@ -157,7 +157,7 @@ function ViewImageOrVideo()
|
||||
$('#video_div').hide()
|
||||
if( $('#fname_toggle').prop('checked' ) )
|
||||
$('#img-cap').show()
|
||||
$('#fname_i').html(objs[current].name)
|
||||
$('#fname_i').html(PrettyFname(objs[current].name))
|
||||
$('#figure').show()
|
||||
if( fullscreen )
|
||||
$('#canvas').get(0).requestFullscreen()
|
||||
@@ -166,7 +166,7 @@ function ViewImageOrVideo()
|
||||
{
|
||||
$('#figure').hide()
|
||||
$('#video').prop('src', '../' + objs[current].url )
|
||||
$('#fname_v').html(objs[current].name)
|
||||
$('#fname_v').html(PrettyFname(objs[current].name))
|
||||
if( $('#fname_toggle').prop('checked' ) )
|
||||
$('#img-cap').hide()
|
||||
ResizeVideo()
|
||||
|
||||
Reference in New Issue
Block a user