Results 1 to 5 of 5

Thread: New Site won't show any graphics - Text Only

  1. #1
    Junior Member
    Join Date
    Jul 2015
    Posts
    25

    Default New Site won't show any graphics - Text Only

    I've published a preliminary new site called irmedicalcenter.com, and its just a one page site which has a Master Border just at the top and bottom none on left or right. I put in a logo in the Master border on top, along with some text. The main body is supposed to be a jQuery Carousel, and in the NOF 15 Preview and Local Publishes the site looks and behaves as expected. However, after publishing the only things which show are the text elements. I've checked the File Manager on my site host and all of the files I believe are there. Not sure why they won't load up. I've tried setting the HTML Output of the site to HTML 5 and also HTML 5 Dynamic, but those changes did not alter the behavior in any observable way to me.

  2. #2
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    1,977

    Default

    your image files give no permission to be viewed
    example: http://irmedicalcenter.com/WebHeader.png

    can you make sure with an ftp sopftware such as Filezilla (free) that WebHeader.png exists alongside the index.html and that permission is not disallowed

    the same goes for all other images

  3. #3
    Senior Member franko's Avatar
    Join Date
    Apr 2010
    Location
    Tasmania Australia
    Posts
    2,641

    Default

    To further what Anton said: if your Local Publish works ok then the site is being generated with integrity. Therefore the issue is with your hosting company and, as Anton suggested, is probably with your file permissions. Assuming you're on a unix server, check that both html and image files have 644 permissions. If you're on a windows server, check with your ISP support as to what the equivalents would be and how to set them (I wouldn't have a clue).
    Last edited by franko; 10-23-2016 at 11:35 PM.

  4. #4
    Junior Member
    Join Date
    Jul 2015
    Posts
    25

    Default

    It turns out that my file permissions were OK, but in the .htaccess file there were some rules for my sites which were making a shorthand for the paths to my images. I sense that this file is modified by NOF to allow for relative paths for the image links within the HTML code perhaps. The last line.

    The file looks like this:

    RewriteEngine on

    RewriteCond %{HTTP_REFERER} !^http://dynamicrehabandspine.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://dynamicrehabandspine.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.dynamicrehabandspine.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.dynamicrehabandspine.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://irmedicalcenter.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://irmedicalcenter.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.irmedicalcenter.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.irmedicalcenter.com$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    This is what it looks like now and all is working. Prior to this, my new site [irmedicalcenter.com] was not included in this file so I think these rewrite rules were getting in the way. A nice shout out to GoDaddy for a great technical support guy who sleuthed his way to finding this.

    Thanks Anton and Franko for quick replies and pointing me in the correct direction. It's often knowing what's not broken which leads to what is.

  5. #5
    Senior Member chuckj's Avatar
    Join Date
    Jan 2010
    Location
    www.beyondfusion.com - Florida
    Posts
    1,302

    Default

    Fusion doesn't mess with .htaccess files.
    Chuck Joslin
    www.BeyondFusion.com
    PHP & MySQL development with Fusion
    Fusion support for AllWebMenus (Likno) Contact me for custom AWM menus for your sites.
    Tutorials and Forums

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •