Comments (4)
To come back on your own comment:
Yep, because if you really think about it, flag icons are a UI/View
problem.
If you use the thumbnail url as a background-image
inline. And in CSS a fallback url background-image
. You have no problems with this.
CSS:
.roomimg{
background-image:url(xxx.png);
}
HTML:
<div class="roomimg" style="background-image:url(thumbnail_url.png)"></div>
So my conclusion, it's a UI/View problem. And easy to fix for a user/developer.
from habboapi.
Yeah, I'm also reconsidering the flag thing. Not necessarily to start using hhus
, but to have a little helper function that can transform com
to hhus
and vice versa.
The background image is a good idea. But that doesn't work for normal images (without JS).
But the main problem I find is that Habbo (and thus we as well) return a fully valid HTTPS URL, but then in the end.. it doesn't even work. The ideal situation would be Habbo returning null
.
The next best situation would maybe be that our HabboAPI is more user-friendly?
from habboapi.
But that doesn't work for normal images (without JS).
Image element is so unfriendly elements in HTML, I recommend to drop this and start using background-images. (But this is my opinion.)
from habboapi.
Closing this particularly issue, the actual functionality might be built in #15.
from habboapi.
Related Issues (20)
- Online Counter & Habbo-Build HOT 8
- Habbo Mall API HOT 3
- API for Rooms HOT 2
- Group Badge Hash HOT 1
- Dissect clothes and colours from figurestring HOT 6
- Sulake API wishlist HOT 2
- HabboParser('de')? HOT 4
- Room leaderboard
- Calling /members of big groups always returns {"error":"maintenance"} HOT 4
- FigureString Gender HOT 2
- Accept Turkish User names HOT 2
- Some hotels are blocked by DOSarrest HOT 1
- Members of a group HOT 1
- DOSArrest is blocking API calls to Habbo.nl HOT 5
- Update Carbon and/or allow newer versions HOT 2
- Special character problem in username HOT 4
- Investigate Habbo X hotel
- Habbo API hotel issues HOT 2
- check banned user? HOT 1
- Hello habbo api room user list (chooser)
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 habboapi.