I've made a custom web part that creates a page via some fields. One of those fields is a CMSHtmlEditor field.
<cms:CMSHtmlEditor ID="BodyEditor" runat="server" ToolbarSet="Noticeboard" IsLiveSite="true" />
BodyEditor.MediaDialogConfig.UseFullURL = true;
BodyEditor.LinkDialogConfig.UseFullURL = true;
BodyEditor.QuickInsertConfig.UseFullURL = true;
When I click the QuicklyInsertImage button and choose an image, the resulting image is not found. Chrome for example, reports the following:
Failed to load resource: the server responded with a status of 404 (Not Found)
This happens 90% of the time. The other 10% of the time, it works for no clear reason.
Any ideas on how I need to identify the problem and fix it?
Update: images work when I am editing the page, or an admin. Otherwise, getattachment returns an empty kentico page instead of the image binary
Could you please try setting the Settings > System > Files > Check files permissions to unchecked and see if you have the same issue.
Please, sign in to be able to submit a new answer.