You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incompatibility: Cloudinary WordPress Plugin breaks Media URLs when JetEngine dashboard styles load inline SVGs #1092
When using the Cloudinary WordPress plugin together with Crocoblock JetEngine, the Media Library “Edit Attachment” screen shows broken image URLs (/wp-content/uploads/...) instead of the expected Cloudinary URLs.
This only happens when JetEngine is active. After investigation with Crocoblock Support, the root cause seems to be that Cloudinary scans the entire admin page output for URLs. JetEngine adds inline SVGs via jet-engine/framework/jet-dashboard/jet-dashboard.php, and Cloudinary attempts to process these SVG references as if they were media files. When this fails, all Cloudinary URLs on the page “fall back” to local paths.
Steps to Reproduce
Install the Cloudinary WordPress plugin and connect a Cloudinary account.
Sync media so that attachments use Cloudinary URLs.
Install and activate JetEngine.
Go to Media → Library → List View and click on any image → Edit.
The File URL field now shows a local /wp-content/uploads/... path instead of the correct res.cloudinary.com/... URL.
The image preview also fails to load.
Expected Behavior
Cloudinary should continue to return the correct Cloudinary URL for the attachment, regardless of whether JetEngine is active or whether the page includes inline SVGs.
Actual Behavior
When JetEngine is active, Cloudinary falls back to local upload paths in the Media Library Edit view. Image previews break.
Additional Context
Crocoblock Support confirmed JetEngine does not hook into wp_get_attachment_url or rewrite media URLs.
The issue is triggered by JetEngine’s dashboard styles, which insert inline SVGs (content: url('data:image/svg+xml;base64,...')).
Removing these lines from JetEngine immediately fixes the issue.
A temporary workaround is a custom shim plugin that restores Cloudinary URLs in the Admin area.
Screenshots from Crocoblock Support show that removing the SVG CSS resolves the issue.
Suggested Resolution
Improve Cloudinary’s admin URL parsing/handling logic to ignore data: URIs (SVGs or other inline assets).
Example: Skip replacement when the URL starts with data: instead of http/https.
This would prevent inline SVGs from breaking attachment URL replacement in the Admin area.
Hi @TheRealFreelancer ,
Thank you for bringing this issue with us. We are currently looking into it and will check if we can reproduce the issue on our end.
This is a premium plugin, and we're unable to test it directly, but when we add admin styles similar to the screenshot, the images load correctly. Here is an example:
Additionally, the admin page includes such inline SVG files by default (e.g. the sidebar menu icons).
It looks like there is something else that affects the edit media page.
Would you be able to send the HTML markup of all Crocoblock JetEngine elements available on the edit media page(e.g. view-source:http://example.com/wp-admin/post.php?post=123&action=edit)? We'd like to see how the markup is organized and if it affects the Cloudinary parsing.
Thanks @TheRealFreelancer - I found your account details via our logs and the screenshots you shared. It seems your website is not configured to send email so I haven't received the invitation email. When I try to reset the password, I get this error: Error: The email could not be sent. Your site may not be correctly configured to send emails. [Get support for resetting your password](https://wordpress.org/documentation/article/reset-your-password/).
If that's easier, feel free to reach out to support@cloudinary.com instead and share the password directly. Thanks!
Hi @Vdeub-cloudinary, apologies for the delayed response. I’ve sent the login credentials to support@cloudinary.com, referencing this thread. Please let me know if you were able to log in and reproduce the issue. Since this is a test site, I can also provide FTP access if needed.
Activity
atdcloud commentedon Sep 4, 2025
Hi @TheRealFreelancer ,
Thank you for bringing this issue with us. We are currently looking into it and will check if we can reproduce the issue on our end.
aatanasov-cloudinary commentedon Sep 12, 2025
Hi @TheRealFreelancer, Thank you for reporting this issue.
This is a premium plugin, and we're unable to test it directly, but when we add admin styles similar to the screenshot, the images load correctly. Here is an example:
Additionally, the admin page includes such inline SVG files by default (e.g. the sidebar menu icons).
It looks like there is something else that affects the edit media page.
Would you be able to send the HTML markup of all Crocoblock JetEngine elements available on the edit media page(e.g.
view-source:http://example.com/wp-admin/post.php?post=123&action=edit)? We'd like to see how the markup is organized and if it affects the Cloudinary parsing.TheRealFreelancer commentedon Sep 12, 2025
Hey @aatanasov-cloudinary,
Thank you for looking into the issue.
If you don't mind, I can provide you with access to my test site. It only has JetEngine and Cloudinary installed.
Please let me know where I should send the credentials.
Vdeub-cloudinary commentedon Sep 12, 2025
Hi @TheRealFreelancer, let me jump in here.
Feel free to invite wp-debug-aaaaiyfgvjekhcaw3stn74gmly@cloudinary.slack.com, we will receive an email to set a password and I'll share it with @aatanasov-cloudinary. This is a shared email we use when we need access to a WordPress instance.
TheRealFreelancer commentedon Sep 12, 2025
Invite sent. I hope it works.
Vdeub-cloudinary commentedon Sep 12, 2025
Thanks @TheRealFreelancer - I found your account details via our logs and the screenshots you shared. It seems your website is not configured to send email so I haven't received the invitation email. When I try to reset the password, I get this error:
Error: The email could not be sent. Your site may not be correctly configured to send emails. [Get support for resetting your password](https://wordpress.org/documentation/article/reset-your-password/).If that's easier, feel free to reach out to support@cloudinary.com instead and share the password directly. Thanks!
TheRealFreelancer commentedon Sep 16, 2025
Hi @Vdeub-cloudinary, apologies for the delayed response. I’ve sent the login credentials to support@cloudinary.com, referencing this thread. Please let me know if you were able to log in and reproduce the issue. Since this is a test site, I can also provide FTP access if needed.
Vdeub-cloudinary commentedon Sep 16, 2025
Hi @TheRealFreelancer as per the ticket you opened, I was able to access the test site and the credentials were shared with @aatanasov-cloudinary.
TheRealFreelancer commentedon Sep 16, 2025
@aatanasov-cloudinary
@Vdeub-cloudinary
Tracking!
aatanasov-cloudinary commentedon Oct 9, 2025
Hi @TheRealFreelancer, we reproduced the issue, and it was fixed in #1102
The issue isn't specifically related to JetEngine, but to long inline SVGs in the markup.
The fix will be released in the next plugin version.
TheRealFreelancer commentedon Oct 9, 2025
Excellent!
aatanasov-cloudinary commentedon Oct 29, 2025
Hi @TheRealFreelancer, the fix has been released in the latest plugin version.