View Single Post
Old 02-11-2016, 09:55 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,408
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You only have access to information stored in the db in template functions. This is for performance reasons, templates are evaluated everytime you move around in the book list. Since cover dimensions are not stored in the db, trying to access them with a template is not a good idea. Instead I would suggest you create a plugin, that populates a custom column with the information when run.
kovidgoyal is online now   Reply With Quote