Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Embeded image size ratio

4 Posts
2 Users
1 Reactions
1,417 Views
Posts: 25
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@rjwhuang)
Eminent Member
Joined: 4 years ago
[#13846]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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: 4 years ago

Eminent Member
Posts: 25
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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


Posts: 25
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@rjwhuang)
Eminent Member
Joined: 4 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