That took care of the entire problem....I think it's more the fact that I was one folder deeper on my phpwebsite install file....at any rate it gets rid of the // problem and my images show up...just fine.
Thanks for the inspiration to go get the answer and love the mod to the phpwebsite...I will be watching further...and hope my little contribution helped some. I did have to CHMOD the folders 777 which I did early on...it just kept driving me mad, I tell ya.
Peace,
Kpax
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am so sorry, I came upon this very late and blurry eyed and should have checked the implications on all aspects of the effects of the change of this code.
I may have been premature.... It fixes the Listing image to show up...but then what happens is the Agent and Agency images do not show...as they now show a path like this
/images/phpwslistings/agentsthumb_imagesample.jpg (for the agents)
and
/images/phpwslistings/agencies1_sampleagency.jpg (for the agency)
I did find that if you edit the ListingBaseImage Class File the way I described in the former post and also make the following changes to the ListingAgent Class File and the Listing Agency Class File as below....
everything shows up .....but all images are stored in the followin root image folder "/images/phpwslistings/" and as you say the double // mark should not make a difference....it deffinately did not show up on the browser when I had it posted that way.....I shall continue to look at the issue as it plauges me...so.
ListingAgent Class File
#35 $this->_image = new SEILER_ListingBaseImage("");
#44 $this->_image = new SEILER_ListingBaseImage("", serialize($agentUser->getUserVar("image",$this->_user_id,"phpwslistings")));
ListingAgency Class File
#26 $this->_image = new SEILER_ListingBaseImage("");
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found it...also found the solution to the // error look at line #'s 15 and 25 in the Class / ListingBaseImage.php file
remove the trailing "/" after the directory base line #15
var $_imageurl = "images/phpwslistings/";
should read :
var $_imageurl = "images/phpwslistings";
and remove the trailing "/" after the base directory line #25
$this->_imagedir = $GLOBALS["core"]->home_dir . "images/phpwslistings/";
should read :
$this->_imagedir = $GLOBALS["core"]->home_dir . "images/phpwslistings";
That took care of the entire problem....I think it's more the fact that I was one folder deeper on my phpwebsite install file....at any rate it gets rid of the // problem and my images show up...just fine.
Thanks for the inspiration to go get the answer and love the mod to the phpwebsite...I will be watching further...and hope my little contribution helped some. I did have to CHMOD the folders 777 which I did early on...it just kept driving me mad, I tell ya.
Peace,
Kpax
Hmm.... a double slash in the URL should not present any problems, however we can put these changes into effect.
What web browser are you using?
I am so sorry, I came upon this very late and blurry eyed and should have checked the implications on all aspects of the effects of the change of this code.
I may have been premature.... It fixes the Listing image to show up...but then what happens is the Agent and Agency images do not show...as they now show a path like this
/images/phpwslistings/agentsthumb_imagesample.jpg (for the agents)
and
/images/phpwslistings/agencies1_sampleagency.jpg (for the agency)
but the listing image is now showing....
Brower type is: Internet Exploer 6.0.2800.1106
Link to example site is: http://www.finesthealthspas.com/spas/
I am bound and determined to find the solution to this....again I am sorry if this posting caused problems to anyone.
Kpax
I did find that if you edit the ListingBaseImage Class File the way I described in the former post and also make the following changes to the ListingAgent Class File and the Listing Agency Class File as below....
everything shows up .....but all images are stored in the followin root image folder "/images/phpwslistings/" and as you say the double // mark should not make a difference....it deffinately did not show up on the browser when I had it posted that way.....I shall continue to look at the issue as it plauges me...so.
ListingAgent Class File
#35 $this->_image = new SEILER_ListingBaseImage("");
#44 $this->_image = new SEILER_ListingBaseImage("", serialize($agentUser->getUserVar("image",$this->_user_id,"phpwslistings")));
ListingAgency Class File
#26 $this->_image = new SEILER_ListingBaseImage("");