vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I adjust maximum gallery photo size? (https://vborg.vbsupport.ru/showthread.php?t=297796)

K4GAP 05-03-2013 06:07 PM

How do I adjust maximum gallery photo size?
 
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

Quote:

Originally Posted by John Lester (Post 2419806)
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

Quote:

Originally Posted by GaryT (Post 2419812)
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:

Code:

#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

Quote:

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

Code:

#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, !!!!!


All times are GMT. The time now is 03:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01061 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete