Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, you could get the size of the images at indexing time, and return that in the search result.


You are assuming that I actually load the image at index time: I'm really only indexing the file name.

And getting the width/height of a minimized SVG requires rendering it (or at least more SVG mojo than I possess).


He's suggesting your index store the filename, height & width, and retrieve all 3 on search




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: