Hi, Would it make sense to use Base64 encoding for images if the size of the image is small?
Regards, Ameer On Thu, Mar 6, 2014 at 11:31 PM, Luca Garulli <[email protected]> wrote: > Hi, > the upload with HTTP is pretty buggy and we don't want to invest more time > on it, because we've a fork to replace our HTTP layer with Jetty. So I > suggest you to store binary data somewhere else or to not use HTTP/Rest > driver. > > Lvc@ > > > > On 6 March 2014 18:32, Mac Adada <[email protected]> wrote: > >> Hey Gaurav, >> >> Like Stefan, I don't have a solution to your question, and I hope you get >> a response, I've found the community to be quite helpful generally >> speaking. I would suggest that instead of storing your images in orient, >> you store them on disk somewhere as suggested by that doc, or use something >> like S3 (http://aws.amazon.com/s3/) which is super simple to use. You >> can then just use orient to store the path to the file on disk or the path >> to the file in your S3 bucket. This is just my $0.02. >> >> Cheers, >> Mac >> >> >> On Thursday, March 6, 2014 7:47:14 AM UTC-5, Gaurav Dhiman wrote: >>> >>> Thanks Stefan for your response. >>> >>> Yes I understand that storing images in class attributes is not the best >>> way >>> (reference<https://github.com/orientechnologies/orientdb/wiki/Binary-Data>), >>> but I need at least some way to store images in OrientDB, whatever it is. >>> My app will have images for user (profile image), business (logo) and >>> product (product images) classes and uploading and retrieving images is >>> must for my app. >>> >>> Regards, >>> Gaurav >>> >>> >>> >>> On Thursday, March 6, 2014 2:26:51 AM UTC+5:30, >>> [email protected] wrote: >>>> >>>> Hi, >>>> >>>> I'm not the person you are waiting for and I do not have the answer >>>> that you are looking for, only an observation/opinion. >>>> >>>> I think it's generally a bad idea to store images in the database, if >>>> that is your intention, in OrientDB and any other database. >>>> >>>> Regards, >>>> -Stefan >>>> >>>> On Wednesday, 5 March 2014 18:55:36 UTC, Gaurav Dhiman wrote: >>>>> >>>>> Is this a dead community ? >>>>> >>>>> I have been sending my queries for last few days, trying to learn >>>>> OrientDB way, but no one bothered to respond. Now I am wondering if >>>>> OrientDB is actually a right piece of technology to bank on or not as >>>>> community supports looks poor to me. >>>>> >>>>> Well if someone is listening, kindly help on my queries, else I will >>>>> have no option but to drop OrientDB from my project. >>>>> >>>>> P.S - Kindly do not take me wrong for my bit hard words. I am unhappy >>>>> as I am stuck with few points in OrientDB that are crucial decision >>>>> factors >>>>> for my web app and I am not listening back anything from any corner. >>>>> >>>>> Regards, >>>>> Gaurav >>>>> >>>>> >>>>> On Wednesday, March 5, 2014 5:59:19 PM UTC+5:30, Gaurav Dhiman wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I read about uploading image / doc to OrientDB at below lnik, but >>>>>> that is not making clear anything of how to do it using REST API. An >>>>>> example will help. >>>>>> https://github.com/orientechnologies/orientdb/wiki/Binary-Data >>>>>> >>>>>> I could not find class type to be of ORecordBytes type in OrientDB >>>>>> Studio. Can someone explain with example to upload an image to OrientDB >>>>>> class attribute or whatever is the best way possible. >>>>>> >>>>>> Just a thought, I have been asking few queries since last few days as >>>>>> I am new to orientDB, but did not receive any response, so just wondering >>>>>> if OrientDB community is actually active or not. >>>>>> >>>>>> Hopefully someone should reply :-) >>>>>> >>>>>> Regards, >>>>>> Gaurav >>>>>> >>>>>> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
