mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4a3b5f5f0b
commit
bc96a4df59
@ -1042,6 +1042,9 @@ module.Serialization = ImageGridFeatures.Feature({
|
|||||||
// Ideas:
|
// Ideas:
|
||||||
// - use keywords in group names??
|
// - use keywords in group names??
|
||||||
// XXX should we consider persistent caches -- localStorage???
|
// 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({
|
var CacheActions = actions.Actions({
|
||||||
config: {
|
config: {
|
||||||
// Enable/disable caching...
|
// Enable/disable caching...
|
||||||
|
|||||||
@ -98,9 +98,12 @@ module.EXIF_FORMAT = {
|
|||||||
|
|
||||||
// exposure...
|
// exposure...
|
||||||
'exif.ISO': 'iso',
|
'exif.ISO': 'iso',
|
||||||
'exif.FNumber': ['fNumber',
|
'exif.FNumber': [
|
||||||
function(v){ return 'f/'+v }],
|
'fNumber',
|
||||||
'exif.ExposureTime': ['exposureTime',
|
function(v){
|
||||||
|
return 'f/'+v }],
|
||||||
|
'exif.ExposureTime': [
|
||||||
|
'exposureTime',
|
||||||
// NOTE: this is a bit of a brute-fore approach but for shutter
|
// NOTE: this is a bit of a brute-fore approach but for shutter
|
||||||
// speeds this should not matter...
|
// speeds this should not matter...
|
||||||
function(v){
|
function(v){
|
||||||
@ -110,10 +113,12 @@ module.EXIF_FORMAT = {
|
|||||||
return (v * d) +'/'+ d }],
|
return (v * d) +'/'+ d }],
|
||||||
|
|
||||||
// dates...
|
// dates...
|
||||||
'exif.DateTimeOriginal': ['date/timeOriginal',
|
'exif.DateTimeOriginal': [
|
||||||
|
'date/timeOriginal',
|
||||||
function(v){
|
function(v){
|
||||||
return v.toShortDate() }],
|
return v.toShortDate() }],
|
||||||
'image.ModifyDate': ['modifyDate',
|
'image.ModifyDate': [
|
||||||
|
'modifyDate',
|
||||||
'exif.DateTimeOriginal'],
|
'exif.DateTimeOriginal'],
|
||||||
|
|
||||||
// IPCT...
|
// IPCT...
|
||||||
|
|||||||
@ -417,6 +417,12 @@ $(function(){
|
|||||||
|
|
||||||
|
|
||||||
<b>ToDo:</b>
|
<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...
|
- interactive <i>path</i> element...
|
||||||
- <i>search</i> -- flat/deep
|
- <i>search</i> -- flat/deep
|
||||||
- <i>flat tree</i> render, one level at a time (a-la browse-walk.js / finder)
|
- <i>flat tree</i> render, one level at a time (a-la browse-walk.js / finder)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user