• Page 1 of 1
  • 1
How to edit linked photo size.
Prem6260
Posts: 10
Reputation: 0

Message # 1 | 6:12 PM
When my members use the IMG html code to insert photos in the forum...they are WAAAAAAAy to big.

is there anyway i can edit the size of linked photos/img code photos on forum?

Dartz
Posts: 1931

Message # 2 | 6:27 PM
You can't edit size of linked images but you can edit size of images
which display by img code -- CP -> Design Customization -> CSS

Find: .posttdMessage

Under it post:
.posttdMessage img {max-width:500px;max-height:500px;size:auto;}


Red - max allowed size for an image.


(This forum is using this code, my website is using this code - it works)


[... With uCoz since December 2 2007 ...]
Sanjay_149
Posts: 212
Reputation: 5

Message # 3 | 12:50 PM
It is for forum. But I need it for site news..

I tried my times but i am unable to do it.

is there anyway?


Unlike computers, no human brain has ever said:" Hard drive full."
Prem6260
Posts: 10
Reputation: 0

Message # 4 | 2:31 PM
Thanks it worked!
Dartz
Posts: 1931

Message # 5 | 1:46 AM
Sanjay_149, find class for "Site News" content and add another line below:

.SiteNewsClassForContent img {max-width:500px;max-height:500px;size:auto;}


[... With uCoz since December 2 2007 ...]
Sanjay_149
Posts: 212
Reputation: 5

Message # 6 | 4:33 AM
Many thanks for the code..

But I am unable to do this.

Quote (Dartz)
find class for "Site News" content

Where it is ? I dont understand.

I find /* Entries Style */ , /* General Style */ class in CSS . I add the code but not working..

I am using #901 template.


Unlike computers, no human brain has ever said:" Hard drive full."
Post edited by Sanjay_149 - Saturday, 2010-06-05, 4:47 AM
Dartz
Posts: 1931

Message # 7 | 10:41 AM
Use this method to find the class: http://forum.ucoz.com/forum/9-2441-20987-16-1234532405
[... With uCoz since December 2 2007 ...]
Sanjay_149
Posts: 212
Reputation: 5

Message # 8 | 5:37 PM
OK now done.. Working properly..

Many many thanks... love

respect


Unlike computers, no human brain has ever said:" Hard drive full."
  • Page 1 of 1
  • 1
Search: