bode Posted March 22, 2007 Posted March 22, 2007 It's been a long time since I've used CPanel. I'm designing a basic site to get me started, but at present I can't view an image on my site www.natural-light-cambridge.co.uk What premissions should I set for images and html pages? Why is this image not displayed, any thoughts? Thanks Quote
TCH-Bruce Posted March 22, 2007 Posted March 22, 2007 First question: Does "naturallightoptrgb.gif" exist in the public_html folder? Second question: Do you have hotlink protection turned on? Files and images should work if they are set to 644 (-rw-r--r--) permissions. Quote
TCH-Don Posted March 22, 2007 Posted March 22, 2007 Off hand I would say the image has not been uploaded yet. Permissions for pages and images when uploaded with ftp are 644 How are you uploading? Quote
bode Posted March 23, 2007 Author Posted March 23, 2007 The image is placed in the public_html images folder At first I thought the image might have been CMYK, but I've redone the image as a PNG and it states that it's an RGB file. naturallightopt.png File Type: PNG image data, 746 x 178, 8-bit/color RGB, non-interlaced I'm using CPanel to upload. Quote
TCH-Thomas Posted March 23, 2007 Posted March 23, 2007 When I view the source code I see it is looking for a naturallightopt.gif not a naturallightopt.png. Quote
TCH-Don Posted March 23, 2007 Posted March 23, 2007 I do not see the image when going to www.natural-light-cambridge.co.uk/naturallightopt.gif or www.natural-light-cambridge.co.uk/naturallightopt.png check spelling and case Quote
bode Posted March 24, 2007 Author Posted March 24, 2007 I do not see the image when going towww.natural-light-cambridge.co.uk/naturallightopt.gif or www.natural-light-cambridge.co.uk/naturallightopt.png check spelling and case The image and associated urls should be naturallightopt.png Perhaps I'm doing something wrong in GoLive? Quote
TCH-Don Posted March 24, 2007 Posted March 24, 2007 Have you look at your site with an ftp program or cpanels file manager to see what is there? Is there a check box or option to upload referenced files in golive? Quote
bode Posted March 27, 2007 Author Posted March 27, 2007 At last!! I've got it to work. Not sure what made the difference, but I logged into the cpanel by not using the pre domain propagation url and placing the image in the html folder instead of the images folder. I'm just glad it's working. Thanks for the contributions and taking the time to reply. Quote
TCH-Bruce Posted March 27, 2007 Posted March 27, 2007 Glad you got it to work but it sounds like your GoLive is not set to publish subdirectories. If the image is in the images folder the image tag needs to look like this: ><img src="/images/name-of-image"> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.