Oops.....
There is a comma missing between two statements. Please use the attached file to redo the patch, after removing .doc from the filename.
Sorry for the inconvenience!
Boudewijn
Oops.....
There is a comma missing between two statements. Please use the attached file to redo the patch, after removing .doc from the filename.
Sorry for the inconvenience!
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
Hi, no worries, I applied the patch and no errors were returnedbut sadly some features are not working
I will try again tomorrow, as it is very late where i am and it might be something i have done wrong.
but in case you want to look further:
the watermarking feature is not working for me
Add additional image link' link is not visable
Re-upload image' link didnt work
All three are turned on in Admin> Configuration> Image Manager
Also Filter on products ID didnt work
Cheers
Ray
???
Hi Ray,
Do you get any messages?
What do you mean by 'not work'? Are the options/links present? What happens if you click them?
Does a folder /images/uploads exist and is it writable?
Are the watermark.png files present in either /images, /images/medium and/or /images/large?
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
Hi,
tried again but failed.
I created a new ZC store, uploaded the IM1.3 files. used the revised sql code given in the file posted in the forum and this was returned
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT (@configuration_group_id:=configuration_group_id) FROM configuration_grou' at line 1
in:
[SET @configuration_group_id=0; SELECT (@configuration_group_id:=configuration_group_id) FROM configuration_group WHERE configuration_group_title= 'Image Manager' LIMIT 1; DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0; DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id AND configuration_group_id != 0; INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (NULL, 'Image Manager', 'Set Image Manager Options', '1', '1'); SET @configuration_group_id=last_insert_id(); UPDATE configuration_group SET sort_order = @configuration_group_id WHERE configuration_group_id = @configuration_group_id; INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Maximum large image width', 'IM_MAX_LARGE_WIDTH', 800, '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. ', @configuration_group_id, 10, NOW(), NULL, NULL), (NULL, 'Maximum large image height', 'IM_MAX_LARGE_HEIGHT', 600, 'The maximum sizes of the small and medium size images can be set through the admin interface (Configuration->Images). You can set the maximum height of the large files here. ', @configuration_group_id, 20, NOW(), NULL, NULL), (NULL, 'Maximum rows per page', 'IM_PAGE_LENGTH', 30, 'This is the number of rows per page that will be displayed in Image Manager. ', @configuration_group_id, 30, NOW(), NULL, NULL), (NULL, 'Enable/disable medium size images', 'IM_USE_MEDIUM_IMAGES', 'enable', 'If set to \'disable\', Image Manager will ignore medium size product images and treat them as unattached images. Also all other functions, like generate or delete an image from a product, will only apply to small and large size images. ', @configuration_group_id, 40, NOW(), NULL, 'zen_cfg_select_option(array(\'enable\', \'disable\'),'), (NULL, 'Show popup image or link', 'IM_SHOW_POPUP_IMAGE', 'image', 'With this option set to \'image\', no separate links to images will be displayed anymore. Instead, hovering over the filename with the mouse causes the image to display underneath the filename. With this option set to \'link\' an additional column will be displayed with a link to the image. Clicking this link will open a new window with the image. ', @configuration_group_id, 50, NOW(), NULL, 'zen_cfg_select_option(array(\'image\', \'link\'),'), (NULL, 'Folders to exclude from Image Manager', 'IM_EXCLUDE_FOLDERS_EXTRA', '', 'This option allows you to add folders which Image Manager will not display, specifically in the \'unattached\' list. Image manager already excludes the following subfolders of the images folder: attributes/ banners/ categories/ gift_certificates/ icons/ manufacturers/ samples/ testimonials/ uploads/ The additional folders must be entered with a trailing slash and comma separated. ', @configuration_group_id, 60, NOW(), NULL, NULL), (NULL, 'Files to include in Image Manager', 'IM_FILETYPES', 'all', 'This option allows you to choose what types of files Image Manager will handle. If you select \'media\', only file types with media type extensions will be handled and visible in IM. ', @configuration_group_id, 70, NOW(), NULL, 'zen_cfg_select_option(array(\'media\', \'all\'),'), (NULL, 'Initial action at startup', 'IM_STARTUP_ACTION', 'show_menu', 'This option determines what Image Manager will do once started from the administrative interface. Either do nothing and just show the menu, display the unattached files, or display the attached files, the latter two according to the default options set in the Image Manager configuration. ', @configuration_group_id, 80, NOW(), NULL, 'zen_cfg_select_option(array(\'show_menu\', \'show_unattached\', \'show_attached\'),'), (NULL, 'Default value for \'Show Images\"', 'IM_IMAGE_DEFAULT', 'link', 'This option sets the default value for the \'Show Image\' option. ', @configuration_group_id, 90, NOW(), NULL, 'zen_cfg_select_option(array(\'link\', \'small_image\', \'all_images\'),'), (NULL, 'Default value for \'Product Status\'', 'IM_PRODUCT_STATUS_DEFAULT', 'on', 'This option sets the default for the \'Product Status\' option. ', @configuration_group_id, 100, NOW(), NULL, 'zen_cfg_select_option(array(\'on\', \'off\', \'all\'),'), (NULL, 'Default value for \'Show Files\'', 'IM_SHOW_FILES_DEFAULT', 'with_errors', 'This option sets the default for the \'Show Files\' option. ', @configuration_group_id, 110, NOW(), NULL, 'zen_cfg_select_option(array(\'with_errors\', \'without_errors\', \'all_files\'),'), (NULL, 'Default value for \'Sort order\'', 'IM_SORT_ORDER_DEFAULT', 'folder_filename', 'This option sets the default for the \'Sort order\' option. ', @configuration_group_id, 120, NOW(), NULL, 'zen_cfg_select_option(array(\'folder_filename\', \'product_id\', \'large_image_size\'),'), (NULL, 'Show \'Add watermark\' link', 'IM_SHOW_WATERMARK_LINK', 'no', 'When set to \'yes\', Image Manager will display a link to additionally add a watermark to images. This option will only show up in \'attached\' mode, if all image sizes have the right size, and a watermark is present in the appropriate folder. This option has no impact on the automatic watermarking that takes place during the copying/shrinking of images. ', @configuration_group_id, 130, NOW(), NULL, 'zen_cfg_select_option(array(\'yes\', \'no\'),'), (NULL, 'Show \'Re-upload image\' link', 'IM_SHOW_REUPLOAD_LINK', 'no', 'When set to \'yes\', Image Manager will display a link to re-upload a small size image, replacing an already existing one. You can upload an image with any name; IM will store the image under the name already known. Only the image type must be the same: if the existing image is a jpg-file, the re-uploaded one must also be a jpg file. This option will only show up in \'attached\' mode. If the re-uploaded image is large enough, it can be used to also recreate the medium and large size images. ', @configuration_group_id, 140, NOW(), NULL, 'zen_cfg_select_option(array(\'yes\', \'no\'),'), (NULL, 'Show \'Add additional image link\' link', 'IM_SHOW_ADD_IMAGE_LINK', 'no', 'When set to \'yes\', Image Manager will display a link to upload a new additional image for a product. You can upload an image with any name; IM will store the image under the name already known, with the specified suffix added. This option will only show up in \'attached\' mode, after first selecting a specific products-ID in the right upper box. If the uploaded image is large enough, it can be used to also recreate the medium and large size images. ', @configuration_group_id, 150, NOW(), NULL, 'zen_cfg_select_option(array(\'yes\', \'no\'),');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
the only way i can get IM1.3 work is to install IM1.2 first, then upgrade to IM1.3.
But then i am faced with the problems of my earlier post of the new features either not being visable or not working...?
Thanks
Ray
SUCCESS!!!!
I started from the beginning again and manually copied and pasted the revised sql.
everything works now with only one minor exception.
I have uploaded an image to example, any ideas?
i know it is a small image but you can just make out the image priview doesn't work.
Excellent add-on, i would like to tell people that!
cheers
Ray
Hello,
What is best product's image sizes for small, medium and large?
How can get watermark on these pictures?
thanks in advance.
OMG! This is running my site images faster then my test install of IH2 revision c!!!
working with zen-light box 1.5
![]()
Hi,
I concern all add on program will have problem when running upgrade Zen cart. Too much work to re-install it. Any advise?
Use this! It is why i love this so much, it does not touch any core files! where as IH2 touches too many files. My main problems with getting to work first time was by not reading the instructions proplerly, a currupt zen cart install and english not being my first language.
For small and medium you can use the default values of Zen-Cart (see Admin->Configuration->Images).
The size for large that I use is 800x600 (wxh).
The watermarks are automatically applied when creating/resizing the images, if a watermark file (watermark.png) exists in the right place. More info is in the instructions.
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
Bookmarks