![]() |
Images in the File system
I worked on putting the images in the file system tonight. I got so far as to be able to store and retrive them. I have to work on the delete tomorrow. So far this does not add any data queries, just one call to mysql_insert_id(). However no queries have been eliminated. I will do a convert DB images to the file system as well. Cheers |
thanks noppid
|
Images is the file system is ready. I have to do the refining of the code now.
I need to decide a few things. The main script will run in DB mode or FileSystem mode. How we will choose which is the question. Right now I'm thinking an edit to the main script. A vbgconfig.php is an easy option too. There will need to be a path to the files and a file prefix set. This is so each of us can have a unique path to our files and sorta hide um. I'm currrently storing the images in a folder set 777 above the web root folder. This too can be a hard edit of the main script or in a new vbgconfig.php file. Do we want to gz compress the files? This could add over head. The files will need to be ungzcompressed on a retrive and then most likey just gz'd again if we have gz compression on for the site enabled which most of us do. Moving existing files from the DB to the FS is no problem as far as I can tell, however if anyone has a comment on this it would be welcome. Please give us feedback on this so we can have the best of the features we need. |
Fantastic noppid ! :D
As for the choice, can it be made a vbulletin setting ? ( 'Store images in DB or in File System' for e.g ) But this would probably mean quite a bit of duplicated code in the script, one for DB, the other for file system ? I am not too concerned about where the images are placed ( as in, if members are able to access them directly ), after all, it is to showcase their images. I am not familiar with GZcompress, so I do not know what overheads may be present. But as long as it possibly speeds things up, I'm all for it :D Keep up the good work mate ! :D |
Quote:
|
I am also curious as to when we might see some display adjustments. The current layout is very barebones.
I'm also hoping someone would release a "multiple car" option. Yes, there are some out there, but no code for public consumption. |
Quote:
what modifications can I make to your edits that would allow me to use text, rather than an image? Perhaps in the dropdown box when a username is clicked that will say "View User's Garage," but only if that user has a garage. |
Thanks a lot for this Magnus. I made some changes, but works great! I hope my users will love it too.
http://www.spoofee.com/forums/vbgarage.php |
Quote:
|
Quote:
|
All times are GMT. The time now is 01:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|