Broken images in Newsletters in 12.x (images sent with relative links)
- Status
- Open
- Subject
- Broken images in Newsletters in 12.x (images sent with relative links)
- Version
- 12.x Regression
13.x Regression
14.x Regression - Category
- Regression
- Less than 30-minutes fix
- Feature
- Newsletters
- Resolution status
- Confirmed
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Xavier de Pedro
- Rating
- Description
This was working quite well in 9.x: images from article topics, and tracker images were shown in the emails sent by tiki newsletters. In Tiki12, they are not shown anymore (links to the images miss the domain name in the url.
Example of url from a missing image (from a tracker item image) in the email:
http://img/trackers/cbc123f5818f99ffa55c3befd01d1a65
Images from rticle topics are not included in the email either, it seems.
Images broken also even if I enable the setting "Add BASE tag in the page HEAD" (in Admin home > Look & feel > Miscellaneous".
u: admin
p: 12345To reproduce:
- Add your email in the recipients of the newsletter 1
http://xavi-9794-5162.show.tikiwiki.org/tiki-admin_newsletter_subscriptions.php?nlId=1
- Go to send newsletter 1:
http://xavi-9794-5162.show.tikiwiki.org/tiki-send_newsletters.php?nlId=1
- Add a title and select the "Newsletter template 1" in the dropdown of "Apply content template"
- You will that the homepaeg is shown in the newsletter, with some images.
- Click at the button below "Send Newsletter" & "Send"
- You will be missing images from article topics and tracker images (image field and file field)
- the only shown image is hte one with a manual inclusion with img src= and absolute url. (the tiki logo in red)
- Add your email in the recipients of the newsletter 1
- Workaround
r50586
- reverted as it breaks pretty trackers
Could another type of approach be considered, at least?
- just before the emails are sent through the newsletters, get some sort of replace of relative links with absolute links (provided that a new preference is enabled in the next branch, for instance)
- the absolute link could be with some sort of {$mail_machine_raw}, or whatever appropriate syntax to get the ful url to the tiki site typed there in the missing places.
- Importance
- 8
- Easy to solve?
- 5
- Priority
- 40
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5162
- Created
- Tuesday 04 March, 2014 10:48:24 UTC
by Xavier de Pedro - LastModif
- Sunday 21 September, 2014 09:37:37 UTC