Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to centrally manage the image and hyperlink in our email signatures. I have a nodetype that holds "URL" and a "Mediapicker"
easy part: i need to have site.com/emailsignature node redirect to the URL (forwarding users). I can easily do this in the page template.
but then i also need to have site.com/signature.jpg always load the media image that is currently selected in the mediapicker.
What approaches do you suggest?
it feels dirty but it works ;)
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = null; } @* Redirect incoming links with querystring www.orbitone.com/email-signature?redirectlink=true to the target URL *@ @{ string redirectlink = Request["redirectlink"]; if(!String.IsNullOrEmpty(redirectlink)) { Response.Redirect(CurrentPage.targeturl); } } @* Redirect incoming links with without querystring to the banner image *@ @if (CurrentPage.signatureimage != null && !(CurrentPage.signatureimage is Umbraco.Core.Dynamics.DynamicNull)) { var m = Umbraco.Media(CurrentPage.signatureimage); Response.Redirect(@m.Url); }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Need to fetch "image url" from a node property for use in email signature
I want to centrally manage the image and hyperlink in our email signatures. I have a nodetype that holds "URL" and a "Mediapicker"
easy part: i need to have site.com/emailsignature node redirect to the URL (forwarding users). I can easily do this in the page template.
but then i also need to have site.com/signature.jpg always load the media image that is currently selected in the mediapicker.
What approaches do you suggest?
it feels dirty but it works ;)
is working on a reply...