[ SOLVED ] Some images were missing randomly from pages...

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

[ SOLVED ] Some images were missing randomly from pages...

Post by fearmydesign »

Hi, I had this weird issue with one of my pages, it just stopped displaying some images on it for some weird reason. It's using the same template as all my other pages, how could something like this happen? I am using version 1.9.2, I haven't done any updates or anything like that lately.... now, in order to fix this issue, I just added a forward-slash in front of the uploads like such; /uploads/images/etc etc

Has anything like this ever happened to anyone, and did you figure out why? this is really random, and no I am worried that this could happen with any other pages on my site at any time... or even worst with some of my customers sites...

Thanks
Last edited by fearmydesign on Thu Mar 03, 2011 6:29 pm, edited 1 time in total.
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Can pages get corrupted just like that...?

Post by Wishbone »

Do a 'View Source' and see what path it references.. If it looks correct and hasn't been altered, it's not an issue with CMSMS.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Can pages get corrupted just like that...?

Post by fearmydesign »

Do a 'View Source' and see what path it references.. If it looks correct and hasn't been altered, it's not an issue with CMSMS.
Thanks for your response... but I want to know is why some image paths are written 'with' and some 'without' the forward-slash "/" on the same page and still work... is this possible that both of these methods work?

Example:

/uploads/images/etc

uploads/images/etc
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Can pages get corrupted just like that...?

Post by Wishbone »

Can you give an example page for us to look at?
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Can pages get corrupted just like that...?

Post by fearmydesign »

Can you give an example page for us to look at?
http://www.ileansolutions.com

You will see some images are pulling with /uploads/...etc
and others are pulling with uploads/...etc
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Can pages get corrupted just like that...?

Post by Wishbone »

Hmm.. I see many references to uploads/images, and two using /uploads/images .. I see them all in my browser.. No missing images.
zenmaster
New Member
New Member
Posts: 7
Joined: Wed Jan 26, 2011 12:46 pm

Re: Can pages get corrupted just like that...?

Post by zenmaster »

fearmydesign wrote:
Do a 'View Source' and see what path it references.. If it looks correct and hasn't been altered, it's not an issue with CMSMS.
Thanks for your response... but I want to know is why some image paths are written 'with' and some 'without' the forward-slash "/" on the same page and still work... is this possible that both of these methods work?

Example:

/uploads/images/etc

uploads/images/etc
The first example is saying "find this item relative to the root directory" the second "find this item relative to the current directory".

If the current directory is the root directory then it's the same thing and both will work.
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Can pages get corrupted just like that...?

Post by fearmydesign »

Thank you all for your responses... but something weird is going on... for example last week I added an image a blog article on my site and today I checked it and the image is not showing up!!! take a look please:

http://www.ileansolutions.com/cgblog/7/ ... iness.html

??? If it was working fine last week when I added it... and a few days later it just disappears..!!! I haven't even logged into my cmsms... any suggestions ???

My concern is that images will just start randomly disappearing without any warning... which is what's happening now ::)

Thank you everyone ???
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Can pages get corrupted just like that...?

Post by Dr.CSS »

You have {metadata showbase="false"} which will stop the <base href= from showing up so when the image says uploads/images/blog/blog-image01.jpg it has no starting point...
User avatar
fearmydesign
Power Poster
Power Poster
Posts: 363
Joined: Sun Feb 28, 2010 10:54 pm

Re: Can pages get corrupted just like that...?

Post by fearmydesign »

You have {metadata showbase="false"} which will stop the <base href= from showing up so when the image says uploads/images/blog/blog-image01.jpg it has no starting point...
You are the .CSS { KING: PIN }

Thanks Dr.!
Rod
"Be careful who you step on your way up; because you never know who you'll meet on your way down!" - or something like that.
Post Reply

Return to “Layout and Design (CSS & HTML)”