vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   PhotoPlog: vBa CMPS Thumbs (https://vborg.vbsupport.ru/showthread.php?t=103839)

GrendelKhan{TSU 08-04-2006 10:24 AM

would much appreciate it if someone could post how to:

-- change thumbnail size
-- name of the file (like blue said....)
Quote:

Also, is it possible to include the name of the file (limited to a number of characters in the php file) instead of the username? If so, I'd be incredibly greatful if you could post the code.
I'd be very grateful if someone could post that info. :)

Guest210212002 08-04-2006 05:10 PM

[high]* Guest210212002 Updates
[/high]

One small error Calorie, when I try to validate this code, there are no alt tags defined for the thumbnails so it fails:

Code:

<a href="/photoplog/index.php?n=26">
<img src="/photoplog/file.php?n=26&amp;w=s" border="0" />

I added: alt=\"Thumbnail\" to the end of the image call like so:

Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=s\" border=\"0\" alt=\"Thumbnail\" />
Into photoplog_thumbs.php, and it validates now. :)

ltaylor 08-08-2006 05:17 AM

Thank you again Calorie!

wezoo 08-20-2006 12:17 AM

would it be possible to display these on my none vb portal calorie?

GrendelKhan{TSU 08-25-2006 04:50 AM

anyone get this to work with 3.6.0 gold?

Baku 09-10-2006 10:32 PM

Ok error i was getting is now resolved. :)

Great Mod - any way we can specify the number of thumbnails shown?

GrendelKhan{TSU 10-31-2006 03:32 AM

no one knows how to change the size of the thumbnails??

and get rid of the cellpading?

digital_sc4rz 12-21-2006 09:05 PM

ThanX :cool:

maranello 12-27-2006 09:58 PM

Guys, someone please explain how to change the thumbnail size.

maranello 12-27-2006 10:23 PM

alright, i found the solution to change the thumb size:

open "photoplog_thumbs_horiz.php" file (or if you are using vertical one open "photoplog_thumbs_vert.php").

Find the line that starts with:

PHP Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->..... 

At the end you will see w=s\", make it w=1s\"

Again, at the end of the line, after border=\"0\" add width=\"yourchoice\" where yourchoice is the width you want. So in my case, that line looks like this:

PHP Code:

<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&amp;w=1s\" border=\"0\" width=\"175\" /> 



All times are GMT. The time now is 06:35 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.01332 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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