Closed ghost closed 10 years ago
I have an initial attempt for this, of course it is going to require some modifications to the GeoNode core. This needs a lot more testing before getting included into core.
Dependencies (ubuntu):
apt-get install imagemagick
)Mac:
brew install imagemagick
The commit: https://github.com/garnertb/geonode/commit/9ed700b97b26d515607e2dec1519812d741db1cb
NICE! is it not doing the full page thumbnail? Cant tell from this screenshot.
On Thu, Nov 21, 2013 at 8:57 AM, Tyler Garner notifications@github.comwrote:
I have an initial attempt for this, of course it is going to require some modifications to the GeoNode core. This needs a lot more testing before getting included into core.
Dependencies (ubuntu):
- Imagemagick installed on the box. (apt-get install imagemagick)
- The Wand python library.
Mac:
- brew install imagemagick
- Install the Ghostscript dmg ( https://www.macupdate.com/app/mac/9980/gpl-ghostscript)
- The Wand python library.
The commit: garnertb/geonode@9ed700bhttps://github.com/garnertb/geonode/commit/9ed700b97b26d515607e2dec1519812d741db1cb
[image: screen shot 2013-11-21 at 11 03 05 am]https://f.cloud.github.com/assets/1141646/1593236/7f755588-52c8-11e3-957a-2e36c506405b.png
— Reply to this email directly or view it on GitHubhttps://github.com/ingenieroariel/yolanda/issues/8#issuecomment-29001686 .
No, is that preferable? This approach reduces the image by 50% and then takes the first 200 x 150px.
It would be nice to see the whole page, just scale it down to fit no matter what the original size (think big huge uploaded PDFs of maps). Guess we have to get the original size somehow, not sure how best to do that.
On Thu, Nov 21, 2013 at 9:58 AM, Tyler Garner notifications@github.comwrote:
No, is that preferable? This approach reduces the image by 50% and then takes the first 200 x 150px.
— Reply to this email directly or view it on GitHubhttps://github.com/ingenieroariel/yolanda/issues/8#issuecomment-29007179 .
I actually kind of like Tyler's approach, looks similar to what gmail is doing nowadays. It does not tell you everything about the document but gives a good enough glimpse.
On Thu, Nov 21, 2013 at 1:02 PM, Jeffrey Johnson notifications@github.comwrote:
It would be nice to see the whole page, just scale it down to fit no matter what the original size (think big huge uploaded PDFs of maps). Guess we have to get the original size somehow, not sure how best to do that.
On Thu, Nov 21, 2013 at 9:58 AM, Tyler Garner notifications@github.comwrote:
No, is that preferable? This approach reduces the image by 50% and then takes the first 200 x 150px.
— Reply to this email directly or view it on GitHub< https://github.com/ingenieroariel/yolanda/issues/8#issuecomment-29007179> .
— Reply to this email directly or view it on GitHubhttps://github.com/ingenieroariel/yolanda/issues/8#issuecomment-29007529 .
I will take care of deploying this to the production box today.
Thanks Ariel, should we create an official fork of GeoNode for these immediate core improvements?
We need to generate thumbnails of docs if it can be done (for PDF etc)