Open-event-server: Uploading files

Created on 12 Jun 2016  路  14Comments  路  Source: fossasia/open-event-server

we need a function which allows us to upload image(images)

Used on Pages:

images

Most helpful comment

@niranjan94 I think thats a great idea.. That way, we will just have to put the DB content for URL in img src. It will be a more generic approach.

All 14 comments

@rafalkowalski I will do this

cool @aditya1702 talk with @SaptakS if he's working on it

@rafalkowalski the image can be uploaded to a folder. But then do we need to display the image in the sponsors table?

of course that image should be store in a folder. In user and sponsor table i think that we need to store an path to this image? what do you think? @SaptakS @aditya1702 @niranjan94

Yep. The table can have the path to the image.

Or we could generate the full URL to the image and store in the DB. This way, we can give the organizer option to either upload image or just give the URL to an existing image. If they prefer URL, less storage space usage for us. :)

@niranjan94 I think thats a great idea.. That way, we will just have to put the DB content for URL in img src. It will be a more generic approach.

@SaptakS @niranjan94 I too agree.

@aditya1702 how is it?

@SaptakS @niranjan94 @rafalkowalski @aditya1702 Regarding uploading files, we also need to upload audio and video potentially and here it might be more viable to keep it hosted externally or eg. on Amazon S3. Regarding image files, yes possibly we can host images externally as well, but if image links are changing this could be a problem. So best is if we could upload images either directly or if people give us a URL link, we could grab images from a link.

@SaptakS @niranjan94 @rafalkowalski Are we going to have a separate 'Add Image' button and form or are we directly allowing upload from the table like this:
logo

@aditya1702 I think direct from the table would be suitable

@aditya1702 do you need help with upload files?

@rafalkowalski I am almost finished :) . Will make a pull in a few mins. I closed the request because it had a lot of merge conflicts :sweat_smile:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aviaryan picture aviaryan  路  3Comments

rafalkowalski picture rafalkowalski  路  3Comments

iamareebjamal picture iamareebjamal  路  4Comments

schedutron picture schedutron  路  4Comments

mariobehling picture mariobehling  路  4Comments