vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Album pictures stored on DB ? Possible to make them store on a file ? (https://vborg.vbsupport.ru/showthread.php?t=215808)

losedude 06-10-2009 10:38 AM

Album pictures stored on DB ? Possible to make them store on a file ?
 
Well, my database is started to get way too big due to the fact all the images uploaded are stored on my database. Now I don't think that is good for my CPU usage either, so I was wondering there was a way to make them be stored on file instead of on my database ?

Also if there is, then how can I transfer all my database pictures to a 'file' ?

Thanks :)

Lynne 06-10-2009 02:08 PM

Admin CP > User Albums > Album Picture Storage Type . There is a similar option for avatars (Avatars > User Picture Storage Type) and attachments (Attachments > Attachment Storage Type)

losedude 06-12-2009 07:32 AM

Would that also move existing pictures ?

Lynne 06-12-2009 03:33 PM

Yes.

When I did this, I did it on my test board first to make sure all my paths were correct.

losedude 06-13-2009 06:59 AM

The paths are correct, what exactly are these paths ?

Is it relative to the vB installation, or relative to my server, ie /home/public_html/vb/album ?

Lynne 06-13-2009 03:06 PM

I think avatars and pictures are relative to your forums, but attachments and albums are relative to your server. I would NOT store the albums or attachments in your vb folder. They should not be in your public_html folder at all, but on the same level.


All times are GMT. The time now is 08:44 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.01037 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete