Jump to content

Image auto resize?


Recommended Posts

Posted

There's problem with the images on the forum, the image that does not fit with the forum style size will be cut off from the right side. This annoying because right now to see the whole image we have to open it in new tab on the browser.

I thought about something like image auto resize but not sure if it possible with phpBB. :roll:

Another thing can be done like adding the horizontal scrollbar but it may make the forum looks ugly. :?

  • 2 weeks later...
Posted
www.tinypic.com (Image Hosting Website) <--- Press Resize and select (Message Board 640x480) and upload picture. That will perfectly fit and the right side will not be cut off. I always upload images on Tiny Pic to post them on MTA Forum, and they perfectly get fit.
Posted

tinypic is an absolutely awful image host. Like ImageShack, it's filled as much as possible with adverts and the images take forever to load. I'd recommend imgur for image hosting. It allows you to resize the images you upload, if you wish.

  • 2 weeks later...
Posted

In SMF forums, you can specify a custom width and height directly in the img tag, but it doesn't work with phpbb, however adding this:

 .postbody img { 
    max-width:100%; 
} 

in the file: "common.css", will scale any image, as lopezloo suggested. Imgur also has a feature to create a thumbnail which fits pretty good in a post here, however since you're not hosting the images yourself, large images won't affect the performance in this forum anyway, it's much easier for the end users with automatic scaling.

Posted
In SMF forums, you can specify a custom width and height directly in the img tag, but it doesn't work with phpbb, however adding this:
 .postbody img { 
    max-width:100%; 
} 

in the file: "common.css", will scale any image, as lopezloo suggested. Imgur also has a feature to create a thumbnail which fits pretty good in a post here, however since you're not hosting the images yourself, large images won't affect the performance in this forum anyway, it's much easier for the end users with automatic scaling.

Good :wink:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...