Comments (4)
Hi Fabio,
I was literally in the middle of checking for large member images as I saw your issue! In some cases I think the best solution will be replacing the image altogether, for example old members who have line drawing pictures rather than photos.
If you could leave your jpegoptim
settings in a comment that would be ideal so we can be sure that newly added images pass through the same process. You can create a PR as well (please PR into dev branch instead of master) if you'd like to submit the pre-shrunk images.
from webvoteview.
One other thing -- if you want to submit a PR, please rebase to the current dev branch. A few photos have been replaced in the last day and we wouldn't want to revert them to merge in the compressed versions.
from webvoteview.
Sure, I will add an PR with the script to compress the pictures with jpegoptim
so if the images are updated it could be run again.
I'll do it once I got home.
from webvoteview.
We're doing some major changes to our database schema right now. I've merged your PR and after we do the db changes I'll do the image compression. Thanks!
from webvoteview.
Related Issues (20)
- Fix party page for party 328 (independent) -- JS error [python3 only]
- Add congress codes to metadata
- Brush to select on Congress DW-NOMINATE plot shows NaN when selecting far-right
- Wikipedia key vote not an option on search facets
- Check or update service dates HOT 1
- Rewrite JS in modern-ish (ES6 or newer) Javascript
- Better link previews for rollcall votes
- Party bios should support HTML
- Trump vote on Gorsuch may be wrong
- Map download colors missing HOT 1
- Bulk vote download problem
- More friendly 500 error page
- Downloading zoomed map HOT 1
- Data downloads all 404 HOT 4
- Show member departures
- Add issue codes to csv files
- Scalia confirmation vote
- Load 97th Congress bill numbers
- Two bugs regarding member with DW-NOMINATE score of 0
- Wrong image for 19th-century congressman HOT 1
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 webvoteview.