Jump to content

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.

Edited by cheekygeek

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.

Edited by requinix
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.