You are invited to Log in or Register a free Frihost Account!

Image resize function

good idea?
Good! should be added to make forums look better
 66%  [ 4 ]
bad proposal! Itīs good as it is now.
 33%  [ 2 ]
Total Votes : 6

Hiho fellow frihosters and staff Smile

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 Wink

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:

So what do you think about it?

Best regards
Its obvious...

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
5. Restrictions

You will not do any of the following while using or accessing the Site or the Services:

a. Post, upload, email, or otherwise transmit (i) any Content that you do not have the lawful right to copy, transmit and display (including any Content that would violate any confidentiality or fiduciary obligations that you might have with respect to the Content); (ii) any Content for which you do not have the consent or permission of each identifiable person in the Content to use the name, voice, signature, photograph, or likeness of each such person (to the extent each is implicated by the Content); or (iii) any Content that infringes the intellectual property rights or violates the privacy rights of any third party (including without limitation copyright, trademark, patent, trade secret, or other intellectual property right, or moral right or right of publicity);


Best regards
arkebuzer wrote:
2. Itīs illegal as far as I can understand.

Those pictures have been given to be used.
The following pictures are taken by Rune Baashus, and can be downloaded for press use.

Whenever these pictures are used, please always refer to Rune Baashus and his web address,

If you are writing an article about our product, we would also appreciate if you refer to our web page.

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 Wink
mathiaus wrote:

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 Wink

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 Smile

Best regards
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 Smile). There's also the fact that not all browsers support max css tag (have a guess which ones I'm talking about Razz)
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.
Related topics
image resize with GD
Create,Resize,Thumb, Shadow of your Images
Tutorial: Image Rollovers w/ Javascript
PHP Tutorials
Picture resizing software :?:
Any program that modifies picture resolution?
fopen in server frihost?
Easy handling for over-wide posts
Resize image in PNG Problem
How would I resize an image from this code?
Uploading and resizing an image
Image transparency script
751 Useful Windows XP Files
Reply to topic    Frihost Forum Index -> General -> Suggestions

© 2005-2011 Frihost, forums powered by phpBB.