Pages (2): 1 2   
Member
Member
macalter   2008-03-22, 02:40
#1

The full size images are not shown aligned in the middle. Not sure which CSS property controls this in order to set.

Member
Member
AlexWilson   2008-03-22, 02:56
#2

Which theme?

Usually it's a matter of setting the left and right margins to auto.

Member
Member
sbillard   2008-03-22, 04:40
#3

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.

Member
Member
macalter   2008-03-22, 04:40
#4

I'm using Default with modified CSS (for colours). Is it the image property? This is the current settings, unmodified:

/ Individual Image
------------------------------
/

.image {
margin: 0;
padding: 0;
border: 0px;

}

image {


text-align: center;
line-height: 0;

}

Member
Member
AlexWilson   2008-03-22, 04:45
#5

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.

Member
Member
macalter   2008-03-22, 05:41
#6

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:

If this is checked the longest side of the image will be image size.Otherwise, the width of the image will be image size.

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).

Administrator
Administrator
acrylian   2008-03-22, 11:20
#7

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?

Member
Member
macalter   2008-03-23, 00:56
#8

http://rbctravels.woodengems.com/sample/index.html

my Zenphoto directory is password protected so I took PDFs of the images using two settings, to show the differences.

Member
Member
sbillard   2008-03-23, 01:08
#9

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.

Member
Member
macalter   2008-03-23, 02:02
#10

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?

Member
Member
sbillard   2008-03-23, 02:54
#11

Which ever is largest If height=width, then the images are square so what does it matter?

Member
Member
macalter   2008-03-23, 03:07
#12

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

Member
Member
sbillard   2008-03-23, 15:57
#13

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.

Member
Member
macalter   2008-03-24, 01:05
#14

I have the option
Images size is longest size: If this is checked the longest side of the image will be image size.Otherwise, the width of the image will be image size. checked.

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.

Member
Member
sbillard   2008-03-24, 04:24
#15

Cropping is a separate option.
The CSS must provide the centering.

Member
Member
macalter   2008-03-24, 05:39
#16

Found it: Changed the above-mentioned declaration to:

.image {
border: 0;
text-align:center; / attempt to center Image Page image /
margin-top:0px;
margin-bottom:0px;
padding:0px;
}

and "suddenly, the John Hancock Center moved (image) (Found via Google search as I didn't have a clue how to do this)

Member
Member
nbruley   2010-12-09, 08:01
#17

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.
http://www.gospelriver-gallery.mysitecreations.com/

Also, I seem to have messed up the CSS for the sidebar here:
http://www.gospelriver-gallery.mysitecreations.com/index.php?p=pages&title=terms

Thank you...

Member
Member
nbruley   2010-12-09, 16:10
#18

I reverted to the original poolside.css and it fixed the thumbnail buttons but not the sidebar.

Member
Member
nbruley   2010-12-09, 16:23
#19

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...

Member
Member
nbruley   2010-12-09, 16:51
#20

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...

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.