Bob
unread,Jan 21, 2011, 9:55:26 AM1/21/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Magic Fields
Hi,
l try to resize image with a "Image (Upload Media)" field but it not
works.
Code
$nuevos_phpthumb = array ("w" => 100, "h" => 100);
$nuevos_atributos = array('id' => "foto_uno", "class" => "clase1
clase2", "rel" => "un rel");
$bigimg_params = array("class" => "clase1 clase2", "alt" => "Featured
Photo", "w" => 130, "h" => 150 );
echo get_image( 'test_media',1,1,1,NULL,$nuevos_phpthum);
echo gen_image('test_media',1,1,NULL,$bigimg_params);
echo gen_image('test_media',1,1);
echo gen_image('test_media',1,1,$nuevos_phpthum);
echo gen_image('test_media',1,1,$nuevos_phpthumb,$nuevos_atributos);
Result
show image ( orginal size )
show image ( orginal size )
show image ( orginal size )
show image ( orginal size )
Nothing
It is possible to resize image with "Image (Upload Media)" ?