Monday, June 29, 2009

phpThumb with Web Hosted Images

Hey,

I'm trying to use phpThumb with web hosted images, none of the "other
options" i.e. width/height are working.

This is the relevant line in my view:

<img src="<?php echo $html->url('/webroot/phpThumb/phpThumb.php'); ?>?
src=<?php echo $pic_source?>"
class="polaroid">

I've tried something like the following but it does not work:

<img src="<?php echo $html->url('/webroot/phpThumb/phpThumb.php'); ?>?
src=<?php echo $pic_source?>&w=200" class="polaroid">


Any insight into my issue?

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: