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