How to optimize pictures in the post?

Go down

Solved How to optimize pictures in the post?

Post by SNooPy89 on Fri Sep 28, 2018 6:57 pm

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 Oct 01, 2018 11:58 am; edited 1 time in total
avatar
SNooPy89
Forumember

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

View user profile http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by pedxz on Fri Sep 28, 2018 7:06 pm

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

Cordially,
pedxz.
pedxz
pedxz
Forumember

Other / Decline to state Posts : 330
Reputation : 87
Language : Português

View user profile https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SNooPy89 on Fri Sep 28, 2018 7:18 pm

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

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

View user profile http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by pedxz on Fri Sep 28, 2018 7:26 pm

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

Other / Decline to state Posts : 330
Reputation : 87
Language : Português

View user profile https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SLGray on Fri Sep 28, 2018 8:18 pm

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


How to optimize pictures in the post? Slgray10
How to optimize pictures in the post? Ssshfm13

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

Male Posts : 48104
Reputation : 3380
Language : English
Location : United States

View user profile https://help.forumotion.com/

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SNooPy89 on Sun Sep 30, 2018 7:00 am

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 : 64
Reputation : 1
Language : serbian
Location : Serbia

View user profile http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by skouliki on Sun Sep 30, 2018 7:40 am

skouliki
skouliki
Manager
Manager

Female Posts : 9336
Reputation : 1212
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SNooPy89 on Mon Oct 01, 2018 11:56 am

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

Thanks everyone!
avatar
SNooPy89
Forumember

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

View user profile http://cacak.forumsr.net

Back to top Go down

Solved Re: How to optimize pictures in the post?

Post by SLGray on Mon Oct 01, 2018 1:35 pm

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


How to optimize pictures in the post? Slgray10
How to optimize pictures in the post? Ssshfm13

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

Male Posts : 48104
Reputation : 3380
Language : English
Location : United States

View user profile https://help.forumotion.com/

Back to top Go down

Back to top


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