Comments (10)
@Khanhtran47 mà cái repo remix-image buồn cười phết, mấy cái dev-dependencies nó bỏ vô chung với dependency thường luôn 🦊
@ctuanle ừ code chính của cha khác lm mà, thằng ni lấy về lm lại thành cái package thui
https://gist.github.com/jacob-ebey/3a37a86307de9ef22f47aae2e593b56f
from sora.
kiểu như cái ảnh ni render ra cái khung là 215x340 mà ảnh từ tmdb size là 342x513, cái remix-image nó lm cái server render lại ảnh cho đúng size của khung
@Khanhtran47 ra vậy, mà chắc k sao đâu, lên web xem phim thì phải tính trước là mất nhiều data rồi, cho rõ nét tí mới thích 😅
from sora.
@ctuanle cái remix-image, t định xài cái hook của hấn để lm responsive file ảnh cho đúng với cái size hiển thị trên web ý, đều nản vãi, cái hook của hấn bắt buộc phải bỏ vào img, k chạy để lấy link đc, với thẻ Image bên Nextui k chèn props vào đc, nó cứ bị gì ý -.-
from sora.
cái remix-image, t định xài cái hook của hấn để lm responsive file ảnh cho đúng với cái size hiển thị trên web ý, đều nản vãi, cái hook của hấn bắt buộc phải bỏ vào img, k chạy để lấy link đc
@Khanhtran47 cái repo đó được có gần 200 commits à, code lại 1 cái cho tiện 🤖
với thẻ Image bên Nextui k chèn props vào đc, nó cứ bị gì ý -.-
thử bỏ trong 1 cái wrapper xem thử
from sora.
@ctuanle kiểu cái Image bên Nextui ý hấn render ra 1 thẻ div bao quanh 1 thẻ img ở bên trong rứa, chắc mò cái ni sau chơ phức tạp vại -.- kiểu phải lm lại cái component Image khác dựa theo Image của Nextui rồi lấy props bth của thẻ img, tạo thêm cái props của bên remix-image rồi truyền vào các kiểu, lm đều còn chỉnh type các thứ nữa, k bt đường mà lần luôn -.-
from sora.
@Khanhtran47 cực hè, mà t thấy tmdb nó có source resize sẵn rồi mà, vẫn k đủ à
from sora.
@Khanhtran47 cực hè, mà t thấy tmdb nó có source resize sẵn rồi mà, vẫn k đủ à
@ctuanle ừ t để lại theo size nhỏ hơn của tmdb rồi đều cái trên hấn tối ưu lại ảnh theo cái khung của mình luôn
thề lâu h để original, nó load cho 1 đống ảnh toàn trên 1mb trách chi lag lag 😅
from sora.
@Khanhtran47 mấy cái tối ưu bên frontend này t chưa mò tới lần nào nên cũng không rành nữa 😅
from sora.
@Khanhtran47 mà cái repo remix-image buồn cười phết, mấy cái dev-dependencies nó bỏ vô chung với dependency thường luôn 🦊
from sora.
@ctuanle kiểu như cái ảnh ni render ra cái khung là 215x340 mà ảnh từ tmdb size là 342x513, cái remix-image nó lm cái server render lại ảnh cho đúng size của khung
from sora.
Related Issues (20)
- user
- Loklok API URL HOT 1
- Please help me create a user account HOT 6
- Email verification
- Account and Player Settings HOT 1
- anime OP/ED skip HOT 1
- Error SQLITE HOT 4
- Loklok API HOT 11
- BUG REPORT HOT 4
- Where is the site admin located? HOT 1
- Loklok not working HOT 1
- nothing is playing HOT 1
- ANIME HD streaming does not work, takes forever to load
- `Player` bgColor 🥲 HOT 2
- Loklok not working HOT 1
- Xin source code của proxy api HOT 5
- thêm tiếng việt đi bác ơi
- How to deploy to vercel?
- Tried to deploy on vercel but didn't work whats the solution
- Bug API?
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 sora.