Bug with Widgets
-
Hi there!
We’ve found a little but annoying bug with converted images in widgets. Every time as we editing and after saving a text widget with images inside it – plugin adds extra “-optimized” word to image path. So for example we can have 3 “-optimized” words for one image path and of course it breaks showing of images
Here an example https://ibb.co/7b6HqJC
Is it smth that I can do to fix or prevent it? thanks!-
This topic was modified 2 years, 10 months ago by
kanaroo.
-
This topic was modified 2 years, 10 months ago by
-
Hello @mateuszgbiorczyk,
Thanks for fixing bug, but it provides a new one
We have a image path /wp-content/uploads/2023/04/casimaru-kokodake-banner-desktop-mod.jpg
But after saving a widget it becomes /wp-content/uploads/2023/04/casimaru-kokodake-banner-desk-optimized.jpg
I’ve tried to change it manually but everytime it saves with wrong path
Here a screenshot: https://ibb.co/FncFM6m
Can you check this one please? Thanks!@kanaroo Why do you think it saves the wrong URL?
In the plugin settings, in the Advanced Settings section, you have changed the value in the “Image loading mode” field to Bypassing Nginx. In this mode, the suffix “-optimized” is added to the filename. If you don’t want it, set the default recommended value in that field.
@mateuszgbiorczyk
As you can see before saving of widget we had this path
casimaru-kokodake-banner-desktop-mod.jpg
after this one
casimaru-kokodake-banner-desk-optimized.jpg
So we are missing “top-mod” in path and image becomes broken.
Correct path should be casimaru-kokodake-banner-desktop-mod-optimized.jpg
Problem not with “-optimized” suffix@kanaroo Could you please send me the HTML code (all HTML code) of this widget before saving?
<div class="space-buffer"></div> <a href="https://wordpress-1031605-3634889.cloudwaysapps.com/casimaru-news-letter/"><img class="aligncenter size-full wp-image-11526 pc-banner" src="https://wordpress-1031605-3634889.cloudwaysapps.com/wp-content/uploads/2023/04/casimaru-kokodake-banner-desktop-mod.jpg" alt="カジマルニュースレターのバナー" width="1200" height="400" /></a><a href="https://wordpress-1031605-3634889.cloudwaysapps.com/casimaru-news-letter/"><img class="aligncenter size-full wp-image-11526 sp-banner" src="https://wordpress-1031605-3634889.cloudwaysapps.com/wp-content/uploads/2023/04/casimaru-kokodake-banner-mod-2.jpg" alt="カジマルニュースレターのバナー(モバイル)" width="470" height="350" /></a> <strong>CASIMARU(カジマル)</strong>は、幅広いエンターテインメント関する最新情報、お役立ち情報、お得なキャンペーン情報を配信しています。私たちCASIMARU<a href="https://wordpress-1031605-3634889.cloudwaysapps.com/about-us/">運営チーム</a>は、多くのプロダクトや各国マーケットを詳細に調査しています。各種レビュー記事には、詳細な解説や、分かりやすい考察を掲載しています。また、弊社は数々の優良なパートナー企業と、直接連絡が取り合える関係にあるため、Casimaru.comのみで獲得可能な限定特典や最新情報を提供できます。 <div style="margin-bottom: -30px;"><a href="https://wordpress-1031605-3634889.cloudwaysapps.com/bonuses/konibet-casino-registration-bonus/"><img class="aligncenter size-full wp-image-11526 pc-banner" src="https://wordpress-1031605-3634889.cloudwaysapps.com/wp-content/uploads/2022/12/konibet-skinny-banner.jpg" alt="コニベットの限定ボーナス" width="1200" height="75" /></a><a href="https://wordpress-1031605-3634889.cloudwaysapps.com/bonuses/konibet-casino-registration-bonus/"><img class="aligncenter size-full wp-image-11526 sp-banner" src="https://wordpress-1031605-3634889.cloudwaysapps.com/wp-content/uploads/2022/12/konibet-skinny-banner-mobile.jpg" alt="コニベットの限定ボーナス(モバイル)" width="600" height="150" /></a></div> <p style="text-align: center;"><a href="https://twitter.com/casimarujp" target="_blank" rel="noopener"><img class="alignnone wp-image-9376" src="https://wordpress-1031605-3634889.cloudwaysapps.com/wp-content/uploads/2020/07/twitter-logo.png" alt="twitter-logo" width="40" height="40" /></a> <a href="https://www.youtube.com/channel/UCimK3KRmx4czRQWh0whOl6w" target="_blank" rel="noopener"><img class="alignnone wp-image-9377" src="https://wordpress-1031605-3634889.cloudwaysapps.com/wp-content/uploads/2020/07/youtube-logo.png" alt="youtube-logo" width="40" height="40" /></a> <a href="https://lin.ee/zUl3ZJT" target="_blank" rel="noopener"><img class="alignnone wp-image-9374" src="https://wordpress-1031605-3634889.cloudwaysapps.com/wp-content/uploads/2020/07/line-logo.png" alt="line-logo" width="40" height="40" /></a></p> <p class="announce">【Twitter】最新情報を配信中! 【YouTube】わかりやすいレビュー動画満載!ストリーミングスタイルで配信中! 【LINE】特別特典などを限定配信中!</p>@mateuszgbiorczyk here we go
@kanaroo I located the source of the problem in the last update. I have released update 5.9.3 which fixes this issue. Please download the latest version of the plugin and let me know if everything works fine now.
Sorry for the inconvenience and thank you for reporting the issue very quickly.
Hey @mateuszgbiorczyk
Thanks for update, now it working correctly!
Thank you for your time and good luck in future
The topic ‘Bug with Widgets’ is closed to new replies.