Always depends of context, but usually, I store a user image on the filesystem in a folder called /content/user/{user_id}.jpg
and try to bother the database as little as possible.
More Related Contents:
- Can I store images in MySQL [duplicate]
- I need my PHP page to show my BLOB image from mysql database
- Php : Convert a blob into an image file
- How to display an BLOB image stored in MySql database?
- Saving images in database mysql
- Im trying to create some temporary tables in mysql using php
- the update query just update the last row and affect other with it’s value
- How to apply bindValue method in LIMIT clause?
- Importing CSV data using PHP/MySQL
- Super fast getimagesize in php
- Convert latin1 characters on a UTF8 table into UTF8
- mysql_fetch_array() expects parameter 1 to be resource problem [duplicate]
- PDO multiple queries
- Using strtotime for dates before 1970
- Turn database result into array
- Update query with PDO and MySQL
- (mysql, php) How to get auto_increment field value before inserting data?
- Trying to get property of non-object – CodeIgniter
- onbeforeprint() and onafterprint() equivalent for non IE browsers
- How to get a query error from prepare() in PDO PHP?
- How can I pass an array of PDO parameters yet still specify their types?
- Fatal error: Call to a member function query() on null
- MySQL & PHP Parameter 1 as Resource
- MySQL GROUP BY and Fill Empty Rows
- mysql injection damages?
- PHP Laravel: No connection could be made because the target machine actively refused it
- SQL Query with binary data (PHP and MySQL)
- How do I format numbers to have only two decimal places?
- Group mysql results by category and display them into groups under each category
- PHP & mySQL: When exactly to use htmlentities?