Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Image String in Folders

23 Nov 2014, 12:46

I really like that when I am specifying an image for a folder... and the images lives in the folder... I can just specify the image filename... ie. image.jpg.

However if the folder does not have images in it... I need to specify the fully qualified path to the image... even if the image is deeper in that folder structure.

For example...

If I am specifying an image for the "1.arkansas-river" folder I need to specify

"2.Kayaking/1.arkansas-river/1.clear-creek/IMG_1725.jpg"

Instead it would be nice to be able to specify

"1.clear-creek/IMG_1725.jpg" because the "1.clear-creek" folder is deeper in the folder structure.

This would foster less maintenance if I want to move/rename "2.Kayaking" to "3.Kayaking".
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Image String in Folders

23 Nov 2014, 13:00

The problem is, how will x3 know that you want to get an image relative to current path and not relative to the content root? If it always looks for an image relative to current path, it would not be possible to get an image from another branch in the content tree ...

I could perhaps differentiate between /path/path/image.jpg with opening slash/ which means path is relative to content root, and path/path/image.jpg without opening slash, which means path is relative to current folder. This is a bit prone to errors though ...