cheekygeek Posted August 23, 2013 Share Posted August 23, 2013 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! Quote Link to comment Share on other sites More sharing options...
requinix Posted August 23, 2013 Share Posted August 23, 2013 Whatever constant has to do with images probably needs the "http://static.subdomain.com" in it too now. Quote Link to comment Share on other sites More sharing options...
cheekygeek Posted August 23, 2013 Author Share Posted August 23, 2013 (edited) 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 August 23, 2013 by cheekygeek Quote Link to comment Share on other sites More sharing options...
requinix Posted August 23, 2013 Share Posted August 23, 2013 (edited) 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 August 23, 2013 by requinix Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.