Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Solved] Embeded image size ratio

4 Posts
2 Users
1 Reactions
510 Views
Posts: 23
Topic starter
(@rjwhuang)
Eminent Member
Joined: 3 years ago

We use Cross Posting, and notice if the image ratio is 4:3 it will look fine on the forum post.

However, if the image ratio is 3:4 for example, it will force to show as 4:3, and the image looks weird.

Β 

Here is the example:

https://tripwinego.com/cn/balkans-tour/

https://tripwinego.com/community/topicid/2240/

Β 

Please help.

Β 

3 Replies
Astghik
Posts: 6444
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi,

In this case, you should write custom CSS to fix the issue. All styles are being cross-posted, and in your case, the result doesn’t look correct. The cross-posting add-on cannot remove the styles when it cross-posts images.

1 Reply
(@rjwhuang)
Joined: 3 years ago

Eminent Member
Posts: 23

@astgh can you please give an example? as long as the image size ratio is retained, it will be fine.

Posts: 23
Topic starter
(@rjwhuang)
Eminent Member
Joined: 3 years ago

never mind, found it from the old post, clear cache and fixed the issue. Thanks.

#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content img, 
#wpforo #wpforo-wrap .wpforo-revision-body img {
    max-height: none !important;
}
Share:
Scroll to top