Hi, I was wondering if there was a way to choose the cropping alignment or image quality when using get_special_field_image? With TimThumb, you're able to add "&a=t" (align top) and "&q=60" (quality=60%), like so:
I would prefer not to use TimThumb if at all possible, is there a way to modify the following to match the above?
I'm also curious how this could be done in a component, is that even possible? I've asked that question before and never received a definitive answer. Thanks!
PHP Code:
<img src="/theme/themename/includes/php/timthumb.php?src=<?php get_special_field("spec_field_name","",false); ?>&w=700&h=500&q=60&a=t" alt="<?php get_special_field('title','',false); ?>">
I would prefer not to use TimThumb if at all possible, is there a way to modify the following to match the above?
PHP Code:
<?php get_special_field_image('spec_field_name', return_special_field('title','',false), '700', '500'); ?>
I'm also curious how this could be done in a component, is that even possible? I've asked that question before and never received a definitive answer. Thanks!