The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Automatic resize of the images

3 posters

Go down

Solved Automatic resize of the images

Post by ~PSYDEX~ September 9th 2008, 4:58 pm

i want to prevent resizing my forum from bigger images.
Is there any way to do it like in this case (like , automatic resizing bigger images than XXXXxXXX resolution):
resize - Automatic resize of the images Psydjminimalistixexclusvi5
~PSYDEX~
~PSYDEX~
Forumember

Male Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria

http://www.mobers.org

Back to top Go down

Solved Re: Automatic resize of the images

Post by zakir321 September 9th 2008, 9:14 pm

You can add this code snippet to your CSS Stylesheet (at the very bottom). This should resize all images within posts that are larger than 600 pixels (in this example, change the value if needed) to that value.

Note that this is not a thumbnail - they will appear smaller, but they still have their full filesize. Right-click and "View image" would display the whole, original image. The proportions should remain though, unless you defined an explicit width/height to an image. Smile

Code:
.post img{max-width:600px;}
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Solved Re: Automatic resize of the images

Post by ~PSYDEX~ September 10th 2008, 8:11 am

can you tell me please , where can i find the CSS Stylesheet in the Admin Panel?
~PSYDEX~
~PSYDEX~
Forumember

Male Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria

http://www.mobers.org

Back to top Go down

Solved Re: Automatic resize of the images

Post by RCMZ September 10th 2008, 8:13 am

admin, displays, colors, than youll css style sheet at the top next to colors in blue, click that and add the code above, and change it like said above, i use this and it has worked for me pretty well.
avatar
RCMZ
Forumember

Posts : 283
Reputation : 0
Language : English

http://mytestforum.activebb.net/portal.htm

Back to top Go down

Solved Re: Automatic resize of the images

Post by ~PSYDEX~ September 11th 2008, 6:53 am

Thanx! Works Perfect resize - Automatic resize of the images 994651
~PSYDEX~
~PSYDEX~
Forumember

Male Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria

http://www.mobers.org

Back to top Go down

Solved Re: Automatic resize of the images

Post by Guest September 11th 2008, 8:59 am

Since this thread appears to be solved, I will lock this thread and mark it as solved.

=> Locked
=> Solved Tag Added
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum