Peter M Dodge Posted July 5, 2012 Share Posted July 5, 2012 (edited) I am attempting something of a hack. I have a custom field, that contains the URI to the image of a cactii graph for bandwidth usage. However, it seems that because the image is under https, that the URI is getting overwritten to the main page? Is this normal behaviour? <h2> {$LANG.clientareaproductdetails} for {$product} </h2> <img src="{$customfields[15].value}" alt="Cactii graph for this server, updated daily." title="" \> However only the alt text shows and if you "Copy image location" its for the main page in https? [edit] Some further poking with web dev discovered that its rendering that tag as: <img src="" alt="Cactii graph for this server, updated daily." title="" \=""> Looks like somethings breaking? the ="" is entirely superfluous and not in the template Edited July 5, 2012 by Peter M Dodge 0 Quote Link to comment Share on other sites More sharing options...
sdemidko Posted July 6, 2012 Share Posted July 6, 2012 looks like you accessing custom field value in wrong way it is array, so I assume it should look like: <img src="{$customfields.15}" alt="Cactii graph for this server, updated daily." title="" \> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.