@phenomlab oh no, that is 1 cent on the video, but you are right, symbols are similar… I just converted it to $1 , since it is more intuitive in daily life…
How to fix size of photos & videos NodeBB
-
hi
how we can fix size of shared photos and videos ? -
@cagatay Can you give me a bit more information? It’s not entirely clear what you are looking for from your post.
-
@phenomlab my forum showed posts which has photos and youtube videos are very big size. i want to fix it for example 100x100px not more then it.
this is mine
this is yours
-
@cagatay @phenomlab Actually, this is something we are having a problem with.
picture/photo is transformed, but, it does not look good either on mobile or on a computer. Usually, the scale is huge for the desktop view but good for the mobile view, or ok with the desktop view, but the quality of the photo is significantly dropped on mobile.
How can you achieve good scaling with max quality for both mobile and desktop views?
-
@crazycells @cagatay I’d suggest something like the below - essentially using percentages, as they will scale much better
@media (min-width: 1200px) { .topic .posts .content .img-responsive { max-width: 25%; width: auto; padding: 20px; } }
-
-
@phenomlab said in How to fix size of photos & videos NodeBB:
@crazycells @cagatay I’d suggest something like the below - essentially using percentages, as they will scale much better
@media (min-width: 1200px) { .topic .posts .content .img-responsive { max-width: 25%; width: auto; padding: 20px; } }
thanks this is a very smart solution…
-
@crazycells pleasure. Using percentages makes much more sense in this case. It’s the same argument with
px
vspt
vsem
with fonts, margins, padding, etc., in the sense thatem
is generally preferred overpx
andpt
https://stackoverflow.com/questions/609517/why-em-instead-of-px
Did this solution help you?
Related Topics
-
-
-
-
-
-
-
[NODEBB] Stats
Unsolved Customisation -
NodeBB Footer
Solved Customisation