ASPX templates
Version 5.x > ASPX templates > Image issue View modes: 
User avatar
Member
Member
davef-helixpoint - 6/29/2010 9:00:52 PM
   
Image issue
I made a master page and can not see the images. Any pointers?

User avatar
Member
Member
kentico_michal - 6/30/2010 2:35:23 AM
   
RE:Image issue
Hi,

I am sorry, but description of your issue is too vague. I need more information to be able to give you appropriate advice.

Could you please write me which version of Kentico CMS are you using?
Are you using workflow?

What kind of web parts are placed on master page and what kind of web parts are used to display to the images?

Where are these images stored?

Could you please also write me type of these images?

Moreover, have you tried to display the images on other pages or just on master page?

Best regards,
Michal Legen

User avatar
Member
Member
davef-helixpoint - 6/30/2010 5:44:18 AM
   
RE:Image issue
It seems like I can not see the images that are defined in the css

User avatar
Member
Member
kentico_michal - 6/30/2010 7:28:24 AM
   
RE:Image issue
Hi,

It seems to me, that links to these images may not be defined correctly in css stylesheet.

For example: on master page of Personal Site is web part zone called ZoneTopText. If you take a look at the master page layout, you will see that this ZoneTopText use css class zoneTop. Definition of zoneTop class can be found at Site-Manager -> Development -> CSS stylesheet -> General and contains following code:

background: #fff url(../App_Themes/PersonalSite/Images/bg_head.jpg) no-repeat top left;

This URL need to point to the location where the image, you want to display as a background of ZoneTopText web part, is located.

Please make sure that these links in css stylesheet are correct.

Best regards,
Michal Legen

User avatar
Member
Member
Armysniper89 - 7/27/2010 12:57:14 PM
   
RE:Image issue
I have a similar issue. I migrated my site's current CSS and master pages into a portal page and added the CSS into Kentico via the Site Manager > Development > CSS Stylesheets.

My output code looks like it is properly linking in my Global.css file and my home page css, Home.CSS...but the images are not loading...a typical setup in the CSS is...

#bSpHm #mainPhoto{background:url(/App_Themes/MyCompany/images/bsp-home-photo.jpg) no-repeat top left;}

I have a theme defined with the images and the CSS there also (just in case I decided I did not want to do portal engine).

How do I reference the images properly? If I were to add them to Kentico...and reference them there (I would prefer that versus file based)...how do I do that and link in CSS when the CSS is stored in Kentico?

First installation of Kentico...:)

User avatar
Member
Member
kentico_michal - 7/29/2010 6:05:51 AM
   
RE:Image issue
Hi,

Could you please make sure, that you are using correct format of css definitions and relative path in url parameter with two dots at the beginning:
#bSpHm background:url(../App_Themes/MyCompany/images/bsp-home-photo.jpg) no-repeat top left;

Best Regards,
Michal Legen