NO Image appears

Talk about Image/File fields (uploading, problems etc.)

Moderator: alexandrleonenko

sergiolanza
Newbie
Newbie
Posts: 2
Joined: Mar 23rd, '09, 12:42

NO Image appears

Postby sergiolanza » Mar 23rd, '09, 12:46

Hi,

I've setup my datagrid with the following data:

The sql query is:

$sql = "SELECT ID_Solicitud, Nombre, Apellido1, Apellido2, IF(Sexo='H','user.png','user_female.png') AS Picture, DATE_FORMAT(Fecha, '%d/%m/%Y') as Fecha FROM solicitudes ;";

The view configuration is:

"Picture"=>array("header"=>"Sexo", "type"=>"image", "align"=>"left", "width"=>"20px", "wrap"=>"wrap|nowrap", "text_length"=>"-1", "tooltip"=>"false", "tooltip_type"=>"floating|simple", "case"=>"normal|upper|lower|camel", "summarize"=>"false", "sort_type"=>"string|numeric", "sort_by"=>"", "visible"=>"true", "on_js_event"=>"", "target_path"=>"../Imagenes/varios/", "default"=>"user.png", "image_width"=>"0px", "image_height"=>"0px", "magnify"=>"false", "magnify_type"=>"popup|lightbox", "magnify_power"=>"2"),

The problem is that always appears "no image".

What is wrong?

Thank you in advance,
Sergio.

sergiolanza
Newbie
Newbie
Posts: 2
Joined: Mar 23rd, '09, 12:42

Re: NO Image appears

Postby sergiolanza » Mar 23rd, '09, 15:01

I discovered that if I write "magnify"=>"true" the images appears, but I wan't magnify these images.
Is this a clue?

Regards,

Sergio.

administrator
Site Admin
Site Admin
Posts: 6153
Joined: Jan 7th, '09, 23:18
Contact:

Re: NO Image appears

Postby administrator » Mar 27th, '09, 09:33

May be this one
"image_width"=>"0px", "image_height"=>"0px", - ?


Also there wan a small issue with image magnifying, that was fixed in v.5.0.4 (will be released in 2-3 days)


Return to “Field type: "image/file"”