Jump to content

Resize Image - Max. Image Size Feature

Featured Replies

Posted

I am just curious if there has been any talk about adding a feature to the Admin CP to allow admins to control the maximum dimensions of posted images. I would love to see this feature implemented and I'm very surprised it wasn't in version 2.0.

To those of you that have forum skins that are set to 100% it doesn't really affect you but to those of us who have fixed width forums, this has long been one of very few things lacking in IPB.

I'd love to see the ability to simply have a maximum width (in pixels) control somewhere in the Admin CP. Other options would be nice as well but even just setting a maximum width would save me a lot of annoyance.

Thanks to everyone involved in making this great software! things keep improving and getting better and I'll be very happy to see what new features will be coming up next.

:)

  • 2 weeks later...

It would be really nice to have such feature. Probably, it would be nice also to set image file size limit.

You can set the file size for images.

You can set the file size for images.


<{POST_SNAPBACK}>



Attachments, yes. Images posted with bbcode, nope.

Yep. This is Definatly Needed. Images that Distort the Forum boarders are annoying.

I like the image constraint idea. It'd be an easy and simple CSS tweak.
How would you go about doing the externally linked file size liit, though? It's a good idea, but I don't think it can be done. The images are just lines of HTML, which your browser finds. (I could be wrong. It's happened before)

there is a brazilian site..
www.forum.carrosderua.com.br
the image size feature in their forum is working...
i would like to know how...

Maybe they take the image before sending it to you, and modify it.
Edit: Do they store external images on their server?

Edited by Germany

I tried to implement such a feature but I had no sucess because the Internet Explorer lacks the support of max-width/max-height CSS. That would normally have the effect that an image is only resized if it is too large. But here you can find workarounds that work with javascript. Because of that simple fact I don't like that solution very much. It's just too bulky. Again IE sux and annoys web developers. :(

My final solution was to use some CSS that IE also supports. In my skin the maximum width of a post is 550 pixels, so I used two CSS settings on the table enclosing it: table-layout:fixed and width:550px. That ensures that every content that is too large is cut off at the edge, so no resizing of the forum itself takes place. As this is only a simple template hack, it's easily done also. But remember that images aren't resized with this solution.

But it's a hard time in general for IPB2 users who want to use fixed width forums. With the blog added it's even more difficult to keep elements from blowing off the design. In the PM and blog comment areas I disabled signature displays because there you have even less space available for displaying images. But then I added a new language and just because some words were longer than in English some tables were too wide and guess what happened. That really annoys me. >_<

And it also doesn't seem that Invision supports 800x600 resolutions anymore. The registration form for example only shows up correctly if you have at least a 1024x768 resolution. If you really want to have your skin fitting in all areas in 800x600 you have to edit lots of stuff.

PS: I forgot to mention that there's another CSS necessary. You have to use an overflow:hidden in the table cell that holds the posts, too.

It would be nice if they could find a way to limit the size of images posted. Large images distort the post table and forum itself. I noticed IPB has an issue with this with long titles or usernames(which I've since fixed myslef) too. Personally they need to find a way to keep everything uniform as to not stretch out the forum or posts within it. :ermm:

  • 1 month later...

You can set the file size for images.


<{POST_SNAPBACK}>



That's not convenient. I need normal, user-friendly solution. It would be good to automatically resize uploaded images, if those width & height exceeds default limits.

We have image linking resize working on our forum.

We also optimize uploaded images, resize them and watermark them before they post.

You can try it out in the drivers training area without registering

We have image [b]linking[/b] resize working on our forum.



We also optimize [b]uploaded[/b] images, resize them and watermark them before they post.



[b]You can try it out in the drivers training area without registering[/b]


<{POST_SNAPBACK}>



How did you do it? Nice to know it can be done... but how is the important part!

It is not hard to do but it means your server downloading a copy of every image posted and then if it needs resized it needs to store a copy and uses your diskspace and bandwidth...

  • 7 months later...

You can use a modification such as this to resize images;


http://mods.invisionize.com/db/index.php/f/4418


Has anyone got this to work with 2.1? Or were able to modify it to work? Cuz I just tried it and it is not working. :(

Thanks in advance.
  • 2 months later...

Any further info on this? I'd really like a way to limit images posted with BBcode too.

  • 1 month later...

*cheeky bump* we need this!

  • 1 month later...

Late, but default would be better! This is very needy!

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.