Image (Upload Media ) and resizing

65 views
Skip to first unread message

Bob

unread,
Jan 21, 2011, 9:55:26 AM1/21/11
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)" ?

Hunk

unread,
Jan 24, 2011, 12:43:22 AM1/24/11
to magic-...@googlegroups.com
yes is possible, mmm wich version? try delete image cache (settings->magic fields)

Bob

unread,
Jan 25, 2011, 1:41:17 PM1/25/11
to Magic Fields
Version 1.5.2

Still unable to resize images with "Image (Upload Media)"

Jason Earrame

unread,
Nov 21, 2016, 8:04:38 PM11/21/16
to Magic Fields
I am experiencing the same difficulty.
Reply all
Reply to author
Forward
0 new messages