[TriLUG] "wild" space on web page -- corrupt jpeg data

Brian McCullough bdmc at buadh-brath.com
Tue Jul 30 11:27:58 EDT 2013


On Tue, Jul 30, 2013 at 11:09:03AM -0400, Bill Farrow wrote:
> On Tue, Jul 30, 2013 at 11:04 AM, Brian McCullough <bdmc at buadh-brath.com> wrote:
> > I have a CakePHP 1.1 system that I am maintaining, and have a "small" problem.  I have a page that contains an IMG tag, with the source being a link into the system ( it calls a controller function that returns the content of a JPEG file ).
> 
> Brian,
> I think you are going to have to show us some php code.
> 
> Are you doing something like:
>   <img src="/cgi-bin/my-image-generator.cgi">

Yes, Bill.  That is basically it.  Because it is an MVC framework, it
looks more like <img src="/people/profiles/my-picture" > but essentially
what you said.


Brian



More information about the TriLUG mailing list