|
|
|
|
|
User
|
toma
|
|
Date
|
8/12/2005 2:51 pm
|
|
Views
|
2159
|
|
Rating
|
8
Rate [ | ]
|
|
|
Previous
·
Next
|
toma
|
Date: 8/12/2005 2:51 pm · Subject: Using collateral image in style · Rating: 8
I'm using the demo site and trying to modify a style. I'd like to use a logo file I uploaded to the collateral area. How do I do this? None of the macro's seem to work and this is not covered in Ruling WebGUI.
|
| Back to Top |
Rate [ | ]
|
| |
toma
|
Date: 8/12/2005 2:51 pm · Subject: Using collateral image in style · Rating: 9
I'm using the demo site and trying to modify a style. I'd like to use a logo file I uploaded to the collateral area. How do I do this? None of the macro's seem to work and this is not covered in Ruling WebGUI.
|
| Back to Top |
Rate [ | ]
|
| |
len
|
Date: 8/12/2005 2:51 pm · Subject: Re: Using collateral image in style · Rating: 9
You'll have to use the collateral macro's for that.
^AssetProxy("myimage"); should work.
Len Kranendonk www.primaat.com
|
| Back to Top |
Rate [ | ]
|
| |
toma
|
Date: 8/12/2005 2:51 pm · Subject: Re: Using collateral image in style · Rating: 17
I'm trying to put an image into a style. Using img src="^|(logo.gif)" did not work in the html. How do I insert an image I uploaded with the collateral manager into a style? Is there a better way to upload an image to use this way? What is the pathing to use in the html? Ruling WebGUI is useless when it comes to details.
|
| Back to Top |
Rate [ | ]
|
| |
warren
|
Date: 11/5/2006 11:28 pm · Subject: Re: Using collateral image in style · Rating: 5
I know this is an old post, but I needed some clarification on this question recently too. So to clarify, the right way to do this seems to be: simply use ^AssetProxy(URLofImage); Don't try to use something like <img src="^AssetProxy(URLofImage);" /> which is what I was trying to do. I guess it makes sense when you realize that the image asset itself is tied to an image template that defines the structure of the <img> tag when the page is loaded. So just to be obtuse I guess if we did use the <img> tag explicitly, we might expect to get something like this: <img src="<img src="someimage.jpg" alt="" />" />
--- (Edited on 11/ 5/2006 11:28 pm [GMT-0600] by warren) ---
|
| Back to Top |
Rate [ | ]
|
| |
Jesse
|
Date: 11/5/2006 11:52 pm · Subject: Re: Using collateral image in style · Rating: 1
Actually you can do the latter, just not using the assetproxy macro:
<img src="^FileUrl(URLofImage);" /> It's actually smarter to do it this way if you use the same different image in a variety of uses and want to override the default img tag settings. Jesse
- If my comment is useful, rate me - I can always use the karma! :) Join us on the #webgui irc channel on freenode! (I use the nick Radix)
--- (Edited on 6-November-2006 1:52 pm [GMT+0800] by Jesse) ---
|
| Back to Top |
Rate [ | ]
|
| |
greghacke
|
Date: 11/6/2006 10:21 am · Subject: Re: Using collateral image in style · Rating: 13
If you are working within a style sheet asset (either a snippet type: text/css or a style sheet uploaded to the extras directory) you will want to use the standard css. For example: #divHeader { background: url(^FileUrl(image-source-url); no-repeat center top rgb(0,0,0); height: 80px; width: 500px; }
That for example will set the background image in the id divHeader to80px tall, 500px wide and set the background image image-source-url centered at the top with a background color of black.
Greg Hacke
--- (Edited on 2006-11-06 11:21:17 [GMT-0500] by greghacke) ---
|
| Back to Top |
Rate [ | ]
|
| |
toma
|
Date: 11/6/2006 10:57 am · Subject: Re: Using collateral image in style · Rating: 6
I started this thread more than three years ago. I do not even work at the same company any more nor do I use WebGui any longer. Lets let it die.
--- (Edited on 11/ 6/2006 10:57 am [GMT-0600] by toma) ---
|
| Back to Top |
Rate [ | ]
|
| |
|
|
Recent Discussions Color Key |
| Design: |
|
| Development: |
|
| Et Cetera: |
|
| Install/Upgrade: |
|
| Smoketest: |
|
| Template Group: |
|
Re: Best way to make files available to webgui comunity by bernd - Fri @ 02:50pm Re: Best way to make files available to webgui comunity by lctn2 - Fri @ 01:55pm Re: Strategic Roadmap by JT - Fri @ 01:55pm Re: Navigation links by rogier - Fri @ 01:55pm Re: 2009 Presidents Meeting by JT - Fri @ 01:10pm Re: navigation new window by rogier - Fri @ 01:03pm Re: navigation new window by rogier - Fri @ 12:53pm Re: WUC 2009 by JT - Fri @ 12:50pm Re: Best way to make files available to webgui comunity by preaction - Fri @ 12:35pm Re: Pagination markup by rogier - Fri @ 12:35pm Re: Best way to make files available to webgui comunity by kristi - Fri @ 12:29pm Best way to make files available to webgui comunity by lctn2 - Fri @ 12:12pm
|