On Oct 10, 2006, at 1:22 PM, radioflyer wrote:

>
> The way the script is set up it's supposed output a series of table
> rows, each containg an image (and other data.) The script sets headers
> everytime through the loop. Is that what I want?

You want to give me $10. That's what you want. ;o)

Besides that, you want to set the headers only if the output is only  
going to be an image. If you're spitting out HTML, it won't work if  
the headers have specified the content as image/jpeg.

Seems like  you need an action just for the image output, and another  
(or possibly a helper) for the table output (which calls the image  
output action).

-- John

>
> On Oct 10, 2:44 pm, "John David Anderson (_psychic_)"
> <[EMAIL PROTECTED]> wrote:
>> On Oct 10, 2006, at 12:38 PM, radioflyer wrote:
>>
>>
>>
>>
>>
>>> On Oct 10, 1:56 pm, "John David Anderson (_psychic_)"
>>> <[EMAIL PROTECTED]> wrote:
>>>> On Oct 10, 2006, at 11:30 AM, Daniel Jewett wrote:
>>>> <snip>
>>
>>>>> Can anyone put me on the right track with this?What exactly isn't
>>>>> working? Seems like this type of thing should
>>>> basically work.. are you getting errors? Header problems?
>>
>>>> -- John
>>
>>> Thanks for the response John. I'm guessing I have something going
>>> wrong
>>> with the headers. If I call the action by itself, I get the raw data
>>> string, even though the action has supposedly set headers.You  
>>> might try setting the headers in a special view or layout made
>> for the outputting of the image.
>>
>> -- John
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to