PDA

View Full Version : What happens to the original file?


mcpaul
April 25th, 2009, 07:20 AM
Hi there,

I'm considering purchasing photoPostPro to intergrate with a vBulletin forum, but I have several questions I cant find the answers to:

Where are uploaded files stored? Do I get to specify that?

Is the orignal image file kept?

Can I create multiple images of different sizes (ie thumbnails, small, medium, large, orignal file), and set user permissions so that only some users can see the full sized images? If so, is that part of the admin controls, or would it require some additional coding?

How customisable is the flash uploader?

Does it intergrate with or replace the vb user albums?

Are there vb hooks in the code so that we can expand on some functionality?

thanks for listening :D

Chuck S
April 25th, 2009, 09:40 AM
The uploaded files are stored usually under a data directory under the photopost directory but you can change that in global options.

The original file is kept if your settings allow that

The files kept are thumbnail medium(if set to create one) and large( original if you have no resize settings set high where the processor does not touch the file)

Not really sure how to answer that one. The flash uploader allows you to select multiple files from your computer and upload them bypassing any php server restrictions which are imposed upon a normal http upload prompt.

It would i guess replace vb user albums. vb user albums are not a photo gallery no where near it. You cant create categories or perform most of the gallery functions the vb albums thing is a simple user album where users can upload photos to.

There are vb hooks like displaying photos on the forumhome or the category index on vb forumhome or profile photos if you choose to install them.

mcpaul
April 26th, 2009, 05:40 AM
Thanks for the response Chuck, on the weekend too :O.

Sorry, I think Im not asking the right questions. Let me try again. Basically my problems are thus:

1. vBulletins uploader is rubbish, I need something like your flash uploader so people dont assume their pc is broken when uploading a large image. It'd be nice to change the background color and fonts in the uploader..is that kind of thing possible?

2. we need multiple verisons of each image, in varying sizes.im not sure 3 is going to be enough...if the orignal files are available then I think it's only a small step to creating these...especially if the image files are delivered back to <img> tags in a similar fashion to vb (ie in a php script, with hooks?)..is that how your system works?

3. we need to make the orignal files available to a selected user group, but not anyone else. Again it is vbs upload method that is causing me problems here. Is your system going to cause me similar problems?

4. (and this is were im expecting to do some coding of my own) we need to enable some kind of tagging feature so that we say have users say "oh, there's Bob in that photo" and look at other photos containing bob. I have a tagging feature that works with user albums and pictures by pluging into a couple of vb hooks....will I be able to plug into vGalelry the same way?

Chuck S
April 26th, 2009, 07:51 AM
1. vBulletins uploader is rubbish, I need something like your flash uploader so people dont assume their pc is broken when uploading a large image. It'd be nice to change the background color and fonts in the uploader..is that kind of thing possible?

You can try and edit the flashuploader.css file to see if you can modify it as you wish. That code is not released or supported by us.

2. we need multiple verisons of each image, in varying sizes.im not sure 3 is going to be enough...if the orignal files are available then I think it's only a small step to creating these...especially if the image files are delivered back to <img> tags in a similar fashion to vb (ie in a php script, with hooks?)..is that how your system works?

The images are actually images created on disk through the use of an image processor like imagemagick or gd much like vb attachments so if your trying to create sizes that simply do not exist in the default code you would need to modify code at your own leisure.

Photopost images have specific paths like so

http://www.domain.com/photopost/data/thumbs/image.jpg
http://www.domain.com/photopost/data/medium/image.jpg
http://www.domain.com/photopost/data/image.jpg

3. we need to make the orignal files available to a selected user group, but not anyone else. Again it is vbs upload method that is causing me problems here. Is your system going to cause me similar problems?

If you use the flash uploader you will by pass php restrictions. As stated if you dont want to resize a file down to keep originals you can do that if you use vbgallery. Photopost has way more options but I think if you want originals kept no matter what size restrictions you set vbgallery might be more suited to you as you can set usergroupu permissions of who can view an original but then again you lose mediums images. In vbgallery you just have thumbnails the resized image and then if you choose to save originals the original.

4. (and this is were im expecting to do some coding of my own) we need to enable some kind of tagging feature so that we say have users say "oh, there's Bob in that photo" and look at other photos containing bob. I have a tagging feature that works with user albums and pictures by pluging into a couple of vb hooks....will I be able to plug into vGalelry the same way?

You would need to modify code on your own sure. I cant answer what you must do not really something I have ever looked at personally.

mcpaul
April 26th, 2009, 09:41 AM
Thanks for your help Chuck. Gotta go discuss it with the boss now.

Chuck S
April 26th, 2009, 10:43 AM
Not a problem any other questions let me know.