Changes between Version 1 and Version 2 of Ticket #32117, comment 1
- Timestamp:
- 10/09/2015 10:33:28 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32117, comment 1
v1 v2 23 23 {{{ 24 24 $img = wp_get_attachment_metadata( $img ); 25 $upload_dir = wp_upload_dir()['baseurl'] ;25 $upload_dir = wp_upload_dir()['baseurl'] . '/'; 26 26 echo '<div class="full"><img src="' . $upload_dir . $img['sizes']['thumbnail']['path'] . '" alt="" />'; 27 27 }}}