Question: I want to use *Universal Image Loader* library in my project I am using `ImageLoader` but it's not working well.
I have to use for grid view and User Profile Image. My `ImageLoader` is not working and is giving me a size problem.

Please tell me how to use Univarsel Library in my project .

here Is my Activity For Profile

```
// ImageLoader class instance
    ImageLoader imgLoader = new ImageLoader(getApplicationContext(),
            Welcome.this);

    image.setTag(image_url);

// whenever you want to load an image from url
// call DisplayImage function
// url - image url to load
// loader - loader image, will be displayed before getting image
// image - ImageView 
    imgLoader.DisplayImage(image_url, Welcome.this, image);

```

Above code used In my profile activity.

I want to know if I am adding Univarsal Image Loader Library.

What code I have to use to load image from url?

Answer: 
As far as I know, you **can't** use prepared statements nor bind values with Joomla.

If you read the Secure Coding Guideliness from the Joomla documentation (<http://docs.joomla.org/Secure_coding_guidelines#Constructing_SQL_queries>), they don't talk about prepared statements, only about using casting or quoting to avoid SQL injection.
In Joomla there is normally the `check()`, `bind()`, `store()` triple from JTable that prevents injection. 

`JDatabaseQueryPreparable` has a bind method that you may want to look at. You may also want to look at the docblocks for `JDatabaseQueryLimitable`. 

One thing I would suggest is that when you get that error, usually it is really because you do have a problem in your query (often wrong quoting or something being empty that needs not to be empty. To see your generated query you an use

`echo $query->dump();`

and then try running it directly in sql.

Also in general it's wise to use `$db->quote()` and `$db->quoteName()` if you are using the API that way you won't run into quoting problems. I think you may have a quoting problem but it's hard to know without knowing your field names.