No pictures when accessed remotely

A place for users and developers of the Xataface to discuss and receive support.

No pictures when accessed remotely

Postby ngms27 » Thu Jan 03, 2013 4:25 am

When I access my application from remote machines no pictures are downloaded even if I aqsk my browser to fetch them.

This seems rather odd, is this a known issue?
ngms27
 
Posts: 30
Joined: Mon Nov 12, 2012 8:18 am

Re: No pictures when accessed remotely

Postby shannah » Thu Jan 03, 2013 9:48 am

So it works locally, but not remotely? By "pictures" do you mean only file upload field contents, or all images in Xataface?

If you are missing all style and image info, you should look at the 2nd parameter of the df_init() function in your index.php file. This should point to your Xataface directory. You may have an absolute URL there that only works locally. Best to make this a relative URL.
-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: No pictures when accessed remotely

Postby ngms27 » Fri Jan 04, 2013 2:25 am

Yes that fixed it. Was pointing to localhost
ngms27
 
Posts: 30
Joined: Mon Nov 12, 2012 8:18 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 25 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved