Zen Follower
- Join Date:
- Nov 2005
- Posts:
- 157
- Plugin Contributions:
- 0
Post #181 by weber
is there any way to copy the original files to some specific folder when resizing the small?
Zen Follower
is there any way to copy the original files to some specific folder when resizing the small?
Zen Follower
This is already a feature of IM. On resize of small, the original file is always kept with the extension .BAK. You can choose if it is saved in it's residing folder or in a separate "BAK" folder.
See the option "Recycle Bin folder" in the IM configuration settings.
Boudewijn Sjouke
http://www.chinesedingen.nl
New Zenner
Hi there!
How can I use Image Manager to check for non-used images?
Zen Follower
Option "Show Files" click "Not attached"
Boudewijn Sjouke
http://www.chinesedingen.nl
New Zenner
Hey guys. I was wondering if any of you might have seen this error from the image manager mod:
"Fatal error: Out of memory (allocated 64749568) (tried to allocate 44 bytes) in /image_manager.php on line 508
"
I think the problem might be more from how many images I have than from the mod. I probably have close to 85,000 images.
I was actually planning on using this mod to help me delete many of the un-needed images but it doesn't seep that it can quite handle that many.
Any suggestions??
Thanks in advance
Jeremy
http://www.bedsideplaythings.com - WARNING ADULT
Zen Follower
jjrmy1:
Hey guys. I was wondering if any of you might have seen this error from the image manager mod:
"Fatal error: Out of memory (allocated 64749568) (tried to allocate 44 bytes) in /image_manager.php on line 508
"
I think the problem might be more from how many images I have than from the mod. I probably have close to 85,000 images.
I was actually planning on using this mod to help me delete many of the un-needed images but it doesn't seep that it can quite handle that many.
Any suggestions??Thanks in advance
Jeremy
Hi Jeremy,
IM can handle that number of images, but for such quantities is requires more memory than you have (64M).
So the first suggestion is to ask your ISP for more memory.
Second suggestion: temporarily exclude some image folders from IM (see the admin options). I'm not sure if this will help but it's worth a try.
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
New Zenner
Ok. Thanks for the reply. They must have me on some sort of cap since there's no way there's only 64MB of memory. Guess I'm hogging all the RAM. Thanks for the tip I'll see how it works and let ya know.
Cheers
http://www.bedsideplaythings.com - WARNING ADULT
New Zenner
jjrmy1:
Ok. Thanks for the reply. They must have me on some sort of cap since there's no way there's only 64MB of memory. Guess I'm hogging all the RAM. Thanks for the tip I'll see how it works and let ya know.
Cheers
Well that seemss to have worked. Any ideas to delete all listed instean of ticking the check box for all 29000? HAHA! Also would there be a way to exclude files in the main image folder but show all the files in one of the sub folders ex: medium??
Thanks a bunch
And to the rest of you guys... this really does work with a BUNCH of files.
http://www.bedsideplaythings.com - WARNING ADULT
Zen Follower
Hi,
I'm glad that worked! Your ISP can force settings on the PHP scripts that you run, and one of those is the maximum amount of RAM that a script is allowed to use. Generally you are not able to increase that amount yourself, but you have to ask your ISP to do it.
Your questions:
In this version of IM, there is no "check all" button yet. Won't be much work though to include this in the next version (will not be out until after my holidays in july)
You mention "main image folder" here, do you mean the folders where your small images reside, or the main images folder of Zen-Cart (/images)? I myself have all images organised in subfolders of /image, so it can make a difference.
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
New Zenner
boudewijn:
Hi,
I'm glad that worked! Your ISP can force settings on the PHP scripts that you run, and one of those is the maximum amount of RAM that a script is allowed to use. Generally you are not able to increase that amount yourself, but you have to ask your ISP to do it.
Your questions:
In this version of IM, there is no "check all" button yet. Won't be much work though to include this in the next version (will not be out until after my holidays in july)
You mention "main image folder" here, do you mean the folders where your small images reside, or the main images folder of Zen-Cart (/images)? I myself have all images organised in subfolders of /image, so it can make a difference.
Boudewijn
Problem solved. I actually used Iopus IMacros for firefox to set up a macro for checking them all then moving to the next page and deleting. Worked like a charm. I actuall y didn't have any need to exclude the main "/image" folder. THX
http://www.bedsideplaythings.com - WARNING ADULT
Zen Follower
Installed in 1.3.9 and double checked the files that are supposed to be in their correct directories, in tools i see BOX_TOOLS_IMAGE_MANAGER and when i select get this error
( ! ) Fatal error: Call to undefined function IMCheckBAKFolder() in C:\wamp\www\wind\image_manager.php on line 84
Call Stack
1 0.0256 579312 {main}( ) ..\image_manager.php:0
Any ideas ?
Thank you
If you wait to do everything until you're sure it's right, you'll probably never do much of anything !!!
Zen Follower
windsurfer:
Installed in 1.3.9 and double checked the files that are supposed to be in their correct directories, in tools i see BOX_TOOLS_IMAGE_MANAGER and when i select get this error
This means that a language constant is not found. Can you check if the file image_manager.php is in <admin>/includes/languages/<your language>/extra_definitions, AND is correct (i.e. including the definition you mentioned)?
windsurfer:
( ! ) Fatal error: Call to undefined function IMCheckBAKFolder() in C:\wamp\www\wind\image_manager.php on line 84
Call StackTime Memory Function Location
1 0.0256 579312 {main}( ) ..\image_manager.php:0
Any ideas ?
Thank you
It seems that the file function_image_manager.php is either not correct, or not included while loading ZC. Please check if it is present in the folder <admin>/includes/functions/extra_functions AND not corrupt.
Boudewijn Sjouke
http://www.chinesedingen.nl
Zen Follower
Hi Boudewijn
Got it thank you
If you wait to do everything until you're sure it's right, you'll probably never do much of anything !!!
Totally Zenned
Hi Boudewijn
I must be missing important files because after install I don't see an image manager area other than the Configuration>image manager.
I installed Image Manager v.1.6 onto a previous zen cart v.1.3.9f that already had lots of images. I followed the install and do not see any results.
During install of the install.sql it processed 9 statements (I think there were 9) and I do have the Configuration>Image Manager.
My problem is I don't think this installed correctly or I am missing files and here is why:1. After install I set the large images to 600 by 600. The images still show huge (much larger than 600 by 600).
2. I do have the Configuartion>Image Manager Settings but I don't see an image manager anywhere else. Is there supposed to be one under tools>Image manager? If not where do I go to see the attached and unatached images and to clean them up? I don't see this anywhere.Any help would be greatly appreciated. You don't know how bad I need this. I mean the option to be able to clean up images that are no longer in use is long overdue. My only problem is I don't have this working yet.
Building a better web, one site at a time: Dayton Web Design
Zen Follower
Hi,
sports guy:
After install I set the large images to 600 by 600. The images still show huge (much larger than 600 by 600).
Where did you set the 600x600? In the IM-settings? This is not a setting to determine how large images will be displayed, but to what size they are reduced, by you, through the IM adim interface.
sports guy:
I do have the Configuartion>Image Manager Settings but I don't see an image manager anywhere else. Is there supposed to be one under tools>Image manager? If not where do I go to see the attached and unatached images and to clean them up? I don't see this anywhere.
After installation you should have a Tools->Image Manager option in your admin interface. If it's not there, files are either missing or corrupt. You might try to re-upload them and check if they are in the designated folders.
Beside this, my advice is to make a backup of your images folder before you start the big cleanup.
Oh btw the new version 1.7 has an option to select all files on a page for deletion. In your case that might be extremely handy. I just did not publish 1.7 yet, because it's only a minor change. If you want to try it, please send me an emailaddress in a private message, and I'll send the package there.
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
Totally Zenned
Well I found the problem. I uploaded all the files into the includes area of my store instead of the: Admin/includes. I was thrown off because most add-ons have an admin folder showing in the folder structure.
I deleted files and uploaded into the correct area (admin folder) and it now shows. I suspected because I did not see an admin folder, but if the link location is: tools/image manager, there would have to be an admin folder upload in the admin. Then I read the instructions again and found that you do mention the admin folder in your instructions. :blush:
This module is much needed. And you are right the ability to delete multiple images per page will be a huge timesaver. I am looking at 8 pages of unused images as of now, so I am looking forward to the update. Thank you so much!
Where did you set the 600x600? In the IM-settings? This is not a setting to determine how large images will be displayed, but to what size they are reduced, by you, through the IM adim interface.
Under Configuration/Image Manager line one says: "Maximum large image width". Next line below is: "Maximum large image height". I had set both to 600.
On the right of Maximum image width where you edit I see this: "```
Maximum large image width
Please make any necessary changes
Maximum large image width
The maximum sizes of the small and medium size images can be set through the admin interface (Configuration->Images).
You can set the maximum width of the large files here.
Building a better web, one site at a time: Dayton Web Design
Totally Zenned
Got it! The settings are correct it is set at 600px X 600 px via the Configuration/Image Manager line 1 and 2 settings. But in order for the image to show with the resize I first have to go to: Tools/Image Manager, select the attached images, and then click the "Combined copy/resize" text next to each image to re-size the images. Awesome module thank you so much!
Building a better web, one site at a time: Dayton Web Design
Zen Follower
sports guy:
So I assumed this meant 600 px would be the maximum image width displayed to visitors. Is this not the case?
No, it's the max size for newly processed images. So, if you would change the value to 400px, nothing will actually happen. The visitor still sees the 600px image.
Only after you physically resized the images, using the IM admin interface, the visitor will notice.
After posting this I saw your post crossed mine. I'm glad you worked it out!
Boudewijn Sjouke
http://www.chinesedingen.nl
Zen Follower
Image Manager 1.8 is available from the Add On section!
New in this version:
Please read the instructions carefully before installation/upgrade!
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
New Zenner
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.
Tell staff why this post should be reviewed.