The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to adjust the height+width of a [img]?

3 posters

Go down

How to adjust the height+width of a [img]? Empty How to adjust the height+width of a [img]?

Post by Zapton Fri 1 Jan - 4:45

Code for making a
Code:

[img]url[/img]
that is to big for the forum size to fit?
How do you write? Like to adjust the height+width?
I want the image to fit the forum topic/post/portal properly, so you can view it without any difficulties.
Zapton
Zapton
Forumember

Posts : 98
Reputation : 0
Language : Swedish

Back to top Go down

How to adjust the height+width of a [img]? Empty Re: How to adjust the height+width of a [img]?

Post by ankillien Fri 1 Jan - 10:40

Hello,

You need not to write code for that, though you can set maximum height and width of an image from admin panel.

Admin CP > General > Messages & Emails > Configuration > Images resize
ankillien
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

Back to top Go down

How to adjust the height+width of a [img]? Empty Re: How to adjust the height+width of a [img]?

Post by Zapton Fri 1 Jan - 14:11

But if I set the max size of an image, and I post a image that is bigger than the max size, will it re-size it automaticly?
And if it does, is there a way that makes you able to remove the box ontop of the image that says "enlarge this image" or what ever it says? :-)
Thanks for your help.
Zapton
Zapton
Forumember

Posts : 98
Reputation : 0
Language : Swedish

Back to top Go down

How to adjust the height+width of a [img]? Empty Re: How to adjust the height+width of a [img]?

Post by Zapton Sat 2 Jan - 11:06

Bump... :<
Zapton
Zapton
Forumember

Posts : 98
Reputation : 0
Language : Swedish

Back to top Go down

How to adjust the height+width of a [img]? Empty Re: How to adjust the height+width of a [img]?

Post by Agenda Sat 2 Jan - 17:52

Yes, it will auto-resize if the image is larger than the size specified by you in the admin panel.

Users won't be able to remove that box on top themselves (neither will a mod or admin) unless they physically resize the picture themselves by using an editing software and re-hosting it.

An alternative would be enabling HTML to be used in the forums. Users with experience in HTML will be able to resize the image to their liking using the appropriate HTML commands.
Agenda
Agenda
Forumember

Male Posts : 172
Reputation : 9
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum