What’s the URL and how are you referencing it?  Are you setting the mime-type 
for the returned image?  Something like:
        header(‘Content-Type: image/jpeg');

Cheers,
Rob

> On Apr 14, 2015, at 7:42 AM, Roberto Verzola <rverz...@gn.apc.org> wrote:
> 
> Hi guys,
> 
> I need more help on this one: I have a WordPress post which basically
> points to a php script URL, that will give back a jpeg file.
> 
> My intention is to generate a URL for the WordPress post so that if
> people access this URL from their browser, the browser picks up the url
> to the PHP script, gets the jpeg file behind the script, and displays
> the jpeg file.
> 
> What the browser instead displays is the alternate text, or if I take
> that out, a graphic icon that the user must click, before the image
> itself is displayed.
> 
> Is there a way to avoid this extra click? My Web browsing says it is a
> security feature, but if a jpeg file is behind the php, and the user
> had already requested a jpeg file, it seems to me the extra click is
> not necessary.
> 
> Thanks in advance!
> 
> Obet
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to