4 ms·
Yeah, you could get the size of the images at indexing time, and return that in the search result.
by EmilStenstrom 6y ago
Yeah, you could get the size of the images at indexing time, and return that in the search result.
- Fileformat 6y agoYou 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).
- setr 6y agoHe's suggesting your index store the filename, height & width, and retrieve all 3 on search