I don't know what the problem is, your description is a bit too vage, but I can offer some general tips on debugging.
The first thing is to see if you actually can access the folder in which the graphics are stored. Try adding a template called 'view.html' in this folder and then open that folder in the browser. So if the image url is https://www.example.com/images/my-image.jpg
, open https://www.example.com/images/
. If you see your view.html template, great, that means that permissions are set ok. If instead you see a login prompt, you know that you'll need to correct the user or group grants.
Now I'm assuming that before you set the public grants the graphics were working right. Please check if this is still the case if you remove the public grants.
If this works and the images again disappear after you set the public grants again, then something strange is happening where I'll need a bit more information :)
You can also start the debugger from inside Ariadne. Go to the project root of your website and open the Helene IDE, it should be the last link in the 'Settings' section. From there you can select any template from any library used in your project. Click on any one of the templates and you'll be able to edit the template. But in the Tools menu there is also an option 'Start Debugger'. This will show you which objects and templates are called, in which order. To change the object on which the first template is called, just change the URL. e.g. from .../projects/demo/madcat/debugger.html?... to .../projects/demo/madcat/site/images/my-image.jpg/debugger.html?...
P.S. to see a demo website in Ariadne just go to the /projects/ folder and add a new project there. You can now select a scaffold, try the 'mad cat demo' scaffold. It will setup a complete website, which you can then alter.
Op maandag 28 mei 2018 11:24:46 UTC+2 schreef jlescribanoc: