Page 1 of 1

Color description image + text in maincontrols

Posted: 19 Nov 2010, 16:13
by nicovandekamp
Hello,

1. Where is the color defined for the description? I have found it "text_1_description" :D
2. The same for the main control at the thumbnails (page number, next picture etc.)? I have found it ".maincontrols" :wink:
3. And where is the colors of the main controls defined like the arrow (previous, next), slideshow, full screen etc?
4. Where can I define the position of the image description if it should be placed at top of the image or at the bottom of the image?
5. I know, beside of the speed. Is there a limitations to the size of the picture? Or what is max size for a picture?

I have copied the default template. If I look at the config.xml then this empty or the text in the config.xml:
"Why is this XML empty? - Because the default theme is identical to the default theme file in imagevue/include/theme.xml!"

Does this mean that the config.xml in the include is used? And the same for the default.css?

Maybe a suggestion, what should help is documentation with the screen dumps. In this screen dumps is written which part of the css is responsible for what. And what can be influenced by the settings.

Nico

Re: Color description image + text in maincontrols

Posted: 22 Nov 2010, 02:56
by mjau-mjau
Perhaps you should take a look through this first:
https://www.photo.gallery/documentation/cssreference/

Keep in mind, some CSS classes are recursive. This means for example that .text_1 {} sets the style for the ENTIRE text1 text-block. The .text_1_description {} only sets style for the description inside this textblock (meaning it wont affect the title or any other items you are displaying in this text).

1. Basically, yes, but take into consideration what I said above. Also, remember to CLEAR your browser cache after updating a CSS file to see any changes.

2. Thats right.

3. CSS stylesheet is ONLY for text, so other item colors are usually set in the THEME. Go to admin -> themes -> edit your theme -> controls.maincontrols.button ... See background_color and foreground_color. By default, these are set to inherit the default theme background and foreground colors so the theme is consistent ...

4. Go to settings -> text.text1.style - Here you have a few alignment options. Also see other items under text.text1 to control the text block.

5. Max size is 2000x2000px because flash player doesnt want to handle bigger files because of memory restrictions. However, even this would be considered way too big ... Imagevue will just scale down big images like this to fit within the visitors screen resolution, so it makes no sense unless you have some specific reason for wanting your visitors to access high-res pictures.

Why is your copied default theme empty?
Because basically it uses DEFAULT settings from a default XML file. Only CHANGES you make will be saved in this file. Why is it like this? So that when we release an update, you get new features, but still get to keep your theme changes ...

Btw. you should be using the admin to edit themes, as the you need not to try to understand how Imagevue handles this transparently.

Does this mean that the config.xml in the include is used?
Yes. although items are overwritten from theme- and settings user changes. It uses the XML in the include folder to build the default values unless they are set specifically. As I mentioned above, you should be using Imagevue admin to handle this as to avoid any confusion. Basically, any changes you make are stored in theme or user files.

And the same for the default.css?
No. It always uses only the CSS in the theme folder to set styles for text.

Thanks for your suggestion!