Here is a link to a product that illustrates how to do this for ExampleFileSystemSkin product :
http://sourceforge.net/project/showfiles.php?group_id=55262&package_id=99640
With stylesheets, this is dtml. You can look at the zpt stylesheets in CMF in its skin folder to get the idea of how to use the portal_url or properties from a properties sheet to create your css. Generally, you would use portal_url in conjunction with the image to give you the full image path the css that is rendered.
Hope this helps.
Regards,
David
On Friday, August 12, 2005, at 06:45 AM, Nicholas Wieland wrote:
Hi *,<image.tiff>
I'm trying to use image replacement in a FS product, but unfortunately I'm not able to catch the image on the FS (a simple gif).
The image is inside 'myproduct/images', what I've tried is to create an ImageFile and use it inside the background-image directive inside the stylesheet, but also url("images/foo.gif") with and without the absolute url.
How do people use image replacement in FS based products ?
TIA,
ngw
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
On Friday, August 12, 2005, at 06:45 AM, Nicholas Wieland wrote:
Hi *,<image.tiff>
I'm trying to use image replacement in a FS product, but unfortunately I'm not able to catch the image on the FS (a simple gif).
The image is inside 'myproduct/images', what I've tried is to create an ImageFile and use it inside the background-image directive inside the stylesheet, but also url("images/foo.gif") with and without the absolute url.
How do people use image replacement in FS based products ?
TIA,
ngw
Yahoo! Mail: gratis 1GB per i messaggi, antispam, antivirus, POP3_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
