You mean two completely identical files just with a different file name?
The files we’re not identically, but that is not important. The fact is that as soon as there is another file in the content (!) folder which has the same name as the other file in the media (!) folder will have after resizing, the resizing fails. That shouldn’t be the case. I really think that is some kind of bug. The media file for the first file should be created, even though there exists another file with the same name in the content folder.
Could you please create an issue on GitHub then?
I will do so.
Unfortunately, there is a second problem. Maybe you have an idea. As soon as the media folder is in a different location (see above), no more images are generated either. Again, only the .jobs files are located there. This should be easy to reproduce, e.g. with this index.php:
<?php
require 'kirby/bootstrap.php';
$kirby = new Kirby([
'roots' => [
'media' => '/../some-other-place/media',
]
]);
echo ($kirby)->render();
I don’t need to change the url because i changed that in the apache config, so that /media is reachable and the files within the media folder are delivered by the webserver. The problem is that no files are created from kirby. Idea?
if relative paths do not work for media folder consider using a symlink
The problem here is that no media files are generated.
Access to the path from the webserver is working
Alias /media /path
in apache’s httpd.conf.