Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 03-16-2010, 01:55 AM
ccampo's Avatar
ccampo ccampo is offline
 
Join Date: Feb 2010
Location: Orlando, FL
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Importing albums from folders

I have a bunch of photos (lots of them) and I need to create albums with them.
Basically I have a gallery folder in my server which contains subfolders and everyone of these subfolders with the pictures in it will become an album.

Creating an album manually for each one of these folders it is going to take quite some time.

Does anybody knows of a mod or script that can be used to convert all of these folders in albums? and then upload all the pictures in there to that specific album ?

I'm using vB 4.0.2
Reply With Quote
  #2  
Old 03-16-2010, 09:17 AM
MrToasty MrToasty is offline
 
Join Date: May 2004
Location: Adelaide AU
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a similar task I need to do... If you find a solution, it'd probably apply to my problem too...
Reply With Quote
  #3  
Old 03-22-2010, 04:38 PM
ccampo's Avatar
ccampo ccampo is offline
 
Join Date: Feb 2010
Location: Orlando, FL
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone ? I really hate to import more than 2k pictures manually one by one.
Reply With Quote
  #4  
Old 03-22-2010, 10:58 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's certainly no way to do that with base vb. And I don't recall ever seeing a mod that would do it.
Reply With Quote
  #5  
Old 03-31-2010, 11:27 AM
Rayiw Rayiw is offline
 
Join Date: Feb 2010
Location: Lake Mary FL
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys,
I have a similar problem, and currently working on alternatives to do this.

I'm a newbie, do not sure what is the most efficient way to do this, and I'm also struggling to get albums to display to guests, so if you have any insight into this I'd appreciate it.

Ok here is what I am testing.

I use a tool called Sothink SWF Quicker. I use the Album template.
I create a flash album with external images. (The reason why i selected external was to see if I can create one album, for many different images)

It creates the html display code which I load into a forum post (with html enabled)
You will have to play around with the sizing to make it fit, but this is html.
The question is where do I load the images and swf file?

Right now I have a folder called images on the server and placed everything in there.
I provide a full link to the content from the html and it works.
  • benefits are I can batch upload any number of images.
  • It has a slide show with a reasonable size image, with control options.
  • It is flash so images are protected from download
  • Also protected from linking too.
Issues:
  • Not sure it works well with photos of different orientations. (I have manually post processing rotated some images and shrunk them to fit vertical dimension, I need to pla around with centering the image)
  • I'd like to custom name the browser
  • I want to add captions somehow
Questions.
  1. If I add an attachment to a forum or article, what is the physical address location? (I'd like to address items for display, ie attach an album with embedded images)
  2. Once you have added html into a post, how do you redisplay it to edit it?
  3. I have checked various posts about album support and have not come to a conclusive solution, if anybody has any better solutions please advise.
I took a look at PHPMotion, but its too time consuming uploading images in threes and labeling each individual one. Then you have the different authentication to deal with.

If you want to take a quick look at what this looks like go HERE

Would be interested in your comments.

thanks
Reply With Quote
  #6  
Old 03-31-2010, 05:16 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks cute, but a whole lot of trouble for still images. And with the new video tag, Flash is probably more trouble than it's worth also. Besides, I can't see any way users could actually do that - for various security reasons you can't let them post html at all.

A1: AdminCP>Attachments>Attachment Storage Type gives you the path.
A2: Refresh (F5) I guess.
A3: I wonder if a mod that displays inline Flicker, Picasa, Facebook, etc. albums wouldn't be best. Especially what with people always trying to upload beaucoup multi-megapixel snapshots of their pets. Who wants to store that crap?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:05 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.03947 seconds
  • Memory Usage 2,201KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete