vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Latest Album Pictures - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=174445)

Galeon 05-21-2008 07:46 PM

Quote:

Originally Posted by vissa (Post 1525356)
I had to disable this mod only because if I set the vertical dimension to be fixed, then the picture can become ridiculously large in the horizontal dimension.. I realize it's not this mods fault, but we really need a way to specify width/height independently as a MAX (taking ratio into account -- which is not that difficult).. However it may need to be implemented in the thumbnail resizing code separately from this mod.

-vissa


Hope this help
PHP Code:

<td align="center">
<
a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]style="width:expression(this.width > 120 ? 120 : true); height:expression(this.height > 120 ? 100 : true)" />
</
a>
<
br />
<
a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td


Boofo 05-21-2008 08:14 PM

Just set the max width you want and the height will adjust accordingly.

eXoOutsider 05-21-2008 09:25 PM

Very nice! Installed!

Can this at all slow down your forum?

RvG2 05-22-2008 01:56 AM

No.

readjono 05-22-2008 03:00 PM

I have it under who's online, anyway I can move it about so it appears under my vB Shout?

Evolution06 05-22-2008 04:08 PM

Quote:

Originally Posted by Galeon (Post 1527245)
Hope this help
PHP Code:

<td align="center">
<
a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]style="width:expression(this.width > 120 ? 120 : true); height:expression(this.height > 120 ? 100 : true)" />
</
a>
<
br />
<
a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td


Awesome that code helped me out my skin is finally back to it's fixed width and not stretched out anymore thanks!

hirlas 05-23-2008 12:37 AM

I am only getting the images to show for logged in users. Is there somewhere to change this permission? Other than that, this mod works great! Easy setup!

edit: No idea why I couldn't find this... it's under the usergroup permissions.....

Menzer 05-23-2008 07:30 PM

Jeeeeez I was praying there was a mod just like this when I installed 3.7 and boy was I jumping!!! Excellent Mod works a treat alongside All Albums....

I know the mod is designed for the Homepage - But this mod would be crazy mad if you could choose to have the album thumbnails show in selected areas of the board...

Example, if I wanted the albums on the front page at the top + the main forum post page at the top or maybe have it on the front page + Thread page at the top etc...

Did I make sense - lol

qtouch 05-25-2008 04:23 AM

Installed !! thanks sir

rapidphim 05-25-2008 04:38 AM

can anyone provide a demo to vertical look for this hack? thanks.


All times are GMT. The time now is 02:22 AM.

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.01468 seconds
  • Memory Usage 1,752KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete