task

FEATURE 0789 - PhotoDisplay - Multiple images

[previously]

  1. FEATURE 0789 - photos - overview of this feature and development process
  2. > i] FEA UPDATE 0789 multiple images {L5}
    1. *] currently we can upload a single image for any {L5} record, article, item, ....
    2. *] WANT - ADD option to support multiple images for each record - 
    3. ] # MyHelper.generatePhotoTab() { // 3 options - no photo, single photo, multiple photos
  3. cc i] FEA UPDATE 0789 photo slideshow {L5} w/multiple images
    1. ] # displays multiple images in a a photo slider carosel control, 
  4. 2013-10-28 - 789 photos update - multiple photos, photo image gallery(yoxview) 
    1. x] photos[] -
    2. x] doc ready call yoxview(in pg script) -
    3. x] yox script linked - 
    4. x] generatorTab, 
    5. x] thumbnail code edited, - 
    6. ] DB table ALTER

[currently]

  1. x] ADD myHelper.generatePhotosTab
    1. x] single photo display
    2. x] multi photo display (links to each)
    3. x] no photos message 
  2. x] DB ALTER TABLES DB TEMPLATE -v-014
    1. x] expand photo field from char to varchar(4096) on tables ....
    2. > ] dont know if we need such a large block, (@avg filename.Length of (15char) would hold )
    3. *] field size / limits 
  3. x] DB INVENTORY - alter tables statement
    1. x] update db public
    2. x] update db_1, ..., db_9
    3. x] update db 10, ..., db 17
    4. x] update db 17 ...  
  4. x] PG add/{L5}
    1. ?] changes =  
  5. i] PG edit/{L5} UPDATES SUMMARY  - ] has photo, replace existing photo/s, ] has photo, add more photos, 
    1. x] 
    2. x] server logic - read current photos into array if multiple
    3. x] server logic ON POST - TEST for ] file && add ] file && replace ] no file , add to photos[] or 
    4. x] add checkbox for "add" or replace
    5. x] add client side code to toggle checkbox value 

  1. ] update PG edit/article
    1. x] first photo 
    2. x] has photo, OPTION ] add another,
      1.  x] added checkbox "add", default setting true, 
    3. i] has photo, OPTION ] replace with another 
      1. if user sets to false then REPLACES Photo/(s) with new photo,
    4. *] PRB if no photo then user adds, do we get "photo1"
  2. x] add test - check appendPhoto
    1. *] if appendPhoto, keep adding, ELSE replace with current photo
    2. x] PRB && Request["appendPhoto"].AsBool() - is not returning (REMEMBER test on value VS checked attrib)
    3. x] TRY  use value attribute
  3. x] logic first photo 
    1. ] PRB currently gets the "," "photoName" 
    2. ] REVISED 
      1. loaded "initial" string into arry, split string into elements,   
      2. write array to string using String.Join
  4. x] add checkbox 
    1. ] "id=appendPhoto", labelled* "Add", status = "checked"
  5. x] add client-side code "toggle checkbox - value" ?? checked
    1. x] true - adds photo to existing
    2. x] false - currently selected photo replaces existing photos ...

[next]

  1. ] on ADD 
    1. ] choose multiple photos at time 
    2. ] file picker box
  2. ] on EDIT
    1. ] replace single in list with filepicker (VS replacing entire list) OR manual edit
  3. ] ?? CODE BLOCK COMMENTS
    1. x] bouncing around, ADD to EACH edit-v-00# page (same code 6*, or keep here(1*) and reference from each edit-v-000# page

if (item.photos > 1 )

{

buildList();

}

else

{

displayPhoto();

}

 

]  http://dba.stackexchange.com/questions/386/what-is-the-difference-between-mysql-varchar-and-text-data-types

 

] FIX PRB step id=94

- ERROR ACCESS "users/public/ "

 

 

Details Photos Edit more

Details

ID: 2984

NAME: FEATURE-PhotoDisplay

DESCRIPTION: ADD option to support multiple images for each L5 record

START DATE TIME: 2013-10-30 09:24:40

EST DURATION: 01:00:00

END DATE TIME: 2013-10-30 10:24:40

STATUS: To-Do

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities