2016-12-15, 07:29:48
(2016-10-23, 21:03:43)Oleg06 Wrote: At the cost of enormous efforts we managed to get sample code to crop images in the components
Code:<img src="<?php get_site_url(); ?>plugins/i18n_specialpages/browser/pic.php?w=360&h=360&c=1&p=<?php $slugimage = explode('/uploads/', returnPageField($item->slug, 'YOUR_FIELD')); echo array_pop($slugimage); ?>" alt="<?php echo $item->title; ?>" />
Nice work! THANK YOU for your efforts!