Skip to content

Commit 2324221

Browse files
committed
add file name for src
1 parent 72305c1 commit 2324221

File tree

1 file changed

+1
-0
lines changed
  • cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media

1 file changed

+1
-0
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/media/class-upgrade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ function ( $val ) use ( $media ) {
111111
'attachment_id' => $attachment_id,
112112
'src' => $file,
113113
'transformations' => $media->get_transformations_from_string( $file ),
114+
'filename' => basename( $file ),
114115
);
115116
$media->plugin->components['api']->background_request( 'asset', $params );
116117

0 commit comments

Comments
 (0)