minor tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-11-29 16:52:22 +03:00
parent 4a3b5f5f0b
commit bc96a4df59
3 changed files with 19 additions and 5 deletions

View File

@ -1042,6 +1042,9 @@ module.Serialization = ImageGridFeatures.Feature({
// Ideas:
// - use keywords in group names??
// XXX should we consider persistent caches -- localStorage???
// XXX would be nice to have a simple cachedAction(name, cache-tag, expire, func)
// action wrapper that would not require anything from the action and
// just not call it if already called...
var CacheActions = actions.Actions({
config: {
// Enable/disable caching...

View File

@ -98,9 +98,12 @@ module.EXIF_FORMAT = {
// exposure...
'exif.ISO': 'iso',
'exif.FNumber': ['fNumber',
function(v){ return 'f/'+v }],
'exif.ExposureTime': ['exposureTime',
'exif.FNumber': [
'fNumber',
function(v){
return 'f/'+v }],
'exif.ExposureTime': [
'exposureTime',
// NOTE: this is a bit of a brute-fore approach but for shutter
// speeds this should not matter...
function(v){
@ -110,10 +113,12 @@ module.EXIF_FORMAT = {
return (v * d) +'/'+ d }],
// dates...
'exif.DateTimeOriginal': ['date/timeOriginal',
'exif.DateTimeOriginal': [
'date/timeOriginal',
function(v){
return v.toShortDate() }],
'image.ModifyDate': ['modifyDate',
'image.ModifyDate': [
'modifyDate',
'exif.DateTimeOriginal'],
// IPCT...

View File

@ -417,6 +417,12 @@ $(function(){
<b>ToDo:</b>
- add to default actions:
- open/push (implemented)
- edit/view
- delete
- ...
...might also be nice to make adding default actions trivial (buttons?)
- interactive <i>path</i> element...
- <i>search</i> -- flat/deep
- <i>flat tree</i> render, one level at a time (a-la browse-walk.js / finder)