Search…

X3 Photo Gallery Support Forums

Search…
 
CrisC
Experienced
Topic Author
Posts: 59
Joined: 23 Oct 2018, 05:13

Folder Styles

25 Oct 2018, 16:36

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Folder Styles

26 Oct 2018, 00:58

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.
 
CrisC
Experienced
Topic Author
Posts: 59
Joined: 23 Oct 2018, 05:13

Re: Folder Styles

26 Oct 2018, 02:27

: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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Folder Styles

26 Oct 2018, 05:53

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.
 
CrisC
Experienced
Topic Author
Posts: 59
Joined: 23 Oct 2018, 05:13

Re: Folder Styles

26 Oct 2018, 11:11

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