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
54
54
55
55
## Changelog
56
56
57
+ ### v1.3.1 (15-10-2023)
58
+ - Fixed error when upload file after store rotated image
59
+
57
60
### v1.3.0 (13-10-2023)
58
61
- Added manual image rotation
59
62
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
54
54
55
55
## Changelog
56
56
57
+ ### v1.3.1 (15-10-2023)
58
+ - Fixed error when upload file after store rotated image
59
+
57
60
### v1.3.0 (13-10-2023)
58
61
- Added manual image rotation
59
62
Original file line number Diff line number Diff line change 3
3
"type" : " phpbb-extension" ,
4
4
"description" : " Using ImageMagick php librarie for resize image attachments and creating thumbnails." ,
5
5
"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 " ,
8
8
"license" : " GPL-2.0-only" ,
9
9
"authors" : [
10
10
{
Original file line number Diff line number Diff line change 59
59
phpbb . plupload . data . sort ( function ( a , b ) {
60
60
return parseInt ( b . attach_id ) - parseInt ( a . attach_id ) ;
61
61
} ) ;
62
+
63
+ phpbb . plupload . clearParams ( ) ;
64
+ phpbb . plupload . updateMultipartParams ( phpbb . plupload . getSerializedData ( ) ) ;
62
65
}
63
66
64
67
/**
249
252
// When form send, update attachment row id in message text
250
253
document . getElementById ( 'postform' ) . addEventListener ( 'submit' , function ( e ) {
251
254
imcgerIuplUpdateMessageBeforeSend ( document . getElementById ( 'postform' ) . getAttribute ( 'action' ) . includes ( '#preview' ) ) ;
252
-
253
255
} ) ;
254
256
255
257
/**
380
382
if ( isImage ) {
381
383
let getThumbnail = '&t=1' ;
382
384
{ % 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 + '">' ) ;
384
386
{ % else % }
385
387
link . html ( '<img id="img-' + attach_id + '" src="' + imgUrl + getThumbnail + '" onerror="this.src=\'' + imgUrl + '\';" title="' + real_filename + '; " alt="' + real_filename + '">' ) ;
386
388
{ % endif % }
You can’t perform that action at this time.
0 commit comments