PluginProbe ʕ •ᴥ•ʔ
Shortcodes and extra features for Phlox theme / 2.15.2
Shortcodes and extra features for Phlox theme v2.15.2
2.17.21 2.17.20 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.6 1.0.9 1.1.0 1.3.0 1.3.1 1.3.10 1.3.14 1.3.2 1.3.3 1.3.6 1.4.0 1.4.1 1.4.2 1.5.0 1.5.2 1.6.0 1.6.2 1.6.4 1.7.0 1.7.2 2.10.0 2.10.1 2.10.3 2.10.5 2.10.7 2.10.8 2.10.9 2.11.0 2.11.1 2.11.2 2.12.0 2.14.0 2.15.0 2.15.2 2.15.4 2.15.5 2.15.6 2.15.7 2.15.8 2.15.9 2.16.0 2.16.1 2.16.2 2.16.3 2.16.4 2.17.0 2.17.1 2.17.12 2.17.13 2.17.14 2.17.15 2.17.16 2.17.2 2.17.3 2.17.4 2.17.5 2.17.6 2.17.8 2.17.9 2.4.12 2.4.13 2.4.14 2.4.16 2.4.18 2.4.19 2.4.9 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.14 2.5.15 2.5.16 2.5.17 2.5.19 2.5.2 2.5.20 2.5.3 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.10 2.6.12 2.6.13 2.6.14 2.6.15 2.6.16 2.6.17 2.6.19 2.6.2 2.6.20 2.6.4 2.6.5 2.6.7 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.9 2.9.0 2.9.12 2.9.14 2.9.15 2.9.16 2.9.17 2.9.18 2.9.19 2.9.2 2.9.20 2.9.21 2.9.22 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8
auxin-elements / includes / elementor / widgets / image.php
auxin-elements / includes / elementor / widgets Last commit date
theme-elements 2 years ago accordion.php 4 years ago audio.php 4 years ago before-after.php 3 years ago button.php 4 years ago carousel-navigation.php 4 years ago circle-chart.php 3 years ago contact-box.php 4 years ago contact-form.php 4 years ago custom-list.php 4 years ago divider.php 4 years ago gallery.php 2 years ago gmap.php 4 years ago heading-modern.php 3 years ago icon.php 3 years ago image.php 4 years ago mailchimp.php 4 years ago modern-button.php 4 years ago products-grid.php 3 years ago quote.php 4 years ago recent-comments.php 3 years ago recent-posts-grid-carousel.php 4 years ago recent-posts-land-style.php 4 years ago recent-posts-masonry.php 4 years ago recent-posts-tiles-carousel.php 4 years ago recent-posts-tiles.php 4 years ago recent-posts-timeline.php 4 years ago recent-products.php 4 years ago responsive-table.php 3 years ago search.php 4 years ago staff.php 4 years ago svg.php 3 years ago tabs.php 3 years ago testimonial.php 4 years ago text.php 4 years ago touch-slider.php 4 years ago video.php 4 years ago
image.php
733 lines
1 <?php
2 namespace Auxin\Plugin\CoreElements\Elementor\Elements;
3
4 use Elementor\Plugin;
5 use Elementor\Widget_Base;
6 use Elementor\Controls_Manager;
7 use Elementor\Group_Control_Image_Size;
8 use Elementor\Group_Control_Typography;
9 use Elementor\Core\Schemes\Typography;
10 use Elementor\Utils;
11 use Elementor\Group_Control_Border;
12 use Elementor\Group_Control_Box_Shadow;
13 use Elementor\Group_Control_Text_Shadow;
14 use Elementor\Group_Control_Background;
15
16
17 if ( ! defined( 'ABSPATH' ) ) {
18 exit; // Exit if accessed directly.
19 }
20
21 /**
22 * Elementor 'Image' widget.
23 *
24 * Elementor widget that displays an 'Image' with lightbox.
25 *
26 * @since 1.0.0
27 */
28 class Image extends Widget_Base {
29
30 /**
31 * Get widget name.
32 *
33 * Retrieve 'Image' widget name.
34 *
35 * @since 1.0.0
36 * @access public
37 *
38 * @return string Widget name.
39 */
40 public function get_name() {
41 return 'aux_image';
42 }
43
44 /**
45 * Get widget title.
46 *
47 * Retrieve 'Image' widget title.
48 *
49 * @since 1.0.0
50 * @access public
51 *
52 * @return string Widget title.
53 */
54 public function get_title() {
55 return __('Advanced Image', 'auxin-elements' );
56 }
57
58 /**
59 * Get widget icon.
60 *
61 * Retrieve 'Image' widget icon.
62 *
63 * @since 1.0.0
64 * @access public
65 *
66 * @return string Widget icon.
67 */
68 public function get_icon() {
69 return 'eicon-image auxin-badge';
70 }
71
72 /**
73 * Get widget categories.
74 *
75 * Retrieve 'Image' widget icon.
76 *
77 * @since 1.0.0
78 * @access public
79 *
80 * @return string Widget icon.
81 */
82 public function get_categories() {
83 return array( 'auxin-core' );
84 }
85
86 /**
87 * Register 'Image' widget controls.
88 *
89 * Adds different input fields to allow the user to change and customize the widget settings.
90 *
91 * @since 1.0.0
92 * @access protected
93 */
94 protected function register_controls() {
95
96 /*-----------------------------------------------------------------------------------*/
97 /* Content Tab
98 /*-----------------------------------------------------------------------------------*/
99
100 $this->start_controls_section(
101 'image_section',
102 array(
103 'label' => __('Image', 'auxin-elements' ),
104 )
105 );
106
107 $this->add_control(
108 'image',
109 array(
110 'label' => __('Image','auxin-elements' ),
111 'type' => Controls_Manager::MEDIA,
112 'show_label' => false,
113 'default' => array(
114 'url' => Utils::get_placeholder_image_src()
115 )
116 )
117 );
118
119 $this->add_group_control(
120 Group_Control_Image_Size::get_type(),
121 array(
122 'name' => 'image', // Usage: `{name}_size` and `{name}_custom_dimension`, in this case `thumbnail_size` and `thumbnail_custom_dimension`.
123 'separator' => 'none',
124 'default' => 'large'
125 )
126 );
127
128 $this->add_control(
129 'link',
130 array(
131 'label' => __('Image Link','auxin-elements' ),
132 'type' => Controls_Manager::URL,
133 'placeholder' => 'http://phlox.pro',
134 'show_external' => true,
135 'dynamic' => [
136 'active' => true
137 ]
138 )
139 );
140
141 $this->end_controls_section();
142
143 $this->start_controls_section(
144 'hover_section',
145 array(
146 'label' => __('Hover Image', 'auxin-elements' ),
147 )
148 );
149
150 $this->add_control(
151 'display_hover',
152 array(
153 'label' => __('Display Hover Image','auxin-elements' ),
154 'type' => Controls_Manager::SWITCHER,
155 'label_on' => __( 'On', 'auxin-elements' ),
156 'label_off' => __( 'Off', 'auxin-elements' ),
157 'return_value' => 'yes',
158 'default' => 'no'
159 )
160 );
161
162 $this->add_control(
163 'hover_image',
164 array(
165 'label' => __( 'Image', 'auxin-elements' ),
166 'type' => Controls_Manager::MEDIA,
167 'show_label' => false,
168 'condition' => array(
169 'display_hover' => 'yes'
170 )
171 )
172 );
173
174 $this->end_controls_section();
175
176 $this->start_controls_section(
177 'ribbon_section',
178 array(
179 'label' => __('Ribbon', 'auxin-elements' ),
180 )
181 );
182
183 $this->add_control(
184 'display_ribbon',
185 array(
186 'label' => __('Diplay Ribbon','auxin-elements' ),
187 'type' => Controls_Manager::SWITCHER,
188 'label_on' => __( 'On', 'auxin-elements' ),
189 'label_off' => __( 'Off', 'auxin-elements' ),
190 'return_value' => 'yes',
191 'default' => 'no'
192 )
193 );
194
195 $this->add_control(
196 'ribbon_text',
197 array(
198 'label' => __('Text','auxin-elements' ),
199 'type' => Controls_Manager::TEXT,
200 'default' => 'NEW',
201 'condition' => array(
202 'display_ribbon' => 'yes'
203 )
204 )
205 );
206
207 $this->add_control(
208 'ribbon_style',
209 array(
210 'label' => __('Ribbon Style', 'auxin-elements'),
211 'type' => Controls_Manager::SELECT,
212 'default' => 'simple',
213 'options' => array(
214 'simple' => __('Simple' , 'auxin-elements' ) ,
215 'corner' => __('Corner' , 'auxin-elements' ),
216 'cross' => __('Cross' , 'auxin-elements' )
217 ),
218 'condition' => array(
219 'display_ribbon' => 'yes'
220 )
221 )
222 );
223
224 $this->add_control(
225 'ribbon_position',
226 array(
227 'label' => __('Ribbon Position', 'auxin-elements'),
228 'type' => Controls_Manager::SELECT,
229 'default' => 'top-right',
230 'options' => array(
231 'top-left' => __('Top Left' , 'auxin-elements' ) ,
232 'top-right' => __('Top Right' , 'auxin-elements' ),
233 'bottom-left' => __('Bottom Left' , 'auxin-elements' ),
234 'bottom-right' => __('Bottom Right' , 'auxin-elements' )
235 ),
236 'condition' => array(
237 'display_ribbon' => 'yes'
238 )
239 )
240 );
241
242 $this->add_responsive_control(
243 'ribbon_thickness',
244 array(
245 'label' => __('Ribbon Thickness','auxin-elements' ),
246 'type' => Controls_Manager::SLIDER,
247 'size_units' => array('px', 'em'),
248 'range' => array(
249 'px' => array(
250 'min' => 0,
251 'max' => 50,
252 'step' => 1
253 ),
254 'em' => array(
255 'min' => 0,
256 'max' => 3,
257 'step' => 0.1
258 )
259 ),
260 'selectors' => array(
261 '{{WRAPPER}} .aux-ribbon-wrapper' => 'line-height: {{SIZE}}{{UNIT}};',
262 ),
263 'condition' => array(
264 'display_ribbon' => 'yes'
265 )
266 )
267 );
268
269 $this->end_controls_section();
270
271 /*-----------------------------------------------------------------------------------*/
272 /* Content Tab
273 /*-----------------------------------------------------------------------------------*/
274
275 $this->start_controls_section(
276 'template_section',
277 array(
278 'label' => __('Settings', 'auxin-elements' ),
279 'tab' => Controls_Manager::TAB_SETTINGS,
280 )
281 );
282
283 $this->add_control(
284 'lightbox',
285 array(
286 'label' => __('Open in lightbox','auxin-elements' ),
287 'type' => Controls_Manager::SWITCHER,
288 'label_on' => __( 'On', 'auxin-elements' ),
289 'label_off' => __( 'Off', 'auxin-elements' ),
290 'return_value' => 'yes',
291 'default' => 'no'
292 )
293 );
294
295 $this->add_control(
296 'icon',
297 array(
298 'label' => __( 'Iconic button', 'auxin-elements'),
299 'type' => Controls_Manager::SELECT,
300 'default' => 'plus',
301 'options' => array(
302 'none' => __('None', 'auxin-elements' ),
303 'plus' => __('Plus', 'auxin-elements' )
304 ),
305 'condition' => array(
306 'lightbox' => 'yes'
307 )
308 )
309 );
310
311 $this->add_responsive_control(
312 'alignment',
313 array(
314 'label' => __('Alignment','auxin-elements' ),
315 'description' => __('Image alignment in block.', 'auxin-elements' ),
316 'type' => Controls_Manager::CHOOSE,
317 'options' => array(
318 'left' => array(
319 'title' => __( 'Left', 'auxin-elements' ),
320 'icon' => 'eicon-text-align-left',
321 ),
322 'center' => array(
323 'title' => __( 'Center', 'auxin-elements' ),
324 'icon' => 'eicon-text-align-center',
325 ),
326 'right' => array(
327 'title' => __( 'Right', 'auxin-elements' ),
328 'icon' => 'eicon-text-align-right',
329 )
330 ),
331 'default' => '',
332 'separator' => 'after',
333 'toggle' => true,
334 'selectors' => array(
335 '{{WRAPPER}} .aux-widget-image' => 'text-align: {{VALUE}};',
336 )
337 )
338 );
339
340 $this->add_control(
341 'preloadable',
342 array(
343 'label' => __('Preload image','auxin-elements' ),
344 'type' => Controls_Manager::SWITCHER,
345 'label_on' => __( 'On', 'auxin-elements' ),
346 'label_off' => __( 'Off', 'auxin-elements' ),
347 'return_value' => 'yes',
348 'default' => 'no'
349 )
350 );
351
352 $this->add_control(
353 'preload_preview',
354 array(
355 'label' => __('While loading image display','auxin-elements' ),
356 'label_block' => true,
357 'type' => Controls_Manager::SELECT,
358 'options' => auxin_get_preloadable_previews(),
359 'return_value' => 'yes',
360 'default' => 'yes',
361 'condition' => array(
362 'preloadable' => 'yes'
363 )
364 )
365 );
366
367 $this->add_control(
368 'preload_bgcolor',
369 array(
370 'label' => __( 'Placeholder color while loading image', 'auxin-elements' ),
371 'type' => Controls_Manager::COLOR,
372 'condition' => array(
373 'preloadable' => 'yes',
374 'preload_preview' => array('no', 'simple-spinner', 'simple-spinner-light', 'simple-spinner-dark')
375 )
376 )
377 );
378
379 $this->add_control(
380 'tilt',
381 array(
382 'label' => __( 'Tilt Effect','auxin-elements' ),
383 'description' => __( 'Adds tilt effect to the image.', 'auxin-elements' ),
384 'type' => Controls_Manager::SWITCHER,
385 'label_on' => __( 'On', 'auxin-elements' ),
386 'label_off' => __( 'Off', 'auxin-elements' ),
387 'return_value' => 'yes',
388 'default' => 'no',
389 'separator' => 'before'
390 )
391 );
392
393 $this->add_control(
394 'colorized_shadow',
395 array(
396 'label' => __( 'Colorized Shadow', 'auxin-elements' ),
397 'description' => __( 'Adds colorized shadow to the image. Note: This feature is not available when image hover is active.', 'auxin-elements' ),
398 'type' => Controls_Manager::SWITCHER,
399 'label_on' => __( 'On', 'auxin-elements' ),
400 'label_off' => __( 'Off', 'auxin-elements' ),
401 'return_value' => 'yes',
402 'default' => 'no',
403 'condition' => array(
404 'display_hover!' => 'yes'
405 )
406 )
407 );
408
409 $this->end_controls_section();
410
411 /*-----------------------------------------------------------------------------------*/
412 /* Style Tab
413 /*-----------------------------------------------------------------------------------*/
414
415 $this->start_controls_section(
416 'image_style_section',
417 array(
418 'label' => __( 'Image', 'auxin-elements' ),
419 'tab' => Controls_Manager::TAB_STYLE
420 )
421 );
422
423 $this->add_responsive_control(
424 'image_max_width',
425 array(
426 'label' => __('Max Width','auxin-elements' ),
427 'type' => Controls_Manager::SLIDER,
428 'size_units' => array('px', 'em','%'),
429 'range' => array(
430 '%' => array(
431 'min' => 1,
432 'max' => 100,
433 'step' => 1
434 ),
435 'em' => array(
436 'min' => 1,
437 'max' => 100,
438 'step' => 1
439 ),
440 'px' => array(
441 'min' => 1,
442 'max' => 1600,
443 'step' => 1
444 )
445 ),
446 'selectors' => array(
447 '{{WRAPPER}} .aux-media-image' => 'max-width:{{SIZE}}{{UNIT}};'
448 )
449 )
450 );
451
452 $this->add_responsive_control(
453 'image_max_height',
454 array(
455 'label' => __('Max Height','auxin-elements' ),
456 'type' => Controls_Manager::SLIDER,
457 'size_units' => array('px', 'em','%'),
458 'range' => array(
459 '%' => array(
460 'min' => 1,
461 'max' => 100,
462 'step' => 1
463 ),
464 'em' => array(
465 'min' => 1,
466 'max' => 100,
467 'step' => 1
468 ),
469 'px' => array(
470 'min' => 1,
471 'max' => 1600,
472 'step' => 1
473 )
474 ),
475 'selectors' => array(
476 '{{WRAPPER}} .aux-media-image' => 'max-height:{{SIZE}}{{UNIT}};'
477 )
478 )
479 );
480
481 $this->add_responsive_control(
482 'image_border_radius',
483 array(
484 'label' => __( 'Border radius', 'auxin-elements' ),
485 'type' => Controls_Manager::DIMENSIONS,
486 'size_units' => array( 'px', 'em', '%' ),
487 'selectors' => array(
488 '{{WRAPPER}} .aux-media-image' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow:hidden;',
489 ),
490 'separator' => 'after'
491 )
492 );
493
494 $this->start_controls_tabs( 'image_style_tabs' );
495
496 $this->start_controls_tab(
497 'image_status_normal',
498 array(
499 'label' => __( 'Normal' , 'auxin-elements' )
500 )
501 );
502
503 $this->add_group_control(
504 Group_Control_Box_Shadow::get_type(),
505 array(
506 'name' => 'image_box_shadow',
507 'selector' => '{{WRAPPER}} .aux-media-image',
508 'separator' => 'none'
509 )
510 );
511
512 $this->add_group_control(
513 Group_Control_Border::get_type(),
514 array(
515 'name' => 'image_border',
516 'selector' => '{{WRAPPER}} .aux-media-image',
517 'separator' => 'none'
518 )
519 );
520
521 $this->add_group_control(
522 Group_Control_Background::get_type(),
523 array(
524 'name' => 'image_background',
525 'selector' => '{{WRAPPER}} .aux-media-image',
526 'separator' => 'none'
527 )
528 );
529
530 $this->end_controls_tab();
531
532
533 $this->start_controls_tab(
534 'image_status_hover',
535 array(
536 'label' => __( 'Hover' , 'auxin-elements' )
537 )
538 );
539
540 $this->add_group_control(
541 Group_Control_Box_Shadow::get_type(),
542 array(
543 'name' => 'image_box_shadow_hover',
544 'selector' => '{{WRAPPER}} .aux-media-image:hover',
545 'separator' => 'none'
546 )
547 );
548
549 $this->add_group_control(
550 Group_Control_Border::get_type(),
551 array(
552 'name' => 'image_border_hover',
553 'selector' => '{{WRAPPER}} .aux-media-image:hover',
554 'separator' => 'none'
555 )
556 );
557
558 $this->add_group_control(
559 Group_Control_Background::get_type(),
560 array(
561 'name' => 'image_background_hover',
562 'selector' => '{{WRAPPER}} .aux-media-image:hover',
563 'separator' => 'none'
564 )
565 );
566
567 $this->add_control(
568 'image_transition_duration',
569 array(
570 'label' => __('Transition Duration','auxin-elements' ),
571 'type' => Controls_Manager::SLIDER,
572 'range' => array(
573 'px' => array(
574 'min' => 0,
575 'max' => 2000,
576 'step' => 10
577 )
578 ),
579 'selectors' => array(
580 '{{WRAPPER}} .aux-media-image' => 'transition-duration: {{SIZE}}ms;',
581 )
582 )
583 );
584
585 $this->add_responsive_control(
586 'image_translate_y',
587 array(
588 'label' => __('Vertical Move','auxin-elements' ),
589 'type' => Controls_Manager::SLIDER,
590 'size_units' => array('px', 'em', '%'),
591 'range' => array(
592 'px' => array(
593 'min' => -100,
594 'max' => 100,
595 'step' => 10
596 )
597 ),
598 'selectors' => array(
599 '{{WRAPPER}} .aux-media-image:hover' => 'transform: translateY({{SIZE}}{{UNIT}});',
600 )
601 )
602 );
603
604 $this->end_controls_tab();
605
606 $this->end_controls_tabs();
607
608 $this->end_controls_section();
609
610
611 $this->start_controls_section(
612 'ribbon_style_section',
613 array(
614 'label' => __( 'Ribbon', 'auxin-elements' ),
615 'tab' => Controls_Manager::TAB_STYLE,
616 'condition' => array(
617 'display_ribbon' => 'yes',
618 ),
619 )
620 );
621
622 $this->add_control(
623 'ribbon_bg_color',
624 array(
625 'label' => __( 'Background Color', 'auxin-elements' ),
626 'type' => Controls_Manager::COLOR,
627 'selectors' => array(
628 '{{WRAPPER}} .aux-ribbon-wrapper' => 'background-color: {{VALUE}} !important;',
629 )
630 )
631 );
632
633 $this->add_control(
634 'ribbon_border_color',
635 array(
636 'label' => __( 'Border Color', 'auxin-elements' ),
637 'type' => Controls_Manager::COLOR,
638 'selectors' => array(
639 '{{WRAPPER}} .aux-ribbon-wrapper::before' => 'border-color: {{VALUE}};',
640 ),
641 'condition' => array(
642 'ribbon_style' => array('cross'),
643 ),
644 )
645 );
646
647 $this->add_group_control(
648 Group_Control_Box_Shadow::get_type(),
649 array(
650 'label' => __( 'Box Shadow', 'auxin-elements' ),
651 'name' => 'header_box_shadow',
652 'selector' => '{{WRAPPER}} .aux-ribbon-wrapper'
653 )
654 );
655
656 $this->add_control(
657 'ribbon_text_color',
658 array(
659 'label' => __( 'Text Color', 'auxin-elements' ),
660 'type' => Controls_Manager::COLOR,
661 'selectors' => array(
662 '{{WRAPPER}} .aux-ribbon-wrapper span' => 'color: {{VALUE}} !important;',
663 )
664 )
665 );
666
667 $this->add_group_control(
668 Group_Control_Typography::get_type(),
669 array(
670 'name' => 'ribbon_typography',
671 'scheme' => Typography::TYPOGRAPHY_1,
672 'selector' => '{{WRAPPER}} .aux-ribbon-wrapper span'
673 )
674 );
675
676 $this->add_group_control(
677 Group_Control_Text_Shadow::get_type(),
678 array(
679 'name' => 'ribbon_text_shadow',
680 'label' => __( 'Text Shadow', 'auxin-elements' ),
681 'selector' => '{{WRAPPER}} .aux-ribbon-wrapper span',
682 )
683 );
684
685 $this->end_controls_section();
686 }
687
688 /**
689 * Render image box widget output on the frontend.
690 *
691 * Written in PHP and used to generate the final HTML.
692 *
693 * @since 1.0.0
694 * @access protected
695 */
696 protected function render() {
697
698 $settings = $this->get_settings_for_display();
699
700 $args = array(
701 'image_html' => Group_Control_Image_Size::get_attachment_image_html( $settings, 'image' ),
702
703 'attach_id' => auxin_get_array_value( $settings['image'], 'id' ),
704 'size' => $settings['image_size'],
705 'width' => auxin_get_array_value( $settings['image_custom_dimension'], 'width' ),
706 'height' => auxin_get_array_value( $settings['image_custom_dimension'], 'height' ),
707 'link' => auxin_get_array_value( $settings['link'], 'url' ),
708 'nofollow' => auxin_get_array_value( $settings['link'], 'nofollow' ),
709 'target' => auxin_get_array_value( $settings['link'], 'is_external', false ) ? '_blank' : '_self',
710
711 'attach_id_hover' => auxin_get_array_value( $settings['hover_image'], 'id' ),
712
713 'display_ribbon' => $settings['display_ribbon'],
714 'ribbon_text' => $settings['ribbon_text'],
715 'ribbon_style' => $settings['ribbon_style'],
716 'ribbon_position' => $settings['ribbon_position'],
717
718 'lightbox' => $settings['lightbox'],
719 'icon' => $settings['icon'],
720 'preloadable' => $settings['preloadable'],
721 'preload_preview' => $settings['preload_preview'],
722 'preload_bgcolor' => $settings['preload_bgcolor'],
723 'tilt' => $settings['tilt'],
724 'colorized_shadow' => $settings['colorized_shadow']
725 //'align' => $settings['align'],
726 );
727
728 // pass the args through the corresponding shortcode callback
729 echo auxin_widget_image_callback( $args );
730 }
731
732 }
733