You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,
i'm adding some additional function to have the possibility to shift the
zoom croped result image vertical a later maybe horizontal too.
added line 34:
$zoom_crop_offset_y = preg_replace( "/^[1-9][0-9]*$/", "", get_request(
'zcoy', 0 ) );
modification an line 365:
$cachename = get_request( 'src', 'timthumb' ) . get_request( 'w', 100 ) .
get_request( 'h', 100 ) . get_request( 'zc', 1 ) . get_request( 'q', 80 ) .
get_request( 'zcoy', 0 );
add line 92:
$offset_y = $zoom_crop_offset_y;
and mod line 108:
$src_y = round( ( $height - ( $height / $cmp_y * $cmp_x ) ) / 2 ) + $offset_y;
all done with less knowhow, and a much try and error and very much google :-)
enagble to set a &zcoy=value (pixels) can my positiv or negative value to
shift the croped result verticaly
Original issue reported on code.google.com by michael.lauermann@gmail.com on 23 Nov 2008 at 11:55
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
michael.lauermann@gmail.com
on 23 Nov 2008 at 11:55The text was updated successfully, but these errors were encountered: