• Page 1 of 2
  • 1
  • 2
  • »
Forum moderator: bigblog  
uCoz Community » Communication » uCoz Discussions » Change size limit...
Change size limit...
JR_Junior
Posts: 15
Reputation: 0

Message # 1 | 5:35 PM
Hello friends... I need set a limit of image size in the posts/threads, but images from BBCodes:

Example: [img ] image-link . com/image.png [ / img]

Any help?
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 2 | 5:44 PM
JR_Junior, do you mean, you want to limit the width and/or height of the images?
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
JR_Junior
Posts: 15
Reputation: 0

Message # 3 | 5:56 PM
Quote bigblog ()
JR_Junior, do you mean, you want to limit the width and/or height of the images?


width and/or height smile
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 4 | 6:39 PM
JR_Junior, use this CSS code (CP » Design customization » Style sheet (CSS) » insert to the end of the document).

Code
.postTdMessage img {max-width:300px !important; max-height:250px !important;}


Where you have to replace 300 and 250 with any numerical value (pixels).

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
JR_Junior
Posts: 15
Reputation: 0

Message # 5 | 6:59 PM
Quote bigblog ()
JR_Junior, use this CSS code (CP » Design customization » Style sheet (CSS) » insert to the end of the document).

.postTdMessage img {max-width:300px !important; max-height:250px !important;}
1

Where you have to replace 300 and 250 with any numerical value (pixels).


Don't work!!! sad
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 6 | 7:04 PM
JR_Junior, please, leave your website's URL address.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
JR_Junior
Posts: 15
Reputation: 0

Message # 7 | 7:06 PM
Link to see the big image...
http://lionstar-server.ucoz.com/forum/9-2-1
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 8 | 7:23 PM
JR_Junior, use

Code
.posttdMessage img {max-width:300px !important; max-height:250px !important;}


I just figured out, that i wrote postTdMessage instead of posttdMessage.

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
JR_Junior
Posts: 15
Reputation: 0

Message # 9 | 7:27 PM
Quote bigblog ()
JR_Junior, use

.posttdMessage img {max-width:300px !important; max-height:250px !important;}
1

I just figured out, that i wrote postTdMessage instead of posttdMessage.


Thank you brother... smile Works fine!
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 10 | 7:30 PM
JR_Junior, you have 24 hours to put back the $POWERED_BY$ code. Otherwise, your site will be blocked.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
JR_Junior
Posts: 15
Reputation: 0

Message # 11 | 8:09 PM
Quote bigblog ()
JR_Junior, you have 24 hours to put back the $POWERED_BY$ code. Otherwise, your site will be blocked.


Ready... Satisfied now?
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 12 | 8:25 PM
JR_Junior, yes. Hiding copyright is a violation of uCoz terms. You can always buy for a package to delete uCoz copyright smile
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
Cyberdasm
Posts: 639
Reputation: 7

Message # 13 | 2:41 PM
bigblog, does it can also be use in the SM users?
1F4BF3B
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 14 | 5:20 PM
Cyberdasm, what do you mean by SM users?
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
chiasetatca
Posts: 10
Reputation: 0

Message # 15 | 9:59 AM
bigblog,

i have problem related to image size.
when i post your code in my CSS, it's look nice if i access by mobile phone.
but the image is so small if i access by computer.
here is my site example: http://khoivanphong.com/forum/61-46-1
is there anyway that makes my image has flexible size. ex, it fits size in forum page both accessing by phone & computer.
when i click on the image, it's bigger to see.
hope to hear you soon, thank you very much.
uCoz Community » Communication » uCoz Discussions » Change size limit...
  • Page 1 of 2
  • 1
  • 2
  • »
Search: