| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| [ C ] Default Image Size | |
|---|---|
| Tweet Topic Started: Jul 30 2012, 01:45 PM (326 Views) | |
| Deleted User | Jul 30 2012, 01:45 PM Post #1 |
|
Deleted User
|
Board Address: http://thebeeandbarb.com/index/ Board Software: ZetaBoards Description: Can a code be wrote to make all image posted on the forum (if they are bigger than 600x400) be downsized to 600x400? Thanks |
|
|
| DaPizzaMan | Jul 30 2012, 02:15 PM Post #2 |
![]()
#TeamSupport
![]()
|
Admin CP → Themes → Board Template (JavaScripts)This code will resize images larger than 600x400 to that size, but only within one's posts and signature. |
![]() |
|
| Steve | Jul 30 2012, 02:20 PM Post #3 |
|
patriot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Find the following in your css:
Replace it with:
basically, you'll be changing 'max-width: 90%;, to 'max-width:600px;'. ![]() EDIT: DaPizzaMan got there first. Though, I find just limiting the width a better solution, otherwise images might re-size disproportionately.
Edited by Steve, Jul 30 2012, 02:21 PM.
|
![]() |
|
| Deleted User | Jul 30 2012, 07:45 PM Post #4 |
|
Deleted User
|
Works great! Thank you to both of you
|
|
|
| Steve | Jul 30 2012, 07:56 PM Post #5 |
|
patriot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
4:53 AM Jul 11
|






![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)

Though, I find just limiting the width a better solution, otherwise images might re-size disproportionately.
4:53 AM Jul 11