[CSS] Open original image in a new window?
3 posters
Page 1 of 1
[CSS] Open original image in a new window?
Once again, hello there!
I was having some issues with images on my board getting cut due to size, so I searched around the help boards for a solution, finding some codes provided by Sunny_D on another post, as follow:
Tx in advance for any help!
I was having some issues with images on my board getting cut due to size, so I searched around the help boards for a solution, finding some codes provided by Sunny_D on another post, as follow:
- Code:
.postbody img{max-width:800px;}
Tx in advance for any help!
Re: [CSS] Open original image in a new window?
The code Sunny posted limits picture size to 800px in height. It should not enlarge or resize pics smaller than that size - it's a "max" size. If it's too large, adjust the max size to something smaller, like 480px.
Re: [CSS] Open original image in a new window?
Saurus wrote:The code Sunny posted limits picture size to 800px in height. It should not enlarge or resize pics smaller than that size - it's a "max" size. If it's too large, adjust the max size to something smaller, like 480px.
Yes, I know that the code limits the image size and that was what I was looking for not getting the board distorted or the images cut. What I want to know -since when the images get auto-resized they get a bit distorted- is a css code for turning images larger than the limit -the other code provides- to auto turn into a link for the original picture in a new window. I saw something like that on other boards (not forumotion tough) and I know that the image was not post as a thumbnail by the user, it was turned into a link by the forum codes. That's what I'm looking for.
Re: [CSS] Open original image in a new window?
As the images are resized automatically, some quality loss is inevitable. The proportions should remain though...
What you described in your last post is not possible with this forum software, but the most image host services (ServImg, ImageShack, ...) offer thumbnail links as well that you could use.
What you described in your last post is not possible with this forum software, but the most image host services (ServImg, ImageShack, ...) offer thumbnail links as well that you could use.
zakir321- New Member
- Posts : 0
Reputation : 2
Language : english
Similar topics
» Open links in new window or same window?
» chat open in a pop up window?
» links that open in a new window
» Dissable open in another window
» Open smilies in new window
» chat open in a pop up window?
» links that open in a new window
» Dissable open in another window
» Open smilies in new window
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum