jjackson Posted December 10, 2005 Posted December 10, 2005 can someone tell me how to hardcode my images.... where do I do it and how do I do it? i'm having a problem getting my ssl to work on my page because of unsecure items which happen to be pictures... and hard coding seems to be the best option. Thanks, James
Guest Posted December 10, 2005 Posted December 10, 2005 can someone tell me how to hardcode my images.... where do I do it and how do I do it?i'm having a problem getting my ssl to work on my page because of unsecure items which happen to be pictures... and hard coding seems to be the best option. Thanks, James You didn't post your warning-generating example but I am assuming you are trying to use absolute paths for your images. Changing the paths from absolute to relative will stop the mixed content SSL warning as it will use either http: or https: as defined by the page being called. For hardcoded images - if you are using something like: <img src="http://www.yoururl.com/images/filename.jpg"> Change it to: <img src="images/filename.jpg" alt="Also - Don't forget your alt text here either; great for the search engines..."> Of course use whatever the path to your images may be - dropping the http://www.domain.com/ is what is important. BFC
Recommended Posts
Archived
This topic is now archived and is closed to further replies.