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

Posts : 923
Reputation : 160
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 September 29th 2018, 1:18 am

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

Posts : 923
Reputation : 160
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 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51567
Reputation : 3525
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 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 : 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 September 30th 2018, 1:40 pm

skouliki
skouliki
Manager
Manager

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

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

Male Posts : 51567
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Back to top


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