paginagmbh / redmine_lightbox2

Lightbox for image attachments in Redmine
MIT License
126 stars 96 forks source link

PDF preview doesn't work if the file extension is written in capital letters (.PDF) #16

Closed sbaatar closed 9 years ago

sbaatar commented 9 years ago

PDF preview doesn't work if the file extension is written in in capital letters (.PDF) and the preview icon gets bigger. On the screenshot below the PDF files are the same, except their file names. pdf extension issue

tofi86 commented 9 years ago

I can reproduce with Redmine 3.1.1.stable.14618

Seems to be a Redmine bug as they generate different CSS classes: pdf and PDF - but CSS is case sensitive!

Will see whether I can fix it with a workaround...

tofi86 commented 9 years ago

Fixed for redmine 2.6.x

tofi86 commented 9 years ago

Fixed for redmine 3.x New version out soon...