On 10/10/06 3:57 PM, "HalfBaked" wrote this well considered message:
> Once I got all that working, I can use the image in a view like this:
> $html->image('/pictures/download/'.$picture['Pictures']['id'],array('alt'=>$pi
> cture['Pictures']['filename'])
Hi Keith,
I've been able to get the pictures to display in an otherwise empty layout
as you the first part of your example shows.
I cannot for the life of me get an image to display in a view inline with
html.
Could you explain a bit more about how you are making $html->image() work
like you have it above?
I've gotten this far:
Load http://domain/images/view/16
Which amidst the html contains this <?php
$html->image('/images/display'.$image['Image']['id']); ?>
The page starts to load showing a missing image icon, then resolves to
showing just this URL in blank window.
http://domain/images/display/16
View source shows the html is all there with the raw image data string.
Dan J.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---