![]() |
|
Full image centering - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Full image centering (/thread-2492.html) Pages:
1
2
|
Full image centering - macalter - 2008-03-22 The full size images are not shown aligned in the middle. Not sure which CSS property controls this in order to set. Full image centering - AlexWilson - 2008-03-22 Which theme? Usually it's a matter of setting the left and right margins to auto. Full image centering - sbillard - 2008-03-22 Full images are displayed just by your browser, not as part of any formatted page. If you want them to be part of a formatted page you will have to create a page and the links to point to it. But then that is almost the same as the image.php page, except for perhaps the size of the picture which you can change. Full image centering - macalter - 2008-03-22 I'm using Default with modified CSS (for colours). Is it the image property? This is the current settings, unmodified: / Individual Image .image { } image {
} Full image centering - AlexWilson - 2008-03-22 If you are viewing just the image in the browser, there is no page loading, thus no CSS -- there is no way to format it without sticking it in a page. Full image centering - macalter - 2008-03-22 No it's not "just the image", it's the page called from clicking a thumb. There's the background (black) and an "image box" (dark grey) where the image is displayed. However, since posting, I unchecked a setting (not intentionally) and now see a LARGE image. The option for Images size is longest size: made quite the difference unchecked! Now the portrait images (the ones that were problematic) are not only noticeably larger (too much) but better centered. I'm finding the explanations a bit confusing to follow so will have to experiment (what this means:
No idea what longest (height is used elsewhere) means vs width of image as there is only an arbitrary setting for width of image (as oppose to the true size of the image if it was displayed outside Zenphoto). Full image centering - acrylian - 2008-03-22 We probably need to define a few things. If you click on the thumbnail, you get a sized image not a full sized image. That you only get if you click on the sized image. Sorry, I don't get really your problem. Maybe you could provide a link? Full image centering - macalter - 2008-03-23
my Zenphoto directory is password protected so I took PDFs of the images using two settings, to show the differences. Full image centering - sbillard - 2008-03-23 Sorry for your confusion. To be explicit, "the longest side" refers to the diminsion of the image which has the biggest value for its size. On a portrait oriented image that would be the height, for a landscape oriented image, the width will be the longest. Full image centering - macalter - 2008-03-23 Indeed, the wording is confusing All my images have the portrait height equal to landscape width. So what number do I enter for "Image size" (default image width)? the height or width? The two layouts are different numbers! And check turned on for Images size is longest size? Full image centering - sbillard - 2008-03-23 Which ever is largest If height=width, then the images are square so what does it matter? Full image centering - macalter - 2008-03-23 actually, this album wasn't done with consistant image sizing. Some are width="597" height="438" others different. The largest is width="891" height="325" but that's only one. They can all be "evened off" to the 597x438 for example. My post should have actually mean the height of the portrait is (will be) equal to the width of landscape Full image centering - sbillard - 2008-03-23 OK, then the description "If checked the thumbnail will be a centered portion of the image with the given width and height after being resized to thumb size (by shortest side). Otherwise, it will be the full image resized to thumb size (by shortest side)." would mean that if the option checked the images will retain their aspect ratios--portrait will remain taller than they are wide and landscape wider than they are tall. There will be "white space" around the image to fill out the thumbnail frame. And "If this is checked the longest side of the image will be image size. Otherwise, the width of the image will be image size." This means that if this option is checked our portrait images will be 597 high and your landscape images will be 597 wide. It the option is not checked, all images will be 597 wide. Full image centering - macalter - 2008-03-24 I have the option Sizing is as it should be. Funny thing is I see my thumbs look "scaled" NOT cropped, or am I imagining things? However, the portrait images are left-aligned. I'm not as familiar with CSS2 placement declarations so don't know if there is a one to center all images or not. The landscape images seem to be okay only because they are large and one doesn't notice the left-alignment. Full image centering - sbillard - 2008-03-24 Cropping is a separate option. Full image centering - macalter - 2008-03-24 Found it: Changed the above-mentioned declaration to: .image { and "suddenly, the John Hancock Center moved (image) (Found via Google search as I didn't have a clue how to do this) Full image centering - nbruley - 2010-12-09 I've spent a bunch of time trying to figure out where the CSS is to get the border around my album thumbs to be the same all the way around and to center them on the index page. Can someone help with this? I'm using effervescence theme. Also, I seem to have messed up the CSS for the sidebar here: Thank you... Full image centering - nbruley - 2010-12-09 I reverted to the original poolside.css and it fixed the thumbnail buttons but not the sidebar. Full image centering - nbruley - 2010-12-09 Tried reverting to old pages.php and it didn't change it either... what else affects the location of the sidebar? I would like it to be next to the text like it used to be... Full image centering - nbruley - 2010-12-09 I installed a whole new test gallery and the sidebar still showed up after the added text... so maybe it wasn't my fault after all... |