Zen Follower
- Join Date:
- Jun 2009
- Posts:
- 207
- Plugin Contributions:
- 0
Post #201 by boudewijn
billy565:
I've been using IM for over a year and I love it, but something new has come up. I can upload a product image through the new product form and see the original just fine. The problem appears when I make medium and large versions - the generated images have the wrong permissions and don't appear.
I've tested using my FTP program. I can see them appear with permissions of 600 and manually changing them to 644 makes everything work.
ZC v.1.3.9h, IM v.1.7, hosted at GoDaddy.
Any help, TIA.
Hi,
I couldn't say how to set the default or inherited rights for newly created files , as my knowledge of Nix is very limited. A simple solution may lay in that area.
However, we can try to fix it in the program.
Follow these steps:
- edit <admin>/includes/functions/extra_functions/function_image_manager.php
- Go to line 968, which reads: ```
imagedestroy ($temp);
3. BEFORE that line, insert the following statement:```
chmod($dst, 0644);
- Save the file and upload it to your server
Please let me know if this fixes the problem.
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl