Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Broken Images In Email Gemini 2.2.6

web-app

As usual before posting, I have searched for a solution to my issue.  Please refer to this issue.

I have been using gemini for a couple years now.  Whenever I include an image in an issue description, or comment, that image is broken in notification emails.  I would very much like to get this issue resolved because it has decreased the importants of screenshots to some of our users. 

The only difference between my gemini installation and the one linked above, is that I am using the mail plugin. 

What do I have to do to configure gemini to properly include images, from issue descriptions and comments, in the notification emails?

Thanks in advance

Rick

rleitch
· 1
rleitch
Replies (17)
helpful
0
not helpful
GALAHAD:
Is there someone else up there we could talk to?

rleitch
· 1
rleitch
helpful
0
not helpful

Did you not resolve the problem as per the other thread?



Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

EDIT: Unlike the other thread, I AM using the mail plugin, and yes, my question remains un-answered.


rleitch
· 1
rleitch
helpful
0
not helpful

Ok figured out the solution.

Needed to add <base href="http://gemini.mycompany.com" /> between the <head></head> tags of this file {Gemini Root}\templates\mail\html\Common-Header.vm


rleitch
· 1
rleitch
helpful
0
not helpful

I'm having the same problem - broken image links in alert e-mails.

So I followed the advice of adding to the common-header.vm , but the links are still broken because there's something going on between the root and the path:

< img src="http://example.com/../controls/RAD/UserImages/myimage.png">

The "/../" is being added by something, but I don't know what.

Can someone point me in the right direction?


karenlopez
· 1
karenlopez
helpful
0
not helpful

This must be set in the path of the RichTextCtrl.ascx.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Where would that file be?

I have a RichText.ascx in \webapp\controls\ -- is that what you meant?

is it this line that you are suggesting I change:

UploadImagesPaths="~/controls/RAD/UserImages" ImagesPaths="~/controls/RAD/UserImages"></radE:RadEditor>

Do I just take out the tilde?

And since the images work fine within the browser, wouldn't changing these impact the viewing of images there?  How will changing this impact the outgoing e-mails?

Karen


karenlopez
· 1
karenlopez
helpful
0
not helpful

Sorry, my mistake, it is not that.

Are you using 3.0.4? Can you check how is it saved in the database (gemini_issuecomments)?

Does it include ../?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

We're using 2.1.1

The comments posted after I added the href base reference do have the ../ in the img src path.

The comments posted prior to that change do not have the ../ in the img src path.


karenlopez
· 1
karenlopez
helpful
0
not helpful

Can you check the how they are stored in the database?

 


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I'm not sure what you mean.  How what is stored in the database?

Karen


karenlopez
· 1
karenlopez
helpful
0
not helpful

How is the comment stored. ie how is the image path stored in the database.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

[quote user="MarkWing"]

How is the comment stored. ie how is the image path stored in the database.

[/quote]

Gotta read the whole thread :).

[quote user="karenlopez"]
We're using 2.1.1

The comments posted after I added the href base reference do have the ../ in the img src path.

The comments posted prior to that change do not have the ../ in the img src path.

[/quote]


karenlopez
· 1
karenlopez
helpful
0
not helpful

The change made should not change the way it is stored in the database!

What file did you change?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

[quote user="SaarCohen"]

The change made should not change the way it is stored in the database!

What file did you change?

[/quote]

That's what I was thinking.  I applied this change (with my correct domain, of course).

[quote]
Needed to add <base href="http://gemini.mycompany.com" /> between the <head></head> tags of this file {Gemini Root}\templates\mail\html\Common-Header.vm
[/quote]


karenlopez
· 1
karenlopez
helpful
0
not helpful

Sorry to repeat, but if that is the change you have made, the data stored would not have changed.

How did you check the data?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

[quote user="SaarCohen"]

Sorry to repeat, but if that is the change you have made, the data stored would not have changed.

How did you check the data?

[/quote]

I used Enterprise Manager and queried the issuescomment table and viewed there what the image links looked like in the actual comment.

Do you have another method that I could use?

I'm thinking now I'll revert the change to the .vm file and see what happens.

Karen


karenlopez
· 1
karenlopez