| Twiebie |
|
|---|---|
|
There was a plugin (Slimbox + Image Scaling) for Genoa that would resize images to a set width/height to fit in a div so it wouldn't stretch/overflow in pages and forums. Is there something that can be used on Siena? |
| Kingsley |
|
|---|---|
|
Littledev has Fancybox for Sienna: |
| Twiebie |
|
|---|---|
|
Does it actually resize the image that is in for example a forum post? |
| Kingsley |
|
|---|---|
|
dunno, Im still on genoa, but I think that it does the same things as slimbox for genoa, so in that case, Yes, it will resize your forum post images. |
| Twiebie |
|
|---|---|
|
I gave it a go but it doesn't resize any of the images... |
| pieter |
|
|---|---|
|
If you work with BBcode, you can add a class to [img] and resize it this way. I used this before:
/* for understanding browsers */
.resizeimage { max-width:250px;max-height:250px;}
/* for Internet Explorer */
/*\*/
* html .resizeimage{
border-width:1px solid #000000;
height: expression(this.height >= this.width && this.height > 250 ? '250px' : true);
width: expression(this.height < this.width && this.width > 250 ? '250px' : true);
}
... can we help you ...
|
| Twiebie |
|
|---|---|
|
I'm using CKEditor with HTML parsing so that's not really a solution i'm afraid. |