otuatail Posted March 18, 2009 Share Posted March 18, 2009 Hi I have 2 identical websites but one has a missing side image. The images definatly exsist and in the same location (folder) This has a side image http://www.des-otoole.co.uk/hc/holidayClubInfo.php This does not http://www.des-otoole.co.uk/hol/holidayClubInfo.php Can't work this out. Desmond. Link to comment https://forums.phpfreaks.com/topic/149961-solved-desperate-magic-missing-images/ Share on other sites More sharing options...
otuatail Posted March 18, 2009 Author Share Posted March 18, 2009 Fixed this but don't understand Whats the diffrence background-image: url(../images/HolidaySide3.jpg); background-image: url(images/HolidaySide3.jpg); The second one has worked. As the images are in the next level up, no need for ../ ??? Desmond. Link to comment https://forums.phpfreaks.com/topic/149961-solved-desperate-magic-missing-images/#findComment-787581 Share on other sites More sharing options...
Hartley Posted March 18, 2009 Share Posted March 18, 2009 You don't necessarily need the "-image" option on there. The browsers will interpret "background:" just the same. Small code change, but could fix the bug. Link to comment https://forums.phpfreaks.com/topic/149961-solved-desperate-magic-missing-images/#findComment-787778 Share on other sites More sharing options...
jcombs_31 Posted March 18, 2009 Share Posted March 18, 2009 Fixed this but don't understand Whats the diffrence background-image: url(../images/HolidaySide3.jpg); background-image: url(images/HolidaySide3.jpg); The second one has worked. As the images are in the next level up, no need for ../ ??? Desmond. What do you mean what is the difference? The difference is a different path to the images directory. Only 1 path can be correct. Link to comment https://forums.phpfreaks.com/topic/149961-solved-desperate-magic-missing-images/#findComment-787812 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.