| 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: |
- Pages:
- 1
- 2
| Prevent Posted Images from Stretching Board | |
|---|---|
| Tweet Topic Started: Jul 3 2010, 02:56 PM (6,467 Views) | |
| Reid | Jul 3 2010, 02:56 PM Post #1 |
![]()
È una trappola!
![]()
|
Place this in Admin CP -> Board Template -> Below the Board: It will make the maximum width of images the same as post widths. Note that unlike other codes, this code scales based on resolution. To link all resized images to their source, use this code instead, same placement:
|
![]() |
|
| Replies: | |
|---|---|
| Yuri Jacobs | Mar 28 2011, 08:58 PM Post #16 |
![]()
Member
![]() ![]() ![]() ![]()
|
The best around here, too bad there's no award for Coder of the Month.
|
![]() |
|
| SwitchFlip | Feb 25 2013, 03:01 PM Post #17 |
|
Member
![]() ![]() ![]()
|
Great code, I know this topic hasn't seen the light of day in many many many months but would love for this to apply to images in spoilers :o |
![]() |
|
| spiiike | Sep 15 2016, 03:25 PM Post #18 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
This isn't working anymore for some reason |
![]() |
|
| Cory | Sep 16 2016, 04:33 AM Post #19 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Which version are you using? |
![]() |
|
| spiiike | Sep 16 2016, 10:44 AM Post #20 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
This one:
Was working okay up until recently Actually it's working in some threads and not others. Any idea why that might be? I could take some screen shots if needbe Edited by spiiike, Sep 16 2016, 03:53 PM.
|
![]() |
|
| DaPizzaMan | Sep 16 2016, 06:02 PM Post #21 |
![]()
#TeamSupport
![]()
|
It would be better if you could link to a page it works on and a page it does not work on. |
![]() |
|
| ryushenlong | Sep 17 2016, 11:10 AM Post #22 |
|
Member
![]() ![]() ![]()
|
I use the second code, and it works well with the posted images (they auto stretch to window width), but I don't see the posted images can be clickable to view their original full size image. For example, my monitor resolution is 1600x900, when I see the posted image with size 3840x2160, it got automatically resized depend on whether my browser get maximized or not, but I don't see the text "This image has been resized to prevent stretching the screen. Click to view it at its full size" neither I can't click the image. |
![]() |
|
| DaPizzaMan | Sep 17 2016, 01:12 PM Post #23 |
![]()
#TeamSupport
![]()
|
Can you link us to a page where that is the case? |
![]() |
|
| ryushenlong | Sep 18 2016, 06:57 AM Post #24 |
|
Member
![]() ![]() ![]()
|
Nvm about my issue, the resized images can be clicked now. Thank you again for the attention. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · ZetaBoards Codes & Modifications · Next Topic » |
- Pages:
- 1
- 2
| Track Topic · E-mail Topic |
4:33 AM Jul 11
|









![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)
The best around here, too bad there's no award for Coder of the Month.


4:33 AM Jul 11