I see the image in the template view but nor in the preview or the actual email. In the catalina.out I only see SQL selects while clicking on preview.
My guess is as follows:
The template view uses this URL style:
http://<my-hostname>/openemm/sc?compID=19
Email and preview are using this:
http://<my-hostname>/image?ci=1&mi=5&name=logo.jpg
When I put an image directly in the webapps folder I also get nothing in IE9 or an error message in Firefox.
When I put it one folder deeper into openemm the very same image suddenly appears.
In the server.xml of the corresponding Tomcat I see this passage:
Code: Select all
<Context docBase="openemm" path="" reloadable="true" />
When I search the OpenEMM folder for image? I get several cms_image? occurrences but only this for the plain image?:
Code: Select all
fname = '<%= company.getRdirDomain() %>/image?ci=<%= company.getId() %>&mi=<%= tmpMailingID %>&name=' + fname;
Other occurrences are in these classes:
webapps/openemm/WEB-INF/classes/org/agnitas/backend/Data.class
webapps/openemm/WEB-INF/classes/org/agnitas/web/MailingComponentsAction.class
and the openemm-2011.sql
Is there a special reason why image is called in the root folder and not in the openemm folder?
When I call
Code: Select all
http://[i]<my-hostname>[/i]/openemm/image?ci=1&mi=5&name=logo.jpg
Is this a bug?