Hi,
Is it possible to add background image? Tile or fullscreen?
Win
X3 Photo Gallery Support Forums
mjau-mjau wrote:Even if It was not added to the global CSS, it would still need to then get injected as CSS inline style on a per-page basis. Anything that converts to CSS is impractical to add as proper settings.
How would you stretch it? Perhaps a subtle background-pattern, but I don't see the need to change background patterns on a per-page basis ... That would be like trying to implement change of button color on a per-page basis.
Why even compare X3 and X2? They are two entirely different concepts, as X2 is 1) A Flash application that 2) does not scroll. I answer a LOT of posts, while I do a LOT of development, so I answer what I truly believe without trying to sugar-coat it.Bulletproof IT wrote:Ok. Again that is your opinion Karl. So are you admitting you made a huge mistake implementing it into X2? You seem to be either taking "suggestions" on as being critical feedback or attacking the project. I am not.
You already have the ability, from the custom CSS. If you are not familiar with CSS or willing to learn some basics, then you should be avoiding this in the first place. If you can come up with a background image and how you would it to look, I will help you integrate it in the CSS and we can check the result.Bulletproof IT wrote:Who's talking button colours? I am simply saying it would be **nice** to have the ability to change the background image / colour within galleries.
For example: repeating graphic (any size). For example: solid colour. For example: Gradient of two solid colours. For example: Static fixed image that crops to screen proportions.
Yes, and it is applied in CSS:Bulletproof IT wrote:Are you not familiar with how expanding a background image larger than its dimensions is achieved with other systems? How they expand and fit a background image, so that it is even blown up much larger than its original dimensions? (1.2, 1.5 times larger) You must have seen this? Where a small pixelated pattern is added as a layer on top of the background image to hide any distortion.
Are you not familiar with the FIXED background method? It stays in place whilst scrolling.
background: all options here
background-image:
background-align:
background-scale:
background-fixed:
Appreciate all ideas, and that is why we respond to them. Many ideas are not good. It doesn't mean they can't be used.Bulletproof IT wrote:I think you are getting stuck in the nitty gritty. I'm not "telling" you how to implement it. I am "suggesting" ideas with an "example". So I used CSS as an example. Like every car owner will say (and likely business), "I don't care how it works, I just want it to work." So whether it is JS, CSS, HTML, xHTML, PHP, ASP, even Flash, It doesn't matter, it just has to get from point A to point B. We're talking about ideas, not line-by-line methods of coding it.
Never said we don't want to allow changing background color. Please understand that background color is part of the CSS SKIN, and the skin code looks like this https://www.photo.gallery/demo/x3/public/css ... efault.css. We want to provide MORE skins asap, and we already allow changing anything from the custom CSS. However, as emphasized, it would not be productive to suddenly add a single CSS setting into main settings, that does not benefit from CSS syntax ... Furthermore, changing the background, and you are affecting the entire website colors. I already have requests like this: Hey I changed the background color to dark, but now the foreground does not match. What gives?" ... The entire style is linked and more complicated than most think.Bulletproof IT wrote:Others above say it would be a helpful and useful feature. Having a gallery background or pattern or colour would be great. Just like you would set Music or Sort Order or Thumbnail Size per gallery!
Why would you want to specify a different thumbnail size per gallery??? Ok, now why would you not want to specify a different background per gallery??
Thanks!
Just keep in mind, it's not really a background specific to content module ... As you see in both example links, the background generally starts from top left corner of website and/or is basically an "intro" image at top. In both cases, it is not some basic CSS ... In fact, both cases are actual image elements, layered in absolute positions with the help of CSS and javascript.MikeR wrote:I'm also interested by the Background Image for specific pages (like contact, newsletter or about pages) in particular for the content module.
This is another case technically. It still requires some complex CSS and separate html elements injected with javascript, but is not a CSS background image. With CSS, it's a bit limited, and basically you would/could end up with something like this:MikeR wrote:by example :
http://www.martinasperl.at/contact/
Greatwe plan to add a "image-background" plugin.
Great ! If X3 have the plugin.mjau-mjau wrote:we plan to add a "image-background" plugin.
body div main#content.main {
background-image: url("../content/background/image.png") ;
background-repeat: no-repeat;
background-position: top center ;
background-size: height:789px ; /*your image size*/
}