Search…

X3 Photo Gallery Support Forums

Search…
 
plug
Topic Author
Posts: 2
Joined: 26 Sep 2007, 07:34

textcol not storing and passing on the value I set

26 Sep 2007, 08:59

textcol Problems!

I am encountering problems with the 'textcol' variable in my Slideshow. It doesn't seem to store and pass on the value I enter. The extract from my Slideshow configuration (slideshowimagevueconfig.ini) shows the problem:

[VISUAL]
textcol = FF9900

[CONTROLS]
controlsbackgroundcolor = textcol

If I apply the above settings in my Slideshow config the main controls remain (or turn) White instead of Orange (FF9900). However, if I enter the color value directly into controlsbackgroundcolor as follows:

controlsbackgroundcolor = FF9900

then the main controls in the Slideshow turn Orange (as they should).
Although this works, it is not the best way to do things. There are numerous other variables in the file that take and rely on the value of textcol. I will end up having to change them all individually instead of simply being able to change the value of this single variable and letting it effect them all in one go. I don't want to go down that road, if you see my point!

Any suggestions. I'm somewhat confused as to why this isn't working as it should. Suggestions will be most appreciated.

Thanks,
Plug.
 
User avatar
globetrotter
Imagevue Expert
Posts: 844
Joined: 18 Oct 2006, 13:16

26 Sep 2007, 09:17

I encountered the same problem.

The slideshow, which is started from the thumbnails, will use the textcol which is set in the config.ini file.
Rene
http://www.globetrotternet.nl/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

27 Sep 2007, 13:29

I am aware of this issue, allow me to explain the paradox -

The slideshow module in Imagevue inherits the bgcol and textcol settings from the Imagevue. It is done this way to ensure the correct contrasts for foreground items vs. background items when the slideshow module is active in the Imagevue gallery.

Many users have multiple configuration files for their Imagevue gallery with different color schemes(config.ini). If the colors were not inherited into the slideshow, this would create many combinations where the menu items in the slideshow were not visible on the background. This would also apply when setting colors in the URL parameters (ex. "gallery/?textcol=FFFFFF").

Take our template demos as an example (https://www.photo.gallery/imagevue/templates/). They all use an identical slideshowimagevueconfig.ini file. If main colors were not inherited into the slideshow, it would create havoc with the menu items(light text on light background, dark text on dark background etc.)

I do understand your frustration, and thats why in the new version, there will be simply one config file to rule them all. For now you may have to stick with setting colors individually to items.