Hiho fellow frihosters and staff
I discussed this matter with mOrpheuS, and since there was no good solution at the moment he proposed I could make a post here on Suggestion forums.
Have you ever posted a picture using [Img] tags, and realized the picture messes up the forum?
If you want to share a picture, but itīs too high resolution, thereīs no thumbnails in lower resolution, and you legally cant download the picture resize it and host it yourself. Then you have a problem
My proposal is a function that resizes big pictures to 800*600 or some other suitable resolution when you use [Img] tags.
An example of when this could be needed: http://www.frihost.com/forums/vt-72495.html
So what do you think about it?
I could nt make out anything out of the picture..
I suppose.. Implementation in html .. requires some tweak in css esp for IE..[/img]
Why cant you just upload these pictures to imageshack or imagevenue or some other file host,they all give you bbcode for thumbnails.
I could do that, but!
1. It takes more time.
2. Itīs illegal as far as I can understand.
To quote photobucket.comīs TOS
Those pictures have been given to be used.
Do as already suggested and host at imageshack, then just add a link to your post to their site and the other one mentioned.
In most other cases, this is also alright as you can reuse images within certain limits without breaking copyright laws. You could always just link to the page containing the image
ok, I thoght it wasnt legal to copy and host pictures without breaking copyright laws.
However an automatic rezise function would still be a nice touch, both to save time for users of this forum, aswell as avoid messing up the look of the forums.
Thanks for the feedback
Actually it'll take rather trivial effort to implement this.
As a best practise, preserving the forum layout should not be the end users responsibility (we can't rely on everyone to bother with resizing/re-uploading images), the forum should be able do it automatically.
To do this though I can see only 2 options
1 - Become an image host
To resize and store a thumbnail would require frihost essentially becoming an imagehost (as well). People could upload any image including porn and staff would would have to remove inappropriate images uploaded.
You would need to upload really to get its current dimensions and resize at all.
2 - just use a bit of css
By adding a max-height and max-width, images can be limited to a decent size. This however would not do them in proportion and possibly stretch most images (not on FF though which cleverly does it in proportion ). There's also the fact that not all browsers support max css tag (have a guess which ones I'm talking about )
There is another, better way to fix this problem!
The only reason a large image messes up the whole page is because of the way the theme works.
Look at this page on a different forum:
Only the post that the image is in is made wider; the rest of the page retains normal size. I don't know how this was done, but it is definitely the best way.
By adding just the "max-width" attribute, the layout is preserved (and the image gets proportionally zoomed out too) on atleast Firefox and Opera - I've only tested this on the two I have readily available.
There's a bit of css-hacking required in order to get it to work on Internet Explorer though, but it is possible as I've personally implemented it on my site.
If there isn't one available already on the internet (which I doubt), I can do a little proof of concept if anyone is interested.
Instead of image resizing why dont you just adapt the board so it adds a scroll bar when a pic is posted over the standard width size,like they have on the morpheous style.
Not that i think its needed as i think pretty much everyone here knows how to resize pics should they want to,or upload pics to image hosts to use thumbnails.