**** BEGIN LOGGING AT Tue May 28 03:00:00 2013 May 28 13:38:32 got a problem with the scrim disappearing May 28 13:39:02 seems if we destroy the control that it initally is used on we can't bring it back, is it like the modal popups you can't destroy without it screwing things up **** BEGIN LOGGING AT Tue May 28 14:16:22 2013 May 28 15:49:11 hey all May 28 16:33:46 hi GodGinrai May 28 16:34:20 hey summatusmentis. How was your weekend? May 28 16:35:44 pretty good, my family was in town, and I got to see a friend from undergrad who lives in a different state May 28 16:38:34 nice May 28 16:42:57 indeed May 28 16:51:06 hey Roy__away, is that your PowerPoint for the O'Reilly Fluent conference that I found on Google? Because if so, I don't think the example package.js in the slides is working code. May 28 16:52:18 ah, that was from 2012 May 28 16:52:55 thought it was for this year. Also, just noticed it lists Ben there on the title slide. <.< May 28 16:57:00 So, summatusmentis, how's your Enyo code coming? May 28 16:57:21 I'm working on re-designing the UI mechanisms so it's cleaner May 28 16:57:40 Also, love your nick because my Pre3 doesn't even attempt to correct it even though it doesn't recognize it.. :) May 28 16:57:45 ah, neat May 28 16:58:03 hah :) May 28 16:58:26 yeah, it's ok, I'm just trying to figure out whatthe best UI for our form-type thing is May 28 16:59:39 yea, there's a lot of different ways to take it May 28 17:10:54 do you use any of the scrollTo* functions on a List? May 28 17:11:40 either scrollToEnd() or scrollToRow(endIndex) seems to jump past the end index if the list is shorter than the height allotted May 28 17:21:22 I don't use List, remember? May 28 17:21:44 anyway, what do you mean by if the List is shorter than the height alotted? May 28 17:22:52 if there are fewer items in the list, so it doesn't need to scroll to bottom May 28 17:22:59 right, I forgot you're not using List May 28 17:34:59 i need some css advice. May 28 17:35:05 not enyo related, but you guys can probably help May 28 17:35:26 i have a div, with an image inside that div. the image will be a randomly sized image. May 28 17:35:31 sure thing, HaDAk May 28 17:35:41 i need to vertically center the image. May 28 17:35:49 i've tried several methods, but nothing seems to work May 28 17:36:15 HaDAk: use margin: auto on the img May 28 17:36:22 oh wait May 28 17:36:26 vertically May 28 17:36:29 lol May 28 17:36:35 ignore that May 28 17:37:07 yeah May 28 17:38:08 vertical alignment is a tough thing to do in CSS. There are many ways to do it, but not one specific way that works in all cases May 28 17:38:18 what about with jquery? May 28 17:38:29 I'd need to know more to know what to suggest May 28 17:38:39 http://beta.hanskokx.com May 28 17:38:39 jQuery would not help at all May 28 17:39:03 ok May 28 17:39:11 m looking at it May 28 17:39:18 *I'm May 28 17:39:20 you'll have to click either left or right to see May 28 17:39:46 ok May 28 17:39:53 I see double images May 28 17:39:58 is that intended? May 28 17:39:59 correct May 28 17:40:00 yes. May 28 17:40:04 k May 28 17:40:37 and you want the smaller one to be centered vertically? May 28 17:43:17 yes May 28 17:47:13 looking at it right now May 28 17:48:02 fwiw, the background image will be blurred. just working on a less intensive process of doing that. May 28 17:48:09 probably server-side instead of clientside May 28 17:48:21 k May 28 17:50:20 what are your browser requirements? May 28 17:50:25 for this site May 28 17:52:32 presently, quite modern May 28 17:52:38 it doesn't load in IE8. May 28 17:52:43 it loads in firefox, safari and chrome May 28 17:52:46 that's good enough for me for now May 28 17:52:50 quit refreshing May 28 17:52:53 i broke it :P May 28 17:52:58 lol May 28 17:54:07 * GodGinrai hits refresh again May 28 17:54:09 :P May 28 17:56:16 you can refresh now May 28 17:56:24 background image is still broken, but i'm working on it :P May 28 18:01:35 So, if you're fine w/ saying screw you to IE, then the simplest method would be to use Flexboxes May 28 18:09:36 interesting May 28 18:09:47 omfg, why is php.net donw? May 28 18:09:49 this sucks. May 28 18:12:53 HaDAk: try us3.php.net May 28 18:15:14 god, php is frustrating. May 28 18:15:33 lol, how so? May 28 18:15:37 PHP is so easy May 28 18:15:37 i just want to server side blur an image. why can't it apply the transform to an existing image? why do i need to create a resource out of it first? May 28 18:15:55 well, tell me how to use imageconvolution() then :P May 28 18:16:21 $gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 4.0, 2.0), array(1.0, 2.0, 1.0)); May 28 18:16:21 $image = imagecreatefromjpeg("./images/slideshow/CRW_9237-Edit.jpg"); May 28 18:16:21 echo ''; May 28 18:16:25 cause that doesn't work May 28 18:16:45 well, i also added testing imagejpeg() in there. that doesn't help. hah. May 28 18:16:56 replace imagejpeg() with $image. still doesn't work. May 28 18:17:11 why not use the imagick PHP stuff instead? May 28 18:17:29 i'm not opposed May 28 18:17:32 it even has a function called: Imagick::blurImage May 28 18:17:43 i saw that, but couldn't find an example…cause php.net is being a douche May 28 18:18:18 like I said May 28 18:18:24 use the us3 mirrorr May 28 18:18:25 yeah. i just tried that May 28 18:18:28 it's up. May 28 18:18:31 :) May 28 18:20:32 also, echoing HTML tags is just begging for syntax errors May 28 18:21:36 Stick with leaving PHP to print stuff, or if you must use echo (which you really shouldn't need to), then use heredoc syntax May 28 18:22:02 not familiar May 28 18:22:06 also, imagemagick just shit all over me May 28 18:22:08 http://beta.hanskokx.com/test.php May 28 18:22:40 lol May 28 18:23:02 what's your code? May 28 18:23:14 i think i need to wrap that in another function May 28 18:25:08 $image = new Imagick("./images/slideshow/CRW_9237-Edit.jpg"); May 28 18:25:09 $image->blurImage(5,3); May 28 18:25:09 echo ''; May 28 18:25:18 [Tue May 28 14:24:55 2013] [error] [client 71.227.127.64] PHP Warning: Imagick::displayimage() expects exactly 1 parameter, 0 given in /var/www/hanskokx-beta/test.php on line 4 May 28 18:25:27 oh, i think i know. May 28 18:26:10 yeah, nope. May 28 18:26:12 it hates that too May 28 18:26:17 that's not how displayImage works May 28 18:26:23 well, idfk May 28 18:26:26 >.> May 28 18:26:33 that's for displaying the image on an X Server May 28 18:26:40 that would explain the next error May 28 18:26:41 LOL May 28 18:27:00 ok, so what do i need to use to display the garbage it spits out as an image? May 28 18:27:33 well, there's a couple of ways to do it May 28 18:27:42 depending on how you want to do it May 28 18:28:01 i'd prefer not to write a new file. having base64 in the source is fine for me May 28 18:28:13 if you just print $image, with nothing else printed, that will give you an image May 28 18:28:55 they show that in the example for blurImage May 28 18:29:26 $image = new Imagick("./images/slideshow/CRW_9237-Edit.jpg"); May 28 18:29:27 $image->blurImage(5,3); May 28 18:29:27 echo $image; May 28 18:29:30 that gives me garbage. May 28 18:29:37 http://beta.hanskokx.com/test.php May 28 18:30:04 and that's the only code for the page? May 28 18:30:08 yes May 28 18:30:26 you forgot the header call May 28 18:30:47 header('Content-type: image/jpeg'); May 28 18:30:53 ok, that worked May 28 18:31:01 :) May 28 18:31:07 what happens when i try to put this in my page? will header fuck with it? May 28 18:31:29 if you do what I think you are thinking, yes May 28 18:31:39 don't put this in your page May 28 18:32:00 ;) May 28 18:32:01 instead, make it take a GET parameter and know the filename based on that May 28 18:32:33 that way, that test.php (or you can call it image.php or something) can create each image May 28 18:32:51 then, in your main page, you would just have: May 28 18:33:26 the CSS refer to the PHP file with the correct parameter May 28 18:34:13 for example, if you were trying to use an img tag to display the image, it would look like this: May 28 18:34:46 May 28 18:41:37 i broke something else now May 28 18:41:38 wtf. May 28 18:44:38 bitchin May 28 18:44:40 it works :) May 28 18:44:46 http://beta.hanskokx.com May 28 18:44:59 i just need to put a scrim while it loads May 28 18:45:05 and figure out how to vertically center the image May 28 18:45:38 also, i need to figure out how to preload all the images May 28 18:46:56 that affect is weird on the image viewer May 28 18:47:10 the "center the image on top of the same image in the background" May 28 18:47:25 cool cool :) May 28 18:47:42 summatusmentis: he wants it in the center May 28 18:47:50 that was his original question May 28 18:48:00 I get that, I just find the whole "double image" thing distracting May 28 18:48:32 but, maybe that's just me May 28 18:48:33 it looks better centered, I can vouch for it May 28 18:50:53 btw HaDAk, how come you're not using Enyo for this Imageviewer? May 28 18:51:59 i don't know enyo that well, nor how to integrate enyo and php May 28 18:52:23 if you'd like to help me convert it at some point, i'd be up for the learning excercise May 28 18:52:44 yea, I'd love to May 28 18:53:07 All the stuff I've been doing is Enyo front-end and PHP backend. May 28 18:53:18 that sounds ideal May 28 18:53:26 damn autocorrect. It's frontend May 28 18:53:41 and i think i can still mix and match enyo and jquery May 28 18:53:46 since this uses some jquery May 28 18:53:56 or, i *may* not need to May 28 18:54:01 the image flipping (arrows) is jquery May 28 18:54:44 by flipping, you mean switching between the images, right? May 28 18:54:48 yeah May 28 18:55:07 although, if enyo can accomplish it, it would make my life easier…cause i want to be able to drag between images too May 28 18:55:11 which it currently does not do May 28 18:55:24 enyo can May 28 18:55:32 i KNOW enyo can :P May 28 18:55:33 Enyo has an Imageviewer called: enyo.ImageView May 28 18:56:05 is there a demo in the sampler? May 28 18:56:11 yes May 28 18:56:38 Layout>Image View May 28 18:56:54 that's for one image May 28 18:57:16 ImageCarousel does what you are wanting, using multiple ImageViews May 28 18:57:27 yeah, image carousel is much better May 28 18:57:45 instead of an image, i want what i've already put together though May 28 18:58:27 what do you mean? May 28 18:58:34 with the blurred image May 28 18:58:41 doesn't this just display a .jpg or whateveR? May 28 18:58:44 i want a div there May 28 18:59:35 No, the ImageCarousel and ImageViews are not simple img tags May 28 18:59:39 ok May 28 18:59:42 that's what enyo.Image is May 28 19:01:39 aha May 28 19:01:45 well, it sounds very doable May 28 19:02:06 yep May 28 20:37:17 Did I miss anything while it apparently had me disconnected? May 28 21:22:10 leaving work, I'll be on later. **** ENDING LOGGING AT Wed May 29 02:59:58 2013