Page 1 of 1

Folder Styles

Posted: 25 Oct 2018, 16:36
by CrisC
Hi,

Is it possible to set the "Preview Image" for a parent folder?
It seems, that the system is using a "random" image - or at least one specific - and when I'm trying to change the "Page Preview Image" for the Parent folder, this does not work...

Image

Image

Re: Folder Styles

Posted: 26 Oct 2018, 00:58
by mjau-mjau
Unless you are setting a preview image that exists in the folder, you need to use a PATH. How else is the page supposed to know what subfolder to look into to find the specified image? For example:
Code
Laura/2015/001/2015-01-21_2684.jpg
When a folder does not contain it's own images, it will look into the FIRST subfolder and get the FIRST image it can find. Unless you specify the preview image (as above). You can also upload an image to be used for preview and simply "hide" it from the gallery.

Re: Folder Styles

Posted: 26 Oct 2018, 02:27
by CrisC
:thumbsup:perfect, thanks
Using the "preview.jpg" is working fine.

The other way with giving the path to the image - seems not to work for me.
Unless I've uploaded the same image into the root of the parent folder, the preview name did not get the blue "button" style.

Re: Folder Styles

Posted: 26 Oct 2018, 05:53
by mjau-mjau
CrisC wrote:Unless I've uploaded the same image into the root of the parent folder, the preview name did not get the blue "button" style.
The blue "button" indicates images that EXIST inside the folder. If your folder has NO IMAGES, there is nothing to select. You can still ADD a path to another folder, but there are no existing images to select from inside the image.

Re: Folder Styles

Posted: 26 Oct 2018, 11:11
by CrisC
hm... all right.
I will have another look at this then, because after I've used the path to the image I wanted to be used, nothing has changed.
Maybe, I've had a typo somewhere...

Now it is working :)
I've had to give the path with a leading ./

So I've changed this
Code
Laura/2015/001/2015-01-21_2684.jpg
to:
Code
./Laura/2015/001/2015-01-21_2684.jpg
and then it worked