Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: encode/decode images

by samtregar (Abbot)
on Feb 25, 2009 at 21:42 UTC ( #746388=note: print w/ replies, xml ) Need Help??

in reply to Re^2: encode/decode images
in thread encode/decode images

That's hilarious! You want to store a jpg in your database without "bothering" with "any binary data type stuff". And you're worried about how much space it will take up. Something here just isn't adding up.

Let's take a step back. Why are you storing images in your database? In my experience this is a bad idea 100% of the time. Instead, store your images on disk and store the path in the database. If you have multiple servers use NFS or even Amazon S3 to store the file. But not your RDBMS - that's not what it's for.


Comment on Re^3: encode/decode images

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://746388]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2015-11-28 11:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (741 votes), past polls