Jump to content

folder moved from main site to subdomain


cheekygeek

Recommended Posts

I had the "pictures" folder in http://xyz.com root directory and the album pictures were displaying correctly based on the below code :

define('DOCUMENT_ROOT_PATH',$_SERVER['DOCUMENT_ROOT'].'/');
define('COMING_UP_PICTURES',DOCUMENT_ROOT_PATH.'/');
define('COMING_UP_PICTURES_GALLERY','pictures');
define('RECENT_HISTORY',DOCUMENT_ROOT_PATH.'/');
define('RECENT_HISTORY_GALLERY','pictures'); 

I recently created http://static.subdomain.com and moved the "pictures" folder into this subdomain, now the pictures wont display.

Please help!

thank you for the prompt reply,could you please let me know if the code requires to be amended to include the url path and what it should be amended to?, I am not a coder but any suggestion will help me to understand and re code.

 

Below is the example from my site : http://tamilmelisai.com

 

When you click on the albums or artists tab there are no images, but for all the others it displays images correctly.

I don't know what changes you specifically have to make because that is not my site and I do not know how it works nor how those constants are used, but like I said before I suspect you'd need to change one or more of their values to use the full URL with the domain name and all.

 

And a couple casual comments: that background image is outrageously large (in filesize) and why does it keep sending me to the index page when I'm on a different page.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.