Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make an image clickable in jira comment, so it pops up as if you click on attached image in attachment area?

Tags:

jira

I'm talking desktop browser experience, e.g. chrome. In jira, if I attach the image I can use it in my comment - and it's great! I usually use width=800px so the whole image can be seen in the comment.

So I can write something like this:

Here's the screenshot

!my-screenshot-image.jpg|width=600px!

The problem is that sometimes screenshot is too big and when shrunk to smaller size, e.g. 600px, is not readable.
When you click on the image in attached files area then it pops up and this is what I want in the comment section.

I was wondering if there's any parameter that would make it happen? Is there a list of parameters that can be used when "embedding" image somewhere? I only seem to find width parameter.

P.S. When you open jira ticket on mobile - it looks fine and image is actually clickable - when you click on it it opens up a page with just image in it.

like image 459
user1249170 Avatar asked Jan 14 '15 04:01

user1249170


1 Answers

You want this to allow a small image in the comment to be expanded into a larger light box view:

!my-screenshot-image.jpg|thumbnail!

Per the source for JIRA 6.3, the following are also valid attributes for images:

align
border
bordercolor
alt
title
longdesc
height
width
src
lang
dir
hspace
vspace
ismap
usemap
id
class
like image 150
Scott Dudley Avatar answered Oct 05 '22 08:10

Scott Dudley