Travist6983 Posted November 4, 2008 Share Posted November 4, 2008 Ok not exactly sure if this is where i should ask this question but here goes We get an IDX feed everynight which feeds our listing detail page and also picture urls like this one... http://attach.realcomponline.com/?Path=PROPERTY/9AD81/D066A/9AD81ED066A848/76889EEA7BB4E6.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&w=320&h=240 I would like to change the end of the string to be... http://attach.realcomponline.com/?Path=PROPERTY/9AD81/D066A/9AD81ED066A848/76889EEA7BB4E6.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&w=800&h=600 to make the pictures bigger we have talked to our IDX feed and they will NOT change the string to have the bigger pictures but if you look at both urls the bigger pictures do look fine not pixelated any help or suggestions would be great thanks a million Quote Link to comment Share on other sites More sharing options...
Barand Posted November 4, 2008 Share Posted November 4, 2008 <?php $str = 'http://attach.realcomponline.com/?Path=PROPERTY/9AD81/D066A/9AD81ED066A848/76889EEA7BB4E6.jpg&g=100&sp=0&l=0&t=0&r=10000&b=10000&o=0&w=320&h=240'; $a = explode('&', $str); $a[8] = "w=800"; $a[9] = "h=600"; $str = join('&', $a); echo $str; ?> Quote Link to comment Share on other sites More sharing options...
Travist6983 Posted November 5, 2008 Author Share Posted November 5, 2008 i truly appreciate you helping me but i cant seem to get it to work maybe this would help you more a bit to HELP me... Shown in red below is where we bring the photo into the page... i tried using what u suggested as <div id="PhotoArea" name="PhotoArea"> <img src="<?php echo $firstphoto; ?>" name="ImageFull" border="1" width="800" height="600" /> i tried using what u suggested as... <div id="PhotoArea" name="PhotoArea"> <img src="<?php $str = '$firstURL'; $a = explode('&', $str); $a[8] = "w=800"; $a[9] = "h=600"; $str = join('&', $a); echo $str; ?>" name="ImageFull" border="1" width="800" height="600" /> I am so not a php guy so any more help you can give me would be great thanks so much T 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.