![]() |
|
Images saving as i.php.jpg - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Images saving as i.php.jpg (/thread-11603.html) |
Images saving as i.php.jpg - SubJunk - 2014-01-27 Hi guys, In Firefox if I save an image, the browser wants to name it i.php.jpg. For example: http://www.dualmonitorbackgrounds.com/albums/celebrities/jenniferlawrence-9.jpg Images saving as i.php.jpg - acrylian - 2014-01-27 Sorry, I cannot reproduce this in any browser. Downloading a php file would only occur if you set the full image to be protect so it would be served via a php script instead of linked directly. Of course if you try to download the image from the thumb view that of course would download a php file⦠Images saving as i.php.jpg - sbillard - 2014-01-27 It may well be that the image you are saving was newly created. In that case the link would be to the image processor. The only solution to this is to make sure your images are already cached. Images saving as i.php.jpg - SubJunk - 2014-01-28 Thanks for the replies. I couldn't reproduce it from the link I gave either, so it appears the referrer might affect it. I was able to reproduce it by going to an album page (http://www.dualmonitorbackgrounds.com/5_minutes_away/) and clicking on a thumbnail, then clicking on the image on the image page, then right-clicking to "Save Image As...", via Firefox. The image was added months ago. Images saving as i.php.jpg - sbillard - 2014-01-28 Indeed I can using FireFox but Chrome works correctly. I looked at the HTML of the page. The image link is:
Which is an image processor link. Not sure why that is still there. Zenphoto redirects the link to the cache to load the picture if the cache is not protected. That apparently is what is happening here. Chrome pays attention to the changed "link" and shows you the image name. Apparently FireFox is not so astute. Images saving as i.php.jpg - acrylian - 2014-01-28 I cannot reproduce it with any browser. Maybe any server/browser cache playing tricks once again? Images saving as i.php.jpg - SubJunk - 2014-01-29 Thanks for the help in hunting it down, is there any setting I can change to prevent it from happening? Images saving as i.php.jpg - acrylian - 2014-01-29 Yes, precache your images either via the cache manager or by visiting the pages manually. IN any case this happens only once until images are cached (the same old behaviour). Images saving as i.php.jpg - sbillard - 2014-01-29 Actually, in this case it is not changing even though the image is cached. So one of two things are going on:
Images saving as i.php.jpg - acrylian - 2014-01-29 True, I did assume that other caches are not involved. Images saving as i.php.jpg - SubJunk - 2014-02-03 I'm not using the protected image option, so I guess it's due to Google PageSpeed. Darn. It would be a shame to have to stop using it since it improves load times by a lot. Images saving as i.php.jpg - sbillard - 2014-02-05 You just have to disable it until you get all your images cached. (Or at least the ones you want people to download with FireFox.) Images saving as i.php.jpg - SubJunk - 2014-02-05 Ah I get it now. Thanks! |