When I upload an image in Admin the file uploads to a folder 'Files' and not into ImageCache. The thumbnail is not created. The image file is not available to select after upload. I have added imageCachePath="/ImageCache/" to site settings but makes no difference. I have updated ImageLibrary to latest version in Nuget but no difference.
Any ideas what the problem is?
using KalikoCMS.Attributes;
using KalikoCMS.Core;
using KalikoCMS.PropertyType;
namespace VPAGlobal.PageTypes
{
[PageType("HomePage", "Home Page", "~/Templates/Pages/HomePage.aspx", PageTypeDescription = "Home Page")]
public class HomePageType : CmsPage
{
[Property("Heading1")]
public virtual StringProperty Heading1 { get; set; }
[Property("Heading2")]
public virtual StringProperty Heading2 { get; set; }
[ImageProperty("Image1", Width = 800, Height = 533)]
public virtual ImageProperty Image1 { get; set; }
//[Property("Preamble")]
//public virtual TextProperty Preamble { get; set; }
[Property("Main body")]
public virtual HtmlProperty MainBody { get; set; }
[Property("Tags")]
public virtual TextProperty Tags { get; set; }
}
}
The first thing I tried was to specify the path in web.config but it made no difference.
<siteSettings adminPath="/Admin/" datastoreProvider="KalikoCMS.Data.StandardDataStore, KalikoCMS.Engine" startPageId="c6841363-fbb7-47b6-a609-bddd2f6ff576" imageCachePath="/ImageCache/" filePath="/Files/" />
I have tried jpg and png and they both end up in the Files folder not in ImageCache and no thumb is created. The file shows green background after you click Start Upload but when you Return to File List it is not there so you cannot select it. Also there is no folder name.
If you click Create Folder and type a folder name then click OK, the folder is not created.
If you delete the Files folder then try to upload you get Internal Server Error as you would expect.
Shall I try update to 1.2.1-rc2 or try remove Kaliko in Nuget and then reinstall?
I've been looking for a ASP.NET CMS with Web Forms support for a while but most work with membership authentication. So I like very much Kaliko works with Identity and lets me integrate my own logic in certains pages.
I've been trying Kaliko out for a couple of days, deeping in my programing knoladge, and I'm starting to understand it and create my first hello word site based on https://www.codeproject.com/Articles/845483/Build-a-website-with-Kaliko-CMS-using-WebForms, but I'm running into this same issue: I can upload images to Files folder but they don't appear in Kaliko's Select File modal, and can neither create new folders.
PD: I'm using version 1.2.3.0
Thanks a lot for your effort and for your help.