PDA

View Full Version : How do I adjust maximum gallery photo size?


K4GAP
05-03-2013, 06:07 PM
I've asked this before with no response. Could it be that I'm asking the wrong group? Should I be asking over at vbulletin.com ?

I just need an answer if anyone is willing ..... please.

Thanks for any help on this matter.

P.S. The gallery I'm speaking of is of course the standard default gallery, not some add on.

John Lester
05-03-2013, 07:11 PM
There is no "gallery" in a default install so I'm going to assume you are talking about the albums? That size can be adjusted by editing the user group and scrolling down to the album options.

K4GAP
05-03-2013, 08:32 PM
There is no "gallery" in a default install so I'm going to assume you are talking about the albums? That size can be adjusted by editing the user group and scrolling down to the album options.

Thank you for the correction. I suppose the two are different.

After checking the settings you noted, I see that the maximum width is set at 600 px. But, some of these higher resolution photos I have are out past any of my fixed width styles that are set at a width of 980px.

Is there another setting somewhere that would fix this?

Thanks

tbworld
05-03-2013, 09:19 PM
Pass a public link or PM me -- to a photo in question and we will find a workable solution. I just want to make sure what (template, CSS) you are talking about.

John Lester
05-04-2013, 12:27 AM
So you want to make them smaller? Try adjusting the sizes for each image type under the attachment manager in your acp.

kNeo
05-04-2013, 06:57 PM
Thank you for the correction. I suppose the two are different.

After checking the settings you noted, I see that the maximum width is set at 600 px. But, some of these higher resolution photos I have are out past any of my fixed width styles that are set at a width of 980px.

Is there another setting somewhere that would fix this?

Thanks

you can stop images from "breaking out" of the layout (As it were) by adding the following to additional.css:


#picturelink a img {max-width:95%;}


without a link to an example of whats happening, I can't guarantee that will 'fix' your specific issue, but it's the quickest (css) way to stop things from breaking out of the layout. I do something similar for youtube videos.

EDIT: Actually I just tested the style I'm working on and it was showing large photos by breaking them out of the layout, so I just fixed it for my own style, and I wouldn't have even thought to check until I read this post, thanks -- shame the default albums aren't more functional. Kind of want an "original size" link or something. Ah well.

K4GAP
05-04-2013, 11:37 PM
you can stop images from "breaking out" of the layout (As it were) by adding the following to additional.css:


#picturelink a img {max-width:95%;}
without a link to an example of whats happening, I can't guarantee that will 'fix' your specific issue, but it's the quickest (css) way to stop things from breaking out of the layout. I do something similar for youtube videos.

EDIT: Actually I just tested the style I'm working on and it was showing large photos by breaking them out of the layout, so I just fixed it for my own style, and I wouldn't have even thought to check until I read this post, thanks -- shame the default albums aren't more functional. Kind of want an "original size" link or something. Ah well.

Thank you, Thank you, Thank you, Thank you, !!!!!

That worked perfectly :up:

I was about to give up and pay for an addon.

Thank you, Thank you, Thank you, Thank you, !!!!!