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.

How to optimize pictures in the post?

4 posters

Go down

Solved How to optimize pictures in the post?

Post by SNooPy89 Sat 29 Sep 2018 - 5:57

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 Mon 1 Oct 2018 - 22:58; edited 1 time in total
avatar
SNooPy89
Forumember

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

http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by tikky Sat 29 Sep 2018 - 6:06

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

Cordially,
pedxz.
tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SNooPy89 Sat 29 Sep 2018 - 6:18

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

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

http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by tikky Sat 29 Sep 2018 - 6:26

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
tikky
tikky
Forumember

Posts : 897
Reputation : 157
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SLGray Sat 29 Sep 2018 - 7:18

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


PunBB - 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SNooPy89 Sun 30 Sep 2018 - 18:00

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

avatar
SNooPy89
Forumember

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

http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by skouliki Sun 30 Sep 2018 - 18:40

skouliki
skouliki
Manager
Manager

Female Posts : 15133
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SNooPy89 Mon 1 Oct 2018 - 22:56

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

Thanks everyone!
avatar
SNooPy89
Forumember

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

http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SLGray Tue 2 Oct 2018 - 0:35

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


PunBB - 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum