How to optimize pictures in the post?

Go down

Solved How to optimize pictures in the post?

Post by SNooPy89 on 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
avatar
SNooPy89
Forumember

Posts : 38
Reputation : 1
Language : serbian
Location : Serbia

http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by pedxz on 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.
pedxz
pedxz
Forumember

Male Posts : 169
Reputation : 34
Language : speaker daemonium & português
Location : Portugal

https://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: How to optimize pictures in the post?

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

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

Posts : 38
Reputation : 1
Language : serbian
Location : Serbia

http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by pedxz on 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
pedxz
pedxz
Forumember

Male Posts : 169
Reputation : 34
Language : speaker daemonium & português
Location : Portugal

https://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: How to optimize pictures in the post?

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

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 : 46351
Reputation : 3258
Language : English
Location : United States

https://help.forumotion.com/

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SNooPy89 on 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

avatar
SNooPy89
Forumember

Posts : 38
Reputation : 1
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 on September 30th 2018, 1:40 pm

skouliki
skouliki
Manager
Manager

Female Posts : 6754
Reputation : 1008
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 on October 1st 2018, 5:56 pm

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

Thanks everyone!
avatar
SNooPy89
Forumember

Posts : 38
Reputation : 1
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 on October 1st 2018, 7:35 pm

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 : 46351
Reputation : 3258
Language : English
Location : United States

https://help.forumotion.com/

Back to top Go down

Back to top


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