paginagmbh / redmine_lightbox2

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

lightbox for thumbnails #17

Closed mauro-miatello closed 9 years ago

mauro-miatello commented 9 years ago

can I insert lightbox in wiki? thanks

tofi86 commented 9 years ago

Have you even tried?! This should be working...

mauro-miatello commented 9 years ago

I don't know how I can do :)

tofi86 commented 9 years ago

Follow the installation instructions for the plugin, upload an image to your wiki page, insert normal or as thumbnail and try.

mauro-miatello commented 9 years ago

sorry but I can't

I've inserted {{thumbnail(image.jpg)}} but it's a link and it opens image in a new page, not open a lightbox

if I attach image to wiki page I can open a lightbox

thanks

tofi86 commented 9 years ago

Latest version released a few minutes ago now supports lightbox for thumbnail previews.

mauro-miatello commented 9 years ago

I've tried but lightbox doesn't work any more :( I've reinstalled old version and it's ok

tofi86 commented 9 years ago

which redmine version do you use?

tofi86 commented 9 years ago

confirmed for branch redmine-2.6 and the bug is fixed in new version 0.1.5 Enjoy! :-)

mauro-miatello commented 9 years ago

ok, now it works again in issues but still not in wiki, where I simply add:

{{thumbnail(Lighthouse.jpg)}}

the html code is (here I've added spaces after first "<"):

< p>
< a href="/attachments/44" class="thumbnail" title="Lighthouse.jpg">
< img alt="Lighthouse.jpg" src="/attachments/thumbnail/44">
< /a>
< /p>

maybe I've to specify something? thanks

tofi86 commented 9 years ago

Confirmed. Thumbnails are not working in wikis right now.

tofi86 commented 9 years ago

Please try the new versions!