|
Re: better img tag [message #4677 is a reply to message #4676] |
Fri, 02 August 2002 14:54 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Images are a 'special' kinda tag, because of the problems with them there are a number of controls specific to images, such as the ability to limit the # of images per message as well as the ability to disable image tags specifically.
Specifying size won't solve the problem, since most people won't do it anyway and a person can easy say that image's size is 2000X2000 pixels effectively taking up the entire page and more.
There is no 'good' solution to this problem. Your best bet is to
ask your forum members to restrain themselves to certain scale for their images, and if they do not heed to your request handle the issue accordingly. Whether it be disabling of images tags to taking away posting privileges of people who ignore this request is already up to you.
FUDforum Core Developer
|
|
|
|
Re: better img tag [message #4744 is a reply to message #4743] |
Mon, 05 August 2002 20:51 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There is a problem with that, if you set the image width limit to 250 pixels for example, all images < 250 pixels wide would get 'expanded' by the browser, causing problems.
FUDforum Core Developer
|
|
|
|
Re: better img tag [message #4754 is a reply to message #4747] |
Tue, 06 August 2002 02:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, consider what you are suggesting, users would now need to specify the size of the image width/height when inserting an image. I know that plenty of people do not even know how to get this kind of information about an image that is somewhere on the web. So, it is a little unrealistic to expect people to supply such information, it would also over complicate the rather simple [img] tag used now.
Getting the size of a remote image, is possible, HOWEVER it would be quite slow, since in order to do that FUDforum would need to physically download the entire image just to gets its size. Also not an option, since it causes to much server load and could cause severe posting delays, since if the server hosting the image is slow, the posting process would need to wait until the image is fully retrieved. I won't even go into the fact that there maybe >1 image per message.
FUDforum Core Developer
|
|
|
|
img image width [message #28626 is a reply to message #4744] |
Wed, 02 November 2005 21:16 |
Hurry
Messages: 33 Registered: October 2005
Karma: 0
|
Member |
|
|
sMike wrote on Mon, 05 August 2002 16:44 | Perhaps it would be a good thing, if the admin could limit the width of all images so that the layout of the forum wouldn't destroyed.
If the width is limited, the height would be automatically limited by the user (proportion of the image).
|
Ilia wrote | There is a problem with that, if you set the image width limit to 250 pixels for example, all images < 250 pixels wide would get 'expanded' by the browser, causing problems.
|
I don't mind pics becoming stretched because in my forum hardly anyone will post very pics smaller than 250 and most of the pics are posted by me.
So I really want this admin feature to restrict the width to a fixed pixels of an image (img) because I am parsing the forum rdf feed onto the main page of my site in a two column layout which has a maximum width of 250 pixels for each column. Or even better would be a way to restrict the image width to 250 pixels in the rdf feed like the feature the CaRP parser has.
Is this possible somehow? Thanks.
|
|
|
Re: img image width [message #28634 is a reply to message #28626] |
Wed, 02 November 2005 22:55 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can add a regex in the rss/rdf feed to "tweak" the image tags... you'll need to edit rdf.php.t
FUDforum Core Developer
|
|
|
|