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.
The forum of the forums
4 posters

    How to optimize pictures in the post?

    avatar
    SNooPy89
    Forumember


    Posts : 102
    Reputation : 2
    Language : serbian
    Location : Serbia

    Solved How to optimize pictures in the post?

    Post by SNooPy89 September 29th 2018, 12:57 am

    Technical Details


    Forum version : #PunBB
    Position : Founder
    Concerned browser(s) : Google Chrome
    Screenshot of problem : https://i.servimg.com/u/f67/15/52/82/43/skujjj10.jpg
    Who the problem concerns : All members
    When the problem appeared : When member post a pictures
    Forum link : http://odabranodrustvo.forumotion.com

    Description of problem

    When someone sends a larger (broader) picture, it does not appear whole in the post. How do I solve the problem?


    Last edited by SNooPy89 on October 1st 2018, 5:58 pm; edited 1 time in total
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 160
    Language : 🇵🇹

    Solved Re: How to optimize pictures in the post?

    Post by tikky September 29th 2018, 1:06 am

    Hey @SNooPy89,
    Add in your stylesheet the follow code:
    Code:
    .post-entry .entry-content > div img {
      max-width: 100%;
      }

    Cordially,
    pedxz.
    avatar
    SNooPy89
    Forumember


    Posts : 102
    Reputation : 2
    Language : serbian
    Location : Serbia

    Solved Re: How to optimize pictures in the post?

    Post by SNooPy89 September 29th 2018, 1:18 am

    I add this code, but I don't solve the problem Confused
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 160
    Language : 🇵🇹

    Solved Re: How to optimize pictures in the post?

    Post by tikky September 29th 2018, 1:26 am

    Change to
    Code:
    .post-entry .entry-content img {
      max-width: 100%!important;
      }

    Or go to ACP >General > Messages and emails > Configuration, find the option: Resizing images and fill in
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: How to optimize pictures in the post?

    Post by SLGray September 29th 2018, 2:18 am

    Do you have it set in the AP? I mean the dimensions for images in posts.



    How to optimize pictures in the post? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    SNooPy89
    Forumember


    Posts : 102
    Reputation : 2
    Language : serbian
    Location : Serbia

    Solved Re: How to optimize pictures in the post?

    Post by SNooPy89 September 30th 2018, 1:00 pm

    Or go to ACP >General > Messages and emails > Configuration, find the option: Resizing images and fill in

    I am setting up now, but I still have a problem...I don't know why the images will not be resized Sad

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: How to optimize pictures in the post?

    Post by skouliki September 30th 2018, 1:40 pm


    avatar
    SNooPy89
    Forumember


    Posts : 102
    Reputation : 2
    Language : serbian
    Location : Serbia

    Solved Re: How to optimize pictures in the post?

    Post by SNooPy89 October 1st 2018, 5:56 pm

    skouliki, thanks! I added this code and it was successful!

    Thanks everyone!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: How to optimize pictures in the post?

    Post by SLGray October 1st 2018, 7:35 pm

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    How to optimize pictures in the post? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 11th 2024, 8:02 pm