replaceafill | th1a, zyt? | 00:12 |
---|---|---|
*** th1a has quit IRC | 00:52 | |
*** menesis has quit IRC | 00:58 | |
*** replaceafill has quit IRC | 01:01 | |
*** aks has joined #schooltool | 04:24 | |
*** alga has quit IRC | 04:35 | |
*** aks has quit IRC | 05:11 | |
*** aks has joined #schooltool | 05:11 | |
*** replaceafill has joined #schooltool | 06:03 | |
*** replaceafill has quit IRC | 08:10 | |
*** Lumiere has joined #schooltool | 09:41 | |
*** menesis has joined #schooltool | 11:09 | |
*** ignas has joined #schooltool | 11:24 | |
*** alga has joined #schooltool | 14:05 | |
*** yvl has quit IRC | 14:41 | |
*** th1a has joined #schooltool | 15:41 | |
*** aks has quit IRC | 16:13 | |
*** replaceafill has joined #schooltool | 16:30 | |
th1a | replaceafill: Photos look good. | 17:35 |
replaceafill | th1a, i'm working on yvl's suggestions (not found, css, etc) | 17:36 |
replaceafill | and i'll convert everything to png then | 17:36 |
th1a | Either that or jpeg. | 17:37 |
th1a | I'd think that'd be the most common incoming format. | 17:37 |
th1a | Don't most cameras output jpeg? | 17:37 |
replaceafill | yes | 17:37 |
th1a | It might be better to not re-compress unnecessarily. | 17:38 |
th1a | Is there an anti-jpeg argument? | 17:38 |
replaceafill | haven't seen one | 17:38 |
th1a | Lets make that the standard then. | 17:39 |
replaceafill | cool | 17:39 |
replaceafill | jpeg, 100% quality, antialias | 17:39 |
replaceafill | what about the size of the stored image | 17:39 |
replaceafill | i've been using 99x128 | 17:39 |
th1a | How'd you chose that? | 17:40 |
replaceafill | it's the area used in the person index view | 17:40 |
replaceafill | 99x128 is the same ratio of the password photo | 17:40 |
th1a | I can't think of anything in particular that would make it easier for the user. | 17:41 |
th1a | I guess we could make it match the aspect ratio of a standard camera image. | 17:42 |
replaceafill | 4:3? | 17:42 |
th1a | Yes. | 17:42 |
replaceafill | in portrait would be 3:4, yes? | 17:43 |
th1a | y | 17:43 |
th1a | It is just a slight switch. | 17:43 |
replaceafill | yes | 17:43 |
th1a | But probably we should do it. | 17:44 |
replaceafill | i also was thinking about putting a photo in a pdf report | 17:44 |
replaceafill | just to see how it looks | 17:44 |
th1a | Yes. | 17:44 |
th1a | Go ahead and try that. | 17:44 |
replaceafill | ok, i'll move to that next | 17:45 |
replaceafill | what about the hint and error message? | 17:45 |
replaceafill | http://69.164.203.135:6662/persons/add.html | 17:45 |
replaceafill | current hint: XXX Format, size, ratio hint XXX | 17:45 |
replaceafill | current error message: XXX The file uploaded is not an image XXX | 17:46 |
replaceafill | new error message: Please upload a valid (jpeg) image file? | 17:46 |
th1a | The error message is fine. | 17:46 |
replaceafill | ah ok | 17:46 |
th1a | Let's settle on the actual specifics before we finish the hint. | 17:47 |
replaceafill | i thought we were changing to "Please ..." kind of errors | 17:47 |
replaceafill | ok | 17:47 |
replaceafill | jpeg, 100% quality, antialias filter, 3:4 ratio | 17:47 |
replaceafill | width, height to store? | 17:47 |
th1a | Well, in this case it seems like plainly informative is more appropriate. | 17:47 |
replaceafill | ok | 17:47 |
th1a | I think the hint should be in the form of: | 17:48 |
th1a | "The image will be converted to... | 17:48 |
th1a | and | 17:48 |
th1a | "Uploaded images must be... | 17:49 |
th1a | (these formats, smaller than, etc.) | 17:50 |
replaceafill | "The image will be converted to an #x#px jpeg" | 17:50 |
th1a | Yes. | 17:51 |
th1a | Or, jpeg no larger than... | 17:51 |
* replaceafill changes the hint to see | 17:51 | |
replaceafill | th1a, http://69.164.203.135:6662/persons/add.html | 17:56 |
th1a | I'd add "(a 3:4 aspect ratio)." to the end of the first sentence and just put the max image sizes we're going to reject in the second sentence. | 17:59 |
*** Lumiere has quit IRC | 17:59 | |
th1a | Should we accept gifs? | 17:59 |
replaceafill | i'd like to test png and gifs with transparency converted to jpeg | 18:00 |
*** Lumiere has joined #schooltool | 18:02 | |
replaceafill | 5 MB for max size? | 18:02 |
replaceafill | the cameras i've seen spit like 2-4 MB jpeg files | 18:03 |
*** Lumiere has quit IRC | 18:04 | |
*** Lumiere has joined #schooltool | 18:04 | |
replaceafill | http://69.164.203.135:6662/persons/add.html | 18:04 |
replaceafill | th1a, i'll try to put the photo on the Student Report Card | 18:10 |
replaceafill | i think i could also do "scale images up, if they're smaller than desired size?" | 18:11 |
replaceafill | and center the uploaded photo in the same size | 18:11 |
replaceafill | ... image | 18:11 |
* replaceafill goes to take a shower | 18:37 | |
*** th1a has quit IRC | 19:08 | |
* replaceafill is back | 19:16 | |
*** aelkner has quit IRC | 19:22 | |
*** aelkner has joined #schooltool | 19:27 | |
*** th1a has joined #schooltool | 19:33 | |
th1a | replaceafill: Maybe just make it 10 MB so we're future-proof. | 19:41 |
replaceafill | th1a, ah ok | 19:41 |
th1a | Or... | 19:42 |
replaceafill | width and size to store? :) | 19:42 |
replaceafill | sorry, width and height | 19:42 |
th1a | When these are scaled down we do bring down the file size too, right? | 19:42 |
replaceafill | yes | 19:42 |
th1a | I always get confused by these things... | 19:42 |
replaceafill | a 99x128px image takes like 10k | 19:42 |
th1a | kk | 19:42 |
replaceafill | i mean the blob | 19:42 |
replaceafill | noooo!!!! | 19:51 |
replaceafill | :'''( | 19:52 |
replaceafill | the validation process comes after the data conversion process in z3c.form :( | 19:52 |
* replaceafill looks for a way to detect the upload size before processing its content... | 19:52 | |
*** ignas has quit IRC | 19:57 | |
th1a | lol | 19:57 |
replaceafill | got it :P | 19:57 |
replaceafill | i just wanted to use my fancy field validator U-U | 19:58 |
replaceafill | "The image uploaded cannot be larger than 10 MB" | 20:00 |
replaceafill | is that ok? | 20:00 |
replaceafill | for the error message | 20:00 |
th1a | That's ok, replaceafill. | 20:19 |
*** replaceafill has quit IRC | 22:02 | |
*** replaceafill has joined #schooltool | 22:15 | |
*** replaceafill has joined #schooltool | 22:15 | |
*** replaceafill has quit IRC | 22:17 | |
*** replaceafill has joined #schooltool | 22:18 | |
replaceafill | th1a, zyt? | 22:22 |
th1a | y | 22:22 |
replaceafill | want your opinion on something | 22:22 |
replaceafill | let me set it up | 22:22 |
th1a | kk | 22:23 |
replaceafill | http://69.164.203.135:6662/persons/student199 | 22:27 |
replaceafill | from a png with transparency | 22:27 |
replaceafill | http://69.164.203.135:6662/persons/student299 | 22:27 |
replaceafill | from a smaller jpg | 22:27 |
replaceafill | all photos are created now with the same dimensions | 22:28 |
replaceafill | using white background to center the resized image | 22:28 |
replaceafill | the ratio is not 3:4 yet | 22:28 |
th1a | Do you make the transparent part white? | 22:28 |
replaceafill | yes | 22:28 |
th1a | kk Seems good. | 22:29 |
replaceafill | cool, i'll put one on the report card now | 22:29 |
th1a | replaceafill: Hm... I have to decide if I'm just going to use SVG for data graphics. | 22:43 |
replaceafill | hhmm i guess it's better supported now than a year ago | 22:44 |
replaceafill | i mean, in the browsers | 22:44 |
th1a | I guess the problem is you need IE 9 which doesn't run on XP. | 22:44 |
replaceafill | right | 22:44 |
replaceafill | but firefox 10 does ;) | 22:44 |
th1a | Do you know this site: http://caniuse.com/#feat=svg | 22:44 |
replaceafill | no, but it's nice | 22:45 |
replaceafill | i used http://quirksmode.org/ for css3 | 22:46 |
replaceafill | but this one has more info | 22:46 |
th1a | I think I'm just going to have to plow ahead with it. | 22:46 |
th1a | Or else not really do cool data graphics at all! | 22:47 |
replaceafill | :D | 22:47 |
replaceafill | th1a, i think this is clearer: | 23:05 |
replaceafill | http://69.164.203.135:6662/persons/student199/@@edit.html | 23:05 |
replaceafill | right? | 23:05 |
th1a | Clearer than? | 23:05 |
replaceafill | the checkbox below the file input | 23:05 |
th1a | That seems fine. | 23:06 |
replaceafill | kk | 23:06 |
replaceafill | so, report cards are generated from report sheets...? | 23:52 |
* replaceafill goes read the book | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!