Results 1 to 11 of 11

Thread: News Module - Image resize

  1. #1
    Join Date
    Apr 2008
    Posts
    1

    Default News Module - Image resize

    Hi,

    This is my first post so i thought i would make it a special one It might work on other version i haven't tried.

    Resize Image on the news module

    news.php
    Find :
    PHP Code:
    // ##### <img> 
    After Add:
    PHP Code:
    $news['message'] = str_replace("<img""<img style='border: 0;padding:5px;float:left;' width=50% height=50% " ,  $news['message']); 
    Hope this helps someone.

    Thanks

  2. #2

    Default Re: News Module - Image resize

    thx

  3. #3
    Join Date
    Jun 2007
    Posts
    5

    Default

    thanks
    Summarg, comunidad de informática, tecnología y negocios.
    www.summarg.com

  4. #4

    Default

    Thanks.

  5. #5

    Default

    I just noticed that this doesn't resize the height of my images. Only the width. Does anyone have an idea how to resolve this?

  6. #6

    Default

    I use v3.0.1 but it doesn't work....Isn't it compatible?

  7. #7
    Join Date
    Dec 2006
    Posts
    12

    Default

    demo??

  8. #8
    Join Date
    Feb 2009
    Posts
    6

    Default

    doesn't work with the 3.2.0

    Please update

  9. #9
    Join Date
    Dec 2008
    Location
    Egypt
    Posts
    4

    Default

    thx so much
    i'll try it later

  10. #10
    Join Date
    Feb 2008
    Location
    Thailand
    Posts
    11

    Default

    hi my friends

    i need limit images show to one image for news on home

  11. #11
    Join Date
    Dec 2008
    Posts
    27

    Default

    Quote Originally Posted by Alfa1 View Post
    I just noticed that this doesn't resize the height of my images. Only the width. Does anyone have an idea how to resolve this?
    This is how I got it working:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Auto Resize for Image fils
    By mecho in forum Module & Modification Discussion & Requests
    Replies: 11
    Last Post: 09-20-2011, 10:48 AM
  2. Resize img bbcode on News module
    By fozo in forum "How Do I..." Questions
    Replies: 1
    Last Post: 02-19-2008, 03:54 PM
  3. if a big image is uploaded, resize it
    By eden in forum Feedback & Suggestions
    Replies: 5
    Last Post: 01-08-2008, 09:36 PM
  4. how to resize image in news module outside vbadvanced portal ?
    By wil8x in forum "How Do I..." Questions
    Replies: 9
    Last Post: 12-01-2007, 01:12 PM
  5. How to get Header Image to Auto Resize? Search done!
    By MrLexusLover in forum Troubleshooting / "How do I..." Questions
    Replies: 6
    Last Post: 05-06-2005, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •