PKP Bugzilla – Bug 5307
Create "real" thumbnails for image covers in archive view
Last modified: 2013-05-29 16:21:44 PDT
I know this was already reported (and resolved as "fixed") in http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3249 (and the somewhat related http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=3422) but I think that the solution could be vastly improved. In the issue/archive view, cover images for past issues are scaled only with CSS, so the full resolution images are still being downloaded. This presents two problems: 1) The scaled image generally looks really bad. Even in modern browsers, a very poor antialias is applied, so the resulting image is awfully pixelated. 2) Downloading the full image results in a high bandwidth consumption. While this might not be a big problem for who is hosting the journal, it's a real pain for the user who's trying to navigate through the archive. I know this is probably not in the top development priorities, but I think we can be smarter and use existing solutions to create image thumbnails. Right now, I'm re-designing the site for a psychology journal and found this interesting script: http://code.google.com/p/timthumb/ Threw it in the public directory (probably not the best way to do it, but it works) and it's already working I think it's something that could be useful for most people. Images are created dynamically with GET requests and the desired arguments, such as width, height, compression quality, crop. And it even keeps a cached copy, so it won't regenerate images on every page view. And its GPL licensed, so there's no problem to include it. I hope this could help Felipe Lavín
Felipe, agreed on both points -- this would be good to add. Do you have a patch to add it?
Superseded by OJS 3.0 work.