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)

lazytown 05-15-2008 07:30 AM

Quote:

Originally Posted by NeverBored (Post 1520034)
Set the dimensions you want in template afm_picture

That sort of works, but it causes other problems... If you only set the height, then the width can grow exponentially for a small picture (for example, if a picture was originally 50x10, it you set the height to 100, the width will become 500!).. If you set both, then most of your pictures will look funny (wrong aspect ratio). I guess I'm looking for something that either 1) takes into account the picture's aspect ratio or 2) allows VB to create thumbnails that have independent limits on width/height (right now it's one number for both)

-vissa

DarkFaCe 05-15-2008 08:56 PM

thanks Installed

Evolution06 05-16-2008 02:54 PM

How would you have it show 2 rows of pictures? Reason I ask if I have a fluid width skin with a side bar and 5 album pictures in a single row stretches it out pretty good would be cool to have 2 rows of 3.

Greek76 05-16-2008 10:54 PM

Great mod how would you go about having the pics resized in the afm template? Meaning how would the code be lets say for 150 x 150?

e7lew 05-17-2008 06:17 AM

Quote:

Originally Posted by Greek76 (Post 1522126)
Great mod how would you go about having the pics resized in the afm template? Meaning how would the code be lets say for 150 x 150?

replace afm_picture Template


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]" width="150" height="150" />
</a>
<br />
<a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a>
<br />
$lpicture[title]
</td>


mavikumsal 05-17-2008 08:05 AM

Teşekkürler....

Greek76 05-17-2008 04:52 PM

Quote:

Originally Posted by e7lew (Post 1522339)
replace afm_picture Template


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]" width="150" height="150" />
</a>
<br />
<a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a>
<br />
$lpicture[title]
</td>


Thanks worked great..

YLP1 05-17-2008 10:09 PM

I was able to get the pics to be vertical but I am having nothing but bad luck trying to get the pics to scroll firstly then to stop on mouseover.

Any ideas on how to get this to scroll?

Thanks in advance.

rapidphim 05-18-2008 05:50 AM

how did you get it vertical?

YLP1 05-18-2008 05:42 PM

Quote:

Originally Posted by rapidphim (Post 1523175)
how did you get it vertical?

In afm_picture put a <tr> before the code and a </tr> after the code.
PHP Code:

<tr><td class="alt1" align="center">
<
a href="$vboptions[bburl]/album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="$vboptions[bburl]/picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]width="100" height="100" />
</
a>
<
br />
<
a href="$vboptions[bburl]/member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td></tr



All times are GMT. The time now is 07:46 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.01455 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)bbcode_php_printable
  • (4)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