Thumbnails from attachments?

We have field crews that send pictures into RT tickets from job sites.
This is a great help as we get instant notification of issues and also
for as-builts. Typically the crews will send a picture and a text
description of image as a comment to the ticket. As the crews send us
more and more pictures, we’re finding that it’s hard to find that one
image we need quickly.

We’re looking for an enhancement to RT that would create a thumbnail
gallery from the image/jpeg attachments and display the comment text on
mouseover. The thumbnail gallery would be displayed as part of the ticket.

Anyone have any idea if something like this has been done?

A simpler solution but not as desirable would be to create a thumbnail
of jpegs in the history or in the attachment list.

Yan,

Any correspondence to RT can have an attachment, so it doesn’t have to be a
comment and it will still be in your history. As to the pics, if there is a
way to label/title/name each pic in a manner that would enable easy
identification might work, as you can see the name of the attachment in the
Display page of a ticket.

Kenn
LBNLOn Tue, Jun 14, 2011 at 6:01 AM, Yan Seiner yan@seiner.com wrote:

We have field crews that send pictures into RT tickets from job sites.
This is a great help as we get instant notification of issues and also for
as-builts. Typically the crews will send a picture and a text description
of image as a comment to the ticket. As the crews send us more and more
pictures, we’re finding that it’s hard to find that one image we need
quickly.

We’re looking for an enhancement to RT that would create a thumbnail
gallery from the image/jpeg attachments and display the comment text on
mouseover. The thumbnail gallery would be displayed as part of the ticket.

Anyone have any idea if something like this has been done?

A simpler solution but not as desirable would be to create a thumbnail of
jpegs in the history or in the attachment list.

Right now we send each crew a ticket “stub”, essentially an empty comment
to the ticket they’re working on. They then reply to that stub over and
over with pictures. We found that makes it easy on the field guys and RT
keeps everything organized.

The problem is that we’re getting lots of pics - sometimes 5 or 10 a day
every day for a 3 week job. There’s no consistent naming scheme we can
enforce. These are construction guys. They want to point, click, send.
Thus the need on the office end for thumbnails.

I know we’re taking RT in a direction that’s not typical, but the
construction industry doesn’t really have an effective affordable project
management tool and RT is a natural near-drop-in solution. The
construction PM tools that are out there are expensive and klunky.On Tue, June 14, 2011 10:19 am, Kenneth Crocker wrote:

Yan,

Any correspondence to RT can have an attachment, so it doesn’t have to be
a
comment and it will still be in your history. As to the pics, if there is
a
way to label/title/name each pic in a manner that would enable easy
identification might work, as you can see the name of the attachment in
the
Display page of a ticket.

Kenn
LBNL

On Tue, Jun 14, 2011 at 6:01 AM, Yan Seiner yan@seiner.com wrote:

We have field crews that send pictures into RT tickets from job sites.
This is a great help as we get instant notification of issues and also
for
as-builts. Typically the crews will send a picture and a text
description
of image as a comment to the ticket. As the crews send us more and more
pictures, we’re finding that it’s hard to find that one image we need
quickly.

We’re looking for an enhancement to RT that would create a thumbnail
gallery from the image/jpeg attachments and display the comment text on
mouseover. The thumbnail gallery would be displayed as part of the
ticket.

Anyone have any idea if something like this has been done?

A simpler solution but not as desirable would be to create a thumbnail
of
jpegs in the history or in the attachment list.

!DSPAM:4df7983272161804284693!

My daughter is racing a triathlon to raise money for her swim club. Want
to help?

http://akari.seiner.com

Yan,

What is that “one image” you want to see? How do you find it now? If there
is any way you can distinguish it from a list of stuff, then we can do that
with code.

Kenn
LBNLOn Tue, Jun 14, 2011 at 10:32 AM, Yan Seiner yan@seiner.com wrote:

Right now we send each crew a ticket “stub”, essentially an empty comment
to the ticket they’re working on. They then reply to that stub over and
over with pictures. We found that makes it easy on the field guys and RT
keeps everything organized.

The problem is that we’re getting lots of pics - sometimes 5 or 10 a day
every day for a 3 week job. There’s no consistent naming scheme we can
enforce. These are construction guys. They want to point, click, send.
Thus the need on the office end for thumbnails.

I know we’re taking RT in a direction that’s not typical, but the
construction industry doesn’t really have an effective affordable project
management tool and RT is a natural near-drop-in solution. The
construction PM tools that are out there are expensive and klunky.

On Tue, June 14, 2011 10:19 am, Kenneth Crocker wrote:

Yan,

Any correspondence to RT can have an attachment, so it doesn’t have to be
a
comment and it will still be in your history. As to the pics, if there is
a
way to label/title/name each pic in a manner that would enable easy
identification might work, as you can see the name of the attachment in
the
Display page of a ticket.

Kenn
LBNL

On Tue, Jun 14, 2011 at 6:01 AM, Yan Seiner yan@seiner.com wrote:

We have field crews that send pictures into RT tickets from job sites.
This is a great help as we get instant notification of issues and also
for
as-builts. Typically the crews will send a picture and a text
description
of image as a comment to the ticket. As the crews send us more and more
pictures, we’re finding that it’s hard to find that one image we need
quickly.

We’re looking for an enhancement to RT that would create a thumbnail
gallery from the image/jpeg attachments and display the comment text on
mouseover. The thumbnail gallery would be displayed as part of the
ticket.

Anyone have any idea if something like this has been done?

A simpler solution but not as desirable would be to create a thumbnail
of
jpegs in the history or in the attachment list.

!DSPAM:4df7983272161804284693!


My daughter is racing a triathlon to raise money for her swim club. Want
to help?

http://akari.seiner.com

Hmmm…

Some investigating. If we create a comment via the RT web interface and
attach an image, it comes up in the history as an image and we can see it.

However, if someone sends an image via email as a reply to a comment, the
image doesn’t show up; instead there’s the comment:

“Message body is not shown because sender requested not to inline it.”

and the attachment shows up as a link.

Is there some way to get RT to display non-inlined images?

–Yan

My daughter is racing a triathlon to raise money for her swim club. Want
to help?

http://akari.seiner.com

Yan,

You betcha. Change that setting in your RT_SiteConfig.pm file in
/opt/rt3/etc and that will do it.

*Set($ShowTransactionImages, 1); *might just do it.

I’m curious as to why you have the offsite guys replying as comments instead
of just making it an email reply?

Kenn
LBNLOn Tue, Jun 14, 2011 at 11:01 AM, Yan Seiner yan@seiner.com wrote:

Hmmm…

Some investigating. If we create a comment via the RT web interface and
attach an image, it comes up in the history as an image and we can see it.

However, if someone sends an image via email as a reply to a comment, the
image doesn’t show up; instead there’s the comment:

“Message body is not shown because sender requested not to inline it.”

and the attachment shows up as a link.

Is there some way to get RT to display non-inlined images?

–Yan


My daughter is racing a triathlon to raise money for her swim club. Want
to help?

http://akari.seiner.com

Here’s what happens:

We’re a water utility, so all of our stuff is burried.

We provide the crew with a set of drawings. Since most of what we do is
repair, we try to locate old lines, other utilities, etc. as best as we
can. However, few utilities kept accurate records early on, so we often
do not know exactly what is in the ground.

The crew goes out into the field and starts digging and laying pipe. They
have to close up the excavation at the end of every day (we can’t keep
open holes in public streets overnight).

Very often the crew finds that the conditions differ from the drawings.
They keep pretty good notes but without pictures it’s hard to figure out
what they did where. So they take pictures.

When the project is done, we have to reconcile the materials inventory and
correct our drawings for the as-built conditions.

The tech who does that work starts with our engineering drawings and the
crew field notes. He would like to refer to the pictures when he has a
question. However, the pictures are all similar; a guy with a shovel
standing in a hole that has a pipe at the bottom. Without some commentary
it’s hard to pick the right picture for the aa-built condition we’re
trying to verify.

Often the as-built conditions can be difficult to tell apart without a
picture; we know the crew used an 11 degree bend and a 22 degree bend, but
in which order? how far apart? A picture can tell us those things.

We’d like to be able to go through the pictures and read the comments
quickly.On Tue, June 14, 2011 10:59 am, Kenneth Crocker wrote:

Yan,

What is that “one image” you want to see? How do you find it now? If there
is any way you can distinguish it from a list of stuff, then we can do
that
with code.

Kenn
LBNL

On Tue, Jun 14, 2011 at 10:32 AM, Yan Seiner yan@seiner.com wrote:

Right now we send each crew a ticket “stub”, essentially an empty
comment
to the ticket they’re working on. They then reply to that stub over and
over with pictures. We found that makes it easy on the field guys and
RT
keeps everything organized.

The problem is that we’re getting lots of pics - sometimes 5 or 10 a day
every day for a 3 week job. There’s no consistent naming scheme we can
enforce. These are construction guys. They want to point, click, send.
Thus the need on the office end for thumbnails.

I know we’re taking RT in a direction that’s not typical, but the
construction industry doesn’t really have an effective affordable
project
management tool and RT is a natural near-drop-in solution. The
construction PM tools that are out there are expensive and klunky.

On Tue, June 14, 2011 10:19 am, Kenneth Crocker wrote:

Yan,

Any correspondence to RT can have an attachment, so it doesn’t have to
be
a
comment and it will still be in your history. As to the pics, if there
is
a
way to label/title/name each pic in a manner that would enable easy
identification might work, as you can see the name of the attachment
in
the
Display page of a ticket.

Kenn
LBNL

On Tue, Jun 14, 2011 at 6:01 AM, Yan Seiner yan@seiner.com wrote:

We have field crews that send pictures into RT tickets from job
sites.
This is a great help as we get instant notification of issues and
also
for
as-builts. Typically the crews will send a picture and a text
description
of image as a comment to the ticket. As the crews send us more and
more
pictures, we’re finding that it’s hard to find that one image we need
quickly.

We’re looking for an enhancement to RT that would create a thumbnail
gallery from the image/jpeg attachments and display the comment text
on
mouseover. The thumbnail gallery would be displayed as part of the
ticket.

Anyone have any idea if something like this has been done?

A simpler solution but not as desirable would be to create a
thumbnail
of
jpegs in the history or in the attachment list.


My daughter is racing a triathlon to raise money for her swim club.
Want
to help?

http://akari.seiner.com

!DSPAM:4df7a1da98651848747371!

My daughter is racing a triathlon to raise money for her swim club. Want
to help?

http://akari.seiner.com

Yan,

You betcha. Change that setting in your RT_SiteConfig.pm file in
/opt/rt3/etc and that will do it.

*Set($ShowTransactionImages, 1); *might just do it.

No joy; still get the “inline” comment.

I’m curious as to why you have the offsite guys replying as comments
instead
of just making it an email reply?

???

They use email on their smartphones to send the images along with an
explanation.

The reason we send them the stub is so that they have the correct RT
subject and headers for the reply. They reply to the stub that’s correct
for the job they’re on.

It’s also easier for them to find the stub, hit reply, take the pic, and
send than to use the rt3 mobile interface.

Yan,

It sounds like you would need EACH of their responses/correspndence/pics to
have some sort of identifier (a comment, a number sequence, the name of a
part, etc). If so, I think there are a couple ways we might be able to do
this, depending on what seems best to you.

I’m assuming that the last pic is not necessarily the one you want to
identify.

Are you adamant about the engineer not having to enter anything from the
field? Perhaps the part the photo is about? Just one word?

We could invent/code a way to increment a number for each
comment/correspondence/pic.

Any of this sound workable?

Kenn
LBNLOn Tue, Jun 14, 2011 at 11:18 AM, Yan Seiner yan@seiner.com wrote:

Here’s what happens:

We’re a water utility, so all of our stuff is burried.

We provide the crew with a set of drawings. Since most of what we do is
repair, we try to locate old lines, other utilities, etc. as best as we
can. However, few utilities kept accurate records early on, so we often
do not know exactly what is in the ground.

The crew goes out into the field and starts digging and laying pipe. They
have to close up the excavation at the end of every day (we can’t keep
open holes in public streets overnight).

Very often the crew finds that the conditions differ from the drawings.
They keep pretty good notes but without pictures it’s hard to figure out
what they did where. So they take pictures.

When the project is done, we have to reconcile the materials inventory and
correct our drawings for the as-built conditions.

The tech who does that work starts with our engineering drawings and the
crew field notes. He would like to refer to the pictures when he has a
question. However, the pictures are all similar; a guy with a shovel
standing in a hole that has a pipe at the bottom. Without some commentary
it’s hard to pick the right picture for the aa-built condition we’re
trying to verify.

Often the as-built conditions can be difficult to tell apart without a
picture; we know the crew used an 11 degree bend and a 22 degree bend, but
in which order? how far apart? A picture can tell us those things.

We’d like to be able to go through the pictures and read the comments
quickly.

On Tue, June 14, 2011 10:59 am, Kenneth Crocker wrote:

Yan,

What is that “one image” you want to see? How do you find it now? If
there
is any way you can distinguish it from a list of stuff, then we can do
that
with code.

Kenn
LBNL

On Tue, Jun 14, 2011 at 10:32 AM, Yan Seiner yan@seiner.com wrote:

Right now we send each crew a ticket “stub”, essentially an empty
comment
to the ticket they’re working on. They then reply to that stub over and
over with pictures. We found that makes it easy on the field guys and
RT
keeps everything organized.

The problem is that we’re getting lots of pics - sometimes 5 or 10 a day
every day for a 3 week job. There’s no consistent naming scheme we can
enforce. These are construction guys. They want to point, click, send.
Thus the need on the office end for thumbnails.

I know we’re taking RT in a direction that’s not typical, but the
construction industry doesn’t really have an effective affordable
project
management tool and RT is a natural near-drop-in solution. The
construction PM tools that are out there are expensive and klunky.

On Tue, June 14, 2011 10:19 am, Kenneth Crocker wrote:

Yan,

Any correspondence to RT can have an attachment, so it doesn’t have to
be
a
comment and it will still be in your history. As to the pics, if there
is
a
way to label/title/name each pic in a manner that would enable easy
identification might work, as you can see the name of the attachment
in
the
Display page of a ticket.

Kenn
LBNL

On Tue, Jun 14, 2011 at 6:01 AM, Yan Seiner yan@seiner.com wrote:

We have field crews that send pictures into RT tickets from job
sites.
This is a great help as we get instant notification of issues and
also
for
as-builts. Typically the crews will send a picture and a text
description
of image as a comment to the ticket. As the crews send us more and
more
pictures, we’re finding that it’s hard to find that one image we need
quickly.

We’re looking for an enhancement to RT that would create a thumbnail
gallery from the image/jpeg attachments and display the comment text
on
mouseover. The thumbnail gallery would be displayed as part of the
ticket.

Anyone have any idea if something like this has been done?

A simpler solution but not as desirable would be to create a
thumbnail
of
jpegs in the history or in the attachment list.


My daughter is racing a triathlon to raise money for her swim club.
Want
to help?

http://akari.seiner.com

!DSPAM:4df7a1da98651848747371!


My daughter is racing a triathlon to raise money for her swim club. Want
to help?

http://akari.seiner.com

HAH!

This one-line patch does what I need:

— ./share/html/Ticket/Elements/ShowTransactionAttachments 2011-04-20
10:22:32.177315771 -0700
+++ local/html/Ticket/Elements/ShowTransactionAttachments 2011-06-14
11:37:22.166621835 -0700
@@ -225,7 +225,7 @@

 # if it's an image, show it as an image
 elsif ( RT->Config->Get('ShowTransactionImages') and

$message->ContentType =~ /^image//i ) {

  •    if ( $disposition ne 'inline' ) {
    
  •  if ( $disposition ne 'inline' and
    

!RT->Config->Get(‘ShowNotInlineImages’)) {
$m->out(‘

’. loc( ‘Message body is not shown because sender
requested not to inline it.’ ) .‘

’);
return;
}

Along with a setting in RT_SiteConfig.pm:

Set($ShowNotInlineImages, 1);

–Yan

My daughter is racing a triathlon to raise money for her swim club. Want
to help?

http://akari.seiner.com