File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
styles/all/template/event Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ For full functionality "Maximum avatar file size" in "ACP" > "Board configuratio
5454
5555## Changelog
5656
57+ ### v1.3.1 (15-10-2023)
58+ - Fixed error when upload file after store rotated image
59+
5760### v1.3.0 (13-10-2023)
5861- Added manual image rotation
5962
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ For full functionality "Maximum avatar file size" in "ACP" > "Board configuratio
5454
5555## Changelog
5656
57+ ### v1.3.1 (15-10-2023)
58+ - Fixed error when upload file after store rotated image
59+
5760### v1.3.0 (13-10-2023)
5861- Added manual image rotation
5962
Original file line number Diff line number Diff line change 33 "type" : " phpbb-extension" ,
44 "description" : " Using ImageMagick php librarie for resize image attachments and creating thumbnails." ,
55 "homepage" : " https://github.com/IMC-GER/phpBB-Image-upload-use-ImageMagick/tags" ,
6- "version" : " 1.3.0 " ,
7- "time" : " 2023-10-13 " ,
6+ "version" : " 1.3.1 " ,
7+ "time" : " 2023-10-15 " ,
88 "license" : " GPL-2.0-only" ,
99 "authors" : [
1010 {
Original file line number Diff line number Diff line change 5959 phpbb . plupload . data . sort ( function ( a , b ) {
6060 return parseInt ( b . attach_id ) - parseInt ( a . attach_id ) ;
6161 } ) ;
62+
63+ phpbb . plupload . clearParams ( ) ;
64+ phpbb . plupload . updateMultipartParams ( phpbb . plupload . getSerializedData ( ) ) ;
6265}
6366
6467/**
249252// When form send, update attachment row id in message text
250253document . getElementById ( 'postform' ) . addEventListener ( 'submit' , function ( e ) {
251254 imcgerIuplUpdateMessageBeforeSend ( document . getElementById ( 'postform' ) . getAttribute ( 'action' ) . includes ( '#preview' ) ) ;
252-
253255} ) ;
254256
255257/**
380382 if ( isImage ) {
381383 let getThumbnail = '&t=1' ;
382384 { % if ( IUL_IMG_SET_INLINE && S_BBCODE_ALLOWED && S_BBCODE_IMG ) ? 1 : 0 % }
383- link . html ( '<img id="img-' + attach_id + '" src="' + imgUrl + getThumbnail + '" onerror="this.src=\'' + imgUrl + '\'; $(\'[data-attach-id=' + attach_id + ']\').find(\'.button2.file-inline-bbcode\').hide();" title="' + real_filename + '; " alt="' + real_filename + '">' ) ;
385+ link . html ( '<img id="img-' + attach_id + '" src="' + imgUrl + getThumbnail + '" onerror="this.src=\'' + imgUrl + '\'; $(\'[data-attach-id=' + attach_id + ']\').find(\'.button2.file-inline-bbcode\').hide();" title="' + real_filename + '" alt="' + real_filename + '">' ) ;
384386 { % else % }
385387 link . html ( '<img id="img-' + attach_id + '" src="' + imgUrl + getThumbnail + '" onerror="this.src=\'' + imgUrl + '\';" title="' + real_filename + '; " alt="' + real_filename + '">' ) ;
386388 { % endif % }
You can’t perform that action at this time.
0 commit comments