News for hackers. Stuff that matters.
Re:Ask YC: Feedback please - Actual size visualization webapp. by bouncingsoul on Monday September 22, 2008 @12:05PM (#311273)
Dude, make this work with online shopping.

This is probably hard since most product shots are perspective, but it would be awesome if I could point to an image at some online store and type in the dimensions and you scaled that photo to actual size.

Here's a product category where it'd be useful (and where the photos are mostly straight on): http://www.amazon.com/Canon-PowerShot-SD1000-Digital-Optical...

Re:Ask YC: Feedback please - Actual size visualization webapp. by prakash on Monday September 22, 2008 @02:21PM (#311437)
Extending the online shopping idea a bit, this would be of great use for folks buying jewelry, watches, etc. online.

Let's say you are buying a watch, amazon has images, but those are not actual sizes; although amazon lists the dimensions separately. Having the actual image size would, in my opinion increase sales in this category.

Also, check if you can integrate any of this with like.com.

Good idea, good luck!

Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @12:16PM (#311292)
Amazon does have an API with access to a front-shot image and dimensions.

If I could figure out the bounds of the product (in the image), then I could automate the whole process.

Re:Ask YC: Feedback please - Actual size visualization webapp. by LogicHoleFlaw on Monday September 22, 2008 @12:58PM (#311341)
You could do great things with macro-photography here.
Re:Ask YC: Feedback please - Actual size visualization webapp. by gz on Monday September 22, 2008 @11:18AM (#311206)
Can you use the User-Agent string is some intelligent way to guess the screen size instead of asking me to enter it?

Also, might be nice if you had some presets like, say, Macbook, Macbook pro, etc.

Re:Ask YC: Feedback please - Actual size visualization webapp. by shawndrost on Monday September 22, 2008 @07:13PM (#311737)
Maybe the best solution would be to show a scalable picture of some coins, and ask them to hold a coin up to the screen make the image output the real size.
Re:Ask YC: Feedback please - Actual size visualization webapp. by zach on Monday September 22, 2008 @07:41PM (#311772)
I thought of that, but it doesn't internationalize well. A USB plug is probably more universal but a little weird.
Re:Ask YC: Feedback please - Actual size visualization webapp. by asmosoinio on Monday September 22, 2008 @10:26PM (#311945)
For me screen size worked fine. This would be a lot slower than the current functionality, right?

Maybe have such a system as a back up, for fine tuning. Credit card would work for me, I always have some odd card in my wallet with me.

Re:Ask YC: Feedback please - Actual size visualization webapp. by mbleigh on Monday September 22, 2008 @11:10AM (#311197)
Haha, I love the concept! I'm not sure how often I'd go back and visit, but it was certainly an amusing little distraction.
Re:Ask YC: Feedback please - Actual size visualization webapp. by iamdave on Monday September 22, 2008 @11:13AM (#311198)
Agreed, I'd love hear what you used for the back-end in rendering the image sizes.
Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @11:17AM (#311203)
Well, it's essentially Javascript.

It stores the ppi (pixels per inch) of the image, and the ppi of the screen and scales accordingly

Re:Ask YC: Feedback please - Actual size visualization webapp. by zach on Monday September 22, 2008 @02:51PM (#311479)
This is an idea I toyed with but could never bring myself to implement once I realized its most popular probable use. If you want to email (see my profile), I have a suggestion for a domain name that does not involve the word "size" or "big."

Also, forget the "screen size" thing. Just use physical measurements in CSS ("width: 1cm") - it works remarkably well on a variety of browsers.

Re:Ask YC: Feedback please - Actual size visualization webapp. by iigs on Monday September 22, 2008 @07:54PM (#311791)
That fails rather dramatically (approximately .7x reality) on my machine.

If it furthers the matter, I'm on a ThinkPad T60p (15" UXGA), XP, Google Chrome (verified in Opera as well)

Pretty cool site, though. I was pleased that the several things I tested were sized as accurately as they were.

Re:Ask YC: Feedback please - Actual size visualization webapp. by maxklein on Monday September 22, 2008 @11:22AM (#311211)
Heh, this is really cool. But after playing with it a bit, there's not really much to come back to.

You remember that graphic a long time ago that uses to be on the web that showed the relative sizes of different spaceships (like star trek enteprise etc). That was amusing, and if you had something like that regularly coming up, I'd put you in my rss feed. Amuse me.

But otherwise, it's really nicely done, and it does what it is supposed to do properly. I like it.

(Just think of adding some reason why I would want to go back)

Re:Ask YC: Feedback please - Actual size visualization webapp. by zach on Monday September 22, 2008 @07:43PM (#311778)
The real use of this kind of site is for new gadgets. If you can compare things to the size of an iPod, deck of cards, etc. it makes for a nice feature on a news story for an upcoming gizmo.
Re:Ask YC: Feedback please - Actual size visualization webapp. by brk on Monday September 22, 2008 @12:00PM (#311268)
The images never seemed to load for me. But it appears that it creates a scaled version of what you selected based on your monitor size?

Would be helpful to build up a product comparison database, so that I can compare the new cellphone I am thinking about buying to my existing phone to get a real-world idea of the dimensions.

Suggestion for allowing people to catalog their own stuff: create a printable template that I can print out and photograph my object along with a reference item (us dollar, quarter, etc). Between the reference item and the printed grid you should be able to work out the dimensions of the photographed object. You could probably get a massive social effect from people photographing and cataloging their various objects.

Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @12:02PM (#311269)
The images never seemed to load for me. But it appears that it creates a scaled version of what you selected based on your monitor size?

Do you have cookies disabled ?

Yes, it does scale based on the monitor size to give you the actual size.

Re:Ask YC: Feedback please - Actual size visualization webapp. by brk on Monday September 22, 2008 @12:21PM (#311301)
No, I have cookies enabled. They finally loaded after a very long wait. Seemed like your site was sending connections to odd places (wikipedia.org, etc).
Re:Ask YC: Feedback please - Actual size visualization webapp. by mrtron on Monday September 22, 2008 @11:16AM (#311200)
Very interesting site - the interface is very clean and works well.

Nicely done!

Maybe have the threshold for abuse a bit higher (I added the giant cookie and reported it for abuse).

Re:Ask YC: Feedback please - Actual size visualization webapp. by jonknee on Monday September 22, 2008 @05:05PM (#311639)
The size is way off for me. Tried on my Mac Book Pro's 15" screen and the batteries are huge, a good 50% bigger than real life. I'd imagine you would need to get screen size and DPI to accurately resize the images. Perhaps you could have a sample image (like the AA batteries) along with a slider to allow the user to set the exact ratio.
Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @11:06PM (#311987)
Perhaps you've disabled your screen resolution tracking (screen.width / screen.height).

To calculate the DPI it uses the screen resolution (pixels) and your reported screen size (inches), if either is missing it would fail to work (for now).

Re:Ask YC: Feedback please - Actual size visualization webapp. by jonknee on Tuesday September 23, 2008 @11:55AM (#312480)
Safari might not report it, because I haven't changed anything (I wouldn't even know where to change that in Safari). I checked in FireFox and it was much closer to reality.

Update: Safari does report it, so it looks to be another issue. Perhaps a bug in the scaling for Safari?

Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Wednesday September 24, 2008 @09:38PM (#314359)
Yes, perhaps it is a bug in Safari. Thanks for the report.

Edit - It might be the way Safari handles onload - https://bugs.webkit.org/show_bug.cgi?id=13241

Re:Ask YC: Feedback please - Actual size visualization webapp. by cmos on Monday September 22, 2008 @11:57AM (#311261)
Add a 'scale' slider or buttons at the bottom. Then offer this service to companies that want to show pictures of their goods in 'actual size', with the scale used for larger objects.

Perhaps might have some traction in the 'adult entertainment' category.

Re:Ask YC: Feedback please - Actual size visualization webapp. by s3graham on Monday September 22, 2008 @10:19PM (#311934)
CD was about right, but 360 controller was off by > 2x. "Image" bug, or site bug?
Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @10:44PM (#311957)
It was user submitted, so neither :)
Re:Ask YC: Feedback please - Actual size visualization webapp. by tptacek on Monday September 22, 2008 @09:42PM (#311904)
Matched my Macbook screen size to a CD by holding a real CD up to the screen. Every other picture is now way off; for instance, credit cards are 1/3 too small, but an Xbox controller is too big to get my hand around.
Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @11:01PM (#311981)
Perhaps you've disabled your screen resolution tracking (screen.width / screen.height).

To calculate the DPI it uses the screen resolution (pixels) and your reported screen size (inches), if either is missing it would fail to work (for now).

Re:Ask YC: Feedback please - Actual size visualization webapp. by tptacek on Monday September 22, 2008 @11:47PM (#312023)
I can disable that? How do I do that?
Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Tuesday September 23, 2008 @12:12AM (#312043)
The Statcounter logs show Unknown resolution for a lot of the machines.

I'm not sure if that can be disabled or not or is system dependent. (I'm assuming every system reports it correctly as of now).

If your system reports the resolution correctly here - http://andylangton.co.uk/articles/javascript/browser-screen-... - then it must be some other bug.

Re:Ask YC: Feedback please - Actual size visualization webapp. by tesseract on Monday September 22, 2008 @11:01PM (#311980)
I submitted an image of the Hindenburg. The horizontal scaling actually seems to work, but without a vertical scrollbar I can't see the image. (Safari)
Re:Ask YC: Feedback please - Actual size visualization webapp. by ComputerGuru on Monday September 22, 2008 @01:30PM (#311381)
It's really neat, but your domain name really needs to be thought through....
Re:Ask YC: Feedback please - Actual size visualization webapp. by staunch on Monday September 22, 2008 @11:34AM (#311231)
It thinks my 20" LCD is 22". I'm flattered!
Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @11:41AM (#311239)
Do you mean the "Adapted for a XX screen" figure ?
Re:Ask YC: Feedback please - Actual size visualization webapp. by boredguy8 on Monday September 22, 2008 @12:48PM (#311330)
Yes. I'm in the same boat. I have a Dell widescreen 20".
Re:Ask YC: Feedback please - Actual size visualization webapp. by paraschopra on Tuesday September 23, 2008 @02:23AM (#312150)
How will you make money?
Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Wednesday September 24, 2008 @11:05PM (#314464)
Not thought through, but an affiliate program (Amazon) might make sense.
Re:Ask YC: Feedback please - Actual size visualization webapp. by alexkay on Monday September 22, 2008 @07:49PM (#311787)
Monitors with the same diagonal can have vastly different DPI resolution.

Other than that, a very nice website.

Re:Ask YC: Feedback please - Actual size visualization webapp. by ptm on Monday September 22, 2008 @10:49PM (#311962)
Of course, it does take into account both physical size (inch) and screen resolution (pixels) to calculate DPI.