resize - Automatic resize of the images Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Automatic resize of the images

    ~PSYDEX~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Solved Automatic resize of the images

    Post by ~PSYDEX~ September 9th 2008, 4:58 pm

    i want to prevent resizing my forum from bigger images.
    Is there any way to do it like in this case (like , automatic resizing bigger images than XXXXxXXX resolution):
    resize - Automatic resize of the images Psydjminimalistixexclusvi5
    avatar
    zakir321
    New Member


    Posts : 0
    Reputation : 2
    Language : english

    Solved Re: Automatic resize of the images

    Post by zakir321 September 9th 2008, 9:14 pm

    You can add this code snippet to your CSS Stylesheet (at the very bottom). This should resize all images within posts that are larger than 600 pixels (in this example, change the value if needed) to that value.

    Note that this is not a thumbnail - they will appear smaller, but they still have their full filesize. Right-click and "View image" would display the whole, original image. The proportions should remain though, unless you defined an explicit width/height to an image. Smile

    Code:
    .post img{max-width:600px;}
    ~PSYDEX~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Solved Re: Automatic resize of the images

    Post by ~PSYDEX~ September 10th 2008, 8:11 am

    can you tell me please , where can i find the CSS Stylesheet in the Admin Panel?
    avatar
    RCMZ
    Forumember


    Posts : 283
    Reputation : 0
    Language : English

    Solved Re: Automatic resize of the images

    Post by RCMZ September 10th 2008, 8:13 am

    admin, displays, colors, than youll css style sheet at the top next to colors in blue, click that and add the code above, and change it like said above, i use this and it has worked for me pretty well.
    ~PSYDEX~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Solved Re: Automatic resize of the images

    Post by ~PSYDEX~ September 11th 2008, 6:53 am

    Thanx! Works Perfect resize - Automatic resize of the images 994651
    avatar
    Guest
    Guest


    Solved Re: Automatic resize of the images

    Post by Guest September 11th 2008, 8:59 am

    Since this thread appears to be solved, I will lock this thread and mark it as solved.

    => Locked
    => Solved Tag Added