vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBgarage (https://vborg.vbsupport.ru/forumdisplay.php?f=104)
-   -   Picture Layout Question (https://vborg.vbsupport.ru/showthread.php?t=81509)

fashunphotog 05-15-2005 10:03 AM

Picture Layout Question
 
1 Attachment(s)
I'm using vBGarage 3.1.1 and have a question regarding the way the pictures load onto the page in Edit Mode. Is it possible to have them layer out as if they were in a table instead of side by side?

I'm allowing more than 6 pictures per user and it would be convenient if the pictures would line up say in a three by five table and not side by side left to right.

Is this possible?

Thanks! :-)

FaShUnPhOtOg

EDIT: Please see the picture example of what I require, thx

CrimsonGT 05-17-2005 07:47 PM

I too am trying to figure out how to do this. I allow 9 images to be uploaded and I was hoping to figure out how to put them in a 3x3 table. I could probably do it if I could figure out how to refer to each image seperately but I am at a loss on that one. I am trying to figure out how to determine each picture ID or something of the sort.

wdarton 05-21-2005 03:31 AM

heh...I just posted about the same thing, except that I'm trying to make a gallery of the pictures ....

sorry about the double post...

I'll keep hacking away at it till I figure it out, but I believe the data has to be returned from SQL in groups then inserted via a vbgarage_imagebits (or similar) template that returns one row at a time....

I'm shooting in the dark since its my first attempt at php editing, but if I come up with something I'll post it back

fashunphotog 05-23-2005 02:12 PM

Quote:

Originally Posted by wdarton
I'll keep hacking away at it till I figure it out, but I believe the data has to be returned from SQL in groups then inserted via a vbgarage_imagebits (or similar) template that returns one row at a time....

I find that in the portfolio (garage) view the images do stack into a table layout. When I go into Edit mode and change out editimagebits with imagebits however, nothing appears. Never mind about stacking up.... :ermm:

wdarton 05-23-2005 05:31 PM

I ended up making a new file for the gallery (vbgarage_gallery.php) and new templates specifically for it, and got it to stack them out. I'm still cleaning it up a bit, but it works pretty good

CrimsonGT 05-23-2005 07:26 PM

Hey Wdarton, do you have AIM or MSN? Your the first person I believe who has actually got this to work correctly and I would love to ask you a couple questions if you dont mind

wdarton 05-23-2005 07:32 PM

1 Attachment(s)
drop me an email and I'll send you back the templates and code I used ....I'm all about sharing it with you guys. Too bad that other dude took his toys and went home..he had some nice code goin on there...and I'd certainly like to get my hands on how he did the multiple garages....

redninja@phoenixsportbikeclub.com

oh and this is what it looks like now. I'm working on pagination and some spacing tonight

fashunphotog 05-26-2005 09:00 AM

still looks a bit dirty but I sent you an email asking for the templates... Good job! Thank you. :)

wdarton 05-26-2005 10:07 AM

Like I Said. Still working on it...Apparently a bunch of people want this...

Give me a day or two more and I'll post the code up here. I don't mind sharing.

CrimsonGT 05-26-2005 10:24 AM

wdarton is our new best friend lol.

get on AIM if you got a few minutes man.


All times are GMT. The time now is 04:39 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.01121 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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