Comments (10)
Are you comfortable sharing a public URL of the issue?
from wordpress-linux-appservice.
@stevenhayles - Are you still facing this issue?
from wordpress-linux-appservice.
@stevenhayles -this issue is already fixed, can you confirm if we can close the issue.
from wordpress-linux-appservice.
@rabollin @samrueby apologies, I've not been paying attention. It is fixed, thanks.
from wordpress-linux-appservice.
Fixed
from wordpress-linux-appservice.
@stevenhayles .. Care to share what the issue was and the fix?
I'm seeing mostly the same thing.. Single images display in editor, but gallery images don't.
Fresh install, disabling both smush and w3tc plugins.. No difference.
All display on the front end ok
from wordpress-linux-appservice.
@dlx-GH - can you open a separate issue describing clearly what was your setup and what was the challenge being faced so that we can evaluate and fix it right. The above issue described was due to CDN not loading the files due to conflicts enforced by Alpine which might be completely different from yours.
from wordpress-linux-appservice.
Had this problem too and stumbled into this post. I'm going to try to explain the context and how I "fixed" it.
The issue in my case seems to be because the img has a relative src, which works in preview, but not in the editor.
It is verifyable by inspecting the html, the tag will look like <img src="/wp-content/...
.
I tried twice, once with the Azure CDN advanced option, once without.
While the procedure below works without the CDN, having this option enabled dooms you to have it absent of your editor, also if you follow through you might have images not working at all.
Please only follow this if you have checked-out the CDN option.
One possible escape if you still want the CDN, is to use Elementor editor, which seems to work.
I stumbled upon this config that could help change content urls to relative or absolute.
In the /var/www/wordpress/wp-config.php
file, there is this line :
define('WP_CONTENT_URL', '/wp-content');`
This is because of the CDN option apparently.
You can access the config file by connecting to your server via the SSH tool embedded in the Azure dashboard.
cd /var/www/wordpress
nano wp-config.php
Set it to something like https://contoso.azurewebsites.net/wp-content
, then reset your wordpress resource.
Hope that helps !
from wordpress-linux-appservice.
I also have this issue, on a managed Wordpress in Azure App Services. The steps outlined by @TCLNA fixes the issue for me also.
from wordpress-linux-appservice.
Having same problem with images broken in the block editor when CDN enabled.
from wordpress-linux-appservice.
Related Issues (20)
- Errors in Azure Email Logs - emails not getting sent HOT 4
- Terraform: An argument named "docker_image_name" is not expected here. HOT 1
- Startup script lacks permissions to modify nginx config files HOT 3
- [REOPEN] Images not displayed in editor #96 HOT 2
- Image uploads returning the wrong URL HOT 1
- unable to load ldap extension HOT 3
- [email protected] not working HOT 2
- Unable to convert to multisite. HOT 4
- Intl: is not installed, or has been disabled. HOT 4
- Export frozen @ 20% with no error HOT 2
- HSTS Preloading Should Be Opt-In
- Wordpress on Azure appservice email integration plugin missing HOT 8
- Startup Command Field HOT 3
- CUSTOM_DOMAIN not working correctly HOT 7
- Azure Communication Services Sending File Attachments HOT 8
- Downtime for updated images HOT 1
- Outdated PHP
- Enable / Disable phpmyadmin
- Application Insights for WordPress
- Question: Production & Staging Swap
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-linux-appservice.