News: February 16th, 2020, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.5! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

April 05, 2020, 08:05:42 PM

Login with username, password and session length


  • Total Posts: 189582
  • Total Topics: 20808
  • Online Today: 65
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 52
Total: 52

Author Topic: Image Resizing?  (Read 3113 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Image Resizing?
« on: October 22, 2009, 03:10:31 AM »
Over at we have our latets new 9usually involves pictures) being posted and they show in the centre of SMF.

Now my question is when images are larger then the centre block they stretch as you can see if you go there. Is it possible to resize them images just for that purpose on the home page without needing to resize them for the whole of SMF?


Offline ZarPrime

  • Friends
  • *
  • Posts: 4653
Re: Image Resizing?
« Reply #1 on: October 22, 2009, 05:39:40 AM »

At this time, there is no way to have your images different sizes in the Forum posts and in the posts that are shown on the Front Page.  FWIW, I am working with another member on the Spanish board that is having the same issue.  You may want to have a look at this post I made there ...

If this is a feature that is important to you, then you could put in a Feature request in the Feedback Board.  The alternative would be to widen your Forum to 90% or 95%.  We could possibly help you with that but I don't know what theme you are using or who designed it since there is no theme author's copyright on your site.


Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: Image Resizing?
« Reply #2 on: October 23, 2009, 05:04:44 PM »
You can try a simple css solution that might help. Basically it makes all images have set maximum width so they never go over that. You will need to decide what that width will be though:
Code: [Select]
.windowbg2 img
 max-width: 500px;
 height: 100%;

Also, it works only in the most recent browsers, so its not 100% fail-proof. Worth a try though.