Comments (5)
@lstearns86 something for you to think about as you implement the pubs page.
from makeabilitylabwebsite.
This is unnecessary with the easy_thumbnails library, currently used on the People page. You can just upload the image at the largest size expected to be displayed, and then call "{% thumbnail object.image ###x### box=object.cropping crop detail %}". The cropped and resized thumbnails are generated the first time they are accessed.
from makeabilitylabwebsite.
So this part ("{% thumbnail object.image ###x### box=object.cropping crop detail %}") occurs on server side--that's Django template code?
from makeabilitylabwebsite.
Yes, that goes in the template, and tells the server how it should crop and resize the image. There are several additional options, which are described here: http://easy-thumbnails.readthedocs.io/en/2.1/.
from makeabilitylabwebsite.
I'm closing this because it seems like the easy_thumbnails library addresses this issue.
from makeabilitylabwebsite.
Related Issues (20)
- Mouse cursor on hover over citation should be a pointer
- Add icons to pub download bar
- Talks should be default listed by date (most recent first)
- Something is going wrong with changing pub fields and having the pdf renamed HOT 3
- Add PDF thumbnail and first author to pub listing
- Landing page projects should all be same size but are not HOT 1
- Publication title should be hyperlinked
- Need to associate grants with projects and not sponsors
- Remove Project Headers HOT 1
- Add in ability to list PIs, Co-PIs, and Student Leaders on project admin page
- Banner videos are not currently working on project pages HOT 1
- Change Recent to Related?
- Google not indexing the Makeability Lab website HOT 4
- Add "Previous Student Lead(s)" to project pages
- Check if all PacTrans proposals are in the system
- Add medical doctor and med student as titles
- News entries on member pages are not linked correctly HOT 2
- Add ArXiV link to pubs
- Search broken on videos admin page
- All images on Makeability Lab website are broken HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makeabilitylabwebsite.