Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Make images automatically resize
#1
Not Solved
Hi,

Like you can see on this link, when someone insert an image which is too big, it's not automatically resized. I'm talking about the picture of the Pokémon 3DS Wink
How can I make images automatically crop?
Many thanks in advance!

Greets,
Thibault
#2
Not Solved
You could try the following plugin:
http://mods.mybb.com/view/fit-on-page
#3
Not Solved
Mybb İmage Size No Plugin Mycode! http://community.mybb.com/thread-71394.html
#4
Not Solved
Many thanks for your support!
I tried the plugin, didn't work.
Then I entered this code in Theme Style/global.css/advanced Mode, at the bottom:
#maximage 
{
max-width: 255px;
}
But didn't work, should I enter it someplace else?
#5
Not Solved
(09-04-2013, 10:03 PM)icola007 Wrote: Hi,

Like you can see on this link, when someone insert an image which is too big, it's not automatically resized. I'm talking about the picture of the Pokémon 3DS Wink
How can I make images automatically crop?
Many thanks in advance!

Greets,
Thibault

Wait, do you want it to crop or resize? They are very different.
#6
Not Solved
I want it to resize, so it's not going 'out' of the forum Smile

--EDIT--
last time, I didn't create a new MyCode. So now I did it, but it's still not working
#7
Not Solved
No more ideas?
#8
Not Solved
remove your earlier code and try below code in global.css
img {
max-width: 255px;
height: auto;
}

(however max-width can be of more size)
remember to hard refresh your browser (eg. press CTRL + F5) on a topic page after saving global.css
#9
Not Solved
the foll. code should work....

img {
max-width: 100%;
}
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't seen it yet.
Don’t  Forget to “Mark as Solved” after the fix
#10
Not Solved
The plugin "Fit on Page" works perfectly.

[Image: 49a2799ce0b94be829fa9b5374100325.png]

SS of how it looks on my forum.


Forum Jump:


Users browsing this thread: 1 Guest(s)