Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 13, 2008, 12:09:39 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: xml gallery  (Read 110 times)
madshark
Newbie
*
Offline Offline

Posts: 1


« on: July 05, 2008, 10:07:16 AM »


I am tying to use an xml flash gallery in WWB. but somehow the images defined in the xml wont get loaded. So im assuming im linking them wrong.

the galley is in folder /public_html/gallery/testgallery

the images are locted in /public_html/gallery/testgallery/pics

the xml data show - <photo desc="Picture is from stock" url="pics/1.jpg" />

it works fine on the local machaine as soon as i upload it the images dont get loaded

any assistance would be appreciated

thanks much
Logged
katrina1
Support Supervisor
Über Jedi
*****
Offline Offline

Posts: 2040



WWW
« Reply #1 on: July 06, 2008, 02:31:59 AM »

Can you provide an actual URL to a page where the pics are not showing?
Logged

Hey, Rocky! Look. Nothing up my sleeve... presto a rabbit!

Lunarpages Web Hosting

Lunarpages Forums

Lunarpapages Affiliate Program
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3400



« Reply #2 on: July 06, 2008, 09:24:32 AM »

Some common image-related problems:

* image referred to by its Windows name (on the PC) and not by its Linux name (on the server)
    You've looked at the gallery code on the server and it says "pics/1.jpg" and not "C:\Documents and Settings\..."? This is common when using site or page builders such as FrontPage.

* image was never uploaded
    cPanel > File Manager, navigate to the directory and see if the file is there. Perhaps it ended up in the wrong directory?

* Linux is case-sensitive, so 1.JPG is different from 1.jpg. Windows is case-insensitive, and treats the two as the same name.

* image was corrupted during upload
    It should have been uploaded in BINARY mode. Did you force ASCII mode? Use your browser to call up the image for display (http://www.yoursite.com/gallery/testgallery/pics/1.jpg) and see if it displays correctly.

* your gallery code is running in some other directory than you think it is, so pics/ is not directly under the directory you're running in

* you have hotlinking protection on, forbidding your site from loading image files
    If you add a subdomain or add-on domain, be sure to add it to the "permitted" list in .htaccess.
« Last Edit: July 06, 2008, 09:27:12 AM by MrPhil » Logged

scanman20
Master Jedi
*****
Offline Offline

Posts: 1251



WWW
« Reply #3 on: July 06, 2008, 11:20:14 AM »

One other possibility is that Flash may be enforcing the same domain policy and you might want to try absolute URLs instead of relative ones.
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM