Forums / Addon Admin Tools / Image Manager addon

Image Manager addon

Views: 93,068

Results 101 to 120 of 284
18 Sep 2010, 4:18 PM
#101
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Image Manager addon

hara:

How about the watermark position by setting with top, bottom, center and vertical? all with adjustable margin, if possible?

Thanks a lot for your advise and specially your time. IM is the best ZC and user friendly.

Thank you!:blush:

Actually I finished what you ask for just a few minutes ago. Except for the 'vertical'. I cannot imagine what extra option that would be. Can you help me out?

Boudewijn Sjouke
http://www.chinesedingen.nl

18 Sep 2010, 4:25 PM
#102
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

hara:

One more thing, I deleted watermarked medium and large images from IM, and copy again from small image(no watermark) to medium and large image, the watermarked images come back. I checked the original image on sever is not watermarked.

How to copy from IM without watermark?

As long as the watermark.png files are present, IM will watermark all copied medium and large images. So if you want medium/large without watermark, you have to remove those watermark.png files.

If you already did, and the images with watermark still appear in your shop, then it's a caching problem in your browser. Which can be, if zen-lightbox is used, quite persistent.

If you already did, and the images with watermark still appear in Image Manager, then I need some good drinks and thinking to figure out how that is possible....

Boudewijn Sjouke
http://www.chinesedingen.nl

18 Sep 2010, 5:08 PM
#103
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Image Manager addon

boudewijn:

As long as the watermark.png files are present, IM will watermark all copied medium and large images. So if you want medium/large without watermark, you have to remove those watermark.png files.

If you already did, and the images with watermark still appear in your shop, then it's a caching problem in your browser. Which can be, if zen-lightbox is used, quite persistent.

If you already did, and the images with watermark still appear in Image Manager, then I need some good drinks and thinking to figure out how that is possible....
Got it, by removing watermark.png.
Thanks!

18 Sep 2010, 5:15 PM
#104
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Image Manager addon

boudewijn:

Thank you!:blush:

Actually I finished what you ask for just a few minutes ago. Except for the 'vertical'. I cannot imagine what extra option that would be. Can you help me out?
Vertical is useful specially in some other languages I think.

BTW, how we can get what you done? we can wait til vertical is included.

thanks!!

19 Sep 2010, 6:53 AM
#105
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

hara:

Vertical is useful specially in some other languages I think.

BTW, how we can get what you done? we can wait til vertical is included.

thanks!!

Actually it doesn't matter if a watermark is vertical or horizontal. For IM it's just an image that has to be placed somewhere on another image.
For now, you can select one of nine positions (top/middle/bottom x left/middle/right) and for the not middle options also the margins from the edge. And of course the relative size of the watermark, compared with the image width of the target image.
I think that makes it possible to get any watermark in any size at any position on the image.

I would be glad if you are willing to test the new version before I put it online. If you are, can you send me a private message with the e-mail address where I can send the zip?

Thanks
Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

20 Sep 2010, 11:42 AM
#106
dutchy avatar

dutchy

Zen Follower

Join Date:
May 2010
Location:
London
Posts:
324
Plugin Contributions:
0

Re: Image Manager addon

boudewijn:

Hi Ray,

Thanks! It confirms what I already feared: the DIR_WS_CATALOG is not included in the link to the picture.

As you already mentioned, this will not cause problems if the shop is in the webroot, but if it's in a folder under the webroot, it will cause the red crosses to appear.

A fix will be included in the next release of IM.
If any user cannot wait, I can publish the 4 lines of code for that fix.

Enjoy your weekend too!

Boudewijn

Hello, My shop is located in mysite.com/shop. Is there any possibility of getting these 4 lines of code? I am not in any major hurry, and can wait a few days if you are releasing another version of IM.

Regards
Michael

20 Sep 2010, 1:45 PM
#107
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

dutchy:

Hello, My shop is located in mysite.com/shop. Is there any possibility of getting these 4 lines of code? I am not in any major hurry, and can wait a few days if you are releasing another version of IM.

Regards
Michael

Hi Michael,

Actually I have a new version of IM ready, if you wish I can send you the package by email. If so, please send me a PM with the email address to send it to.

Regards,
Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

22 Sep 2010, 10:57 AM
#108
dutchy avatar

dutchy

Zen Follower

Join Date:
May 2010
Location:
London
Posts:
324
Plugin Contributions:
0

Re: Image Manager addon

Hi, thanks you for the email! I have not had the chance to play / enjoy this add-on. As soon as I do, I will let you know how i get on.

Outstanding and brilliant add-on! :clap:

23 Sep 2010, 8:15 AM
#109
ray_the_otter avatar

ray_the_otter

Zen Follower

Join Date:
Jul 2010
Posts:
278
Plugin Contributions:
0

Re: Image Manager addon

Hi, my product images are now starting to get index in google. This is great! i sell art so my products can be found now. Before non were listed using IH2 as uhfgry6df86d8f76g7d6f78d87d87fd897g.jpg means nothing to google.

Thank you.
Ray

I am unable to answer any private messages for any of the add-on's I am associated with. I have migrated to other cart systems so sadly cannot offer any assistance, all the best and I hope you get your query fixed soon!

23 Sep 2010, 11:10 AM
#110
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

Hi Ray,

Thanks for your feedback!
That was exactely the reason why I quit IH2, reverted back to the way Zen-Cart handles images and developed IM on that existing structure.

Regards,
Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

23 Sep 2010, 2:23 PM
#111
dutchy avatar

dutchy

Zen Follower

Join Date:
May 2010
Location:
London
Posts:
324
Plugin Contributions:
0

Re: Image Manager addon

Hello.
I have just tested the image manager 1.4 zip you emailed me. Works perfectly.. Thank you very much! Looking forward to installing on my live site.

Cheers
Michael

23 Sep 2010, 8:12 PM
#112
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

dutchy:

Hello.
I have just tested the image manager 1.4 zip you emailed me. Works perfectly.. Thank you very much! Looking forward to installing on my live site.

Cheers
Michael

Hi Michael,

Thanks for testing! I will send V1.4 in for publishing this weekend.

Cheers
Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

26 Sep 2010, 5:30 PM
#113
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

Hi all,

I just contributed version 1.4 of IM.

Changes in this version are:

  • Added configuration options to position and size the watermark on the image
  • Added message to display presence of watermark files
  • Fixed wrong image URL calculated if zen-cart is in webroot subfolder
  • Fixed default action should be two options: action and show attached/unattached
  • Fixed missing comma in SQL installation script
  • Added configurable upload folder

For those who upgrade from previous versions, an upgrade script is provided.

Enjoy!

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

26 Oct 2010, 5:51 PM
#114
alexsmith2709 avatar

alexsmith2709

New Zenner

Join Date:
May 2010
Posts:
36
Plugin Contributions:
0

Re: Image Manager addon

Hi,
Having a problem when running the install.sql.
I get this error:

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 '(NULL, 'Show \'Add additional image link\' link', 'IM_SHOW_ADD_IMAGE_LINK', 'no'' at line 1
in:
[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.

Im using version 1.3.9f, php version 5.2.13 and mySQL version 5.0.90.
Can anyone help?

27 Oct 2010, 4:59 AM
#115
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

Alex,

What version of IM are you trying to install? From the SQL result I can see there is a comma missing in the SQL statement and that was a bug in IM 1.3.
Please try again with IM 1.4 and make sure you have the install.sql from that version. You might have to run uninstall.sql first to clean up before running the install.sql again.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

27 Oct 2010, 10:08 AM
#116
alexsmith2709 avatar

alexsmith2709

New Zenner

Join Date:
May 2010
Posts:
36
Plugin Contributions:
0

Re: Image Manager addon

Thank you Boudewijn. I was using 1.3. Now upgraded to 1.4 and all is working so far.

Thanks

5 Nov 2010, 7:09 PM
#117
george_boboc avatar

george_boboc

New Zenner

Join Date:
Oct 2010
Location:
Bucharest
Posts:
7
Plugin Contributions:
0

Re: Image Manager addon

Hello,

Can anyone please help with this error in admin/image manager:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/MYSITE/public_html/images/3ds/mcsc.gif/) is not within the allowed path(s): (/home/MYSITE/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/MYSITE/public_html/admin/includes/functions/extra_functions/function_image_manager.php on line 635

The error is over and over again for every single image i have in products catalog.

I already tried setting permissions to 777 almost to any folder or file... no result.
I tried reinstall the image manager i had the same result.

I notice the error after rename admin folder to another name. I restore previous name and make all the neccesary changes back to configure.php.

I have no idea what to do next. I'm using zen cart v1.3.9f and the image manager version is 1.4

If anybody has some ideas, please share it...

Thanks!

6 Nov 2010, 5:41 AM
#118
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

Hi,

Have you checked the paths in your <admin>/includes/configure.php? They are affected by renaming the admin folder.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl

6 Nov 2010, 9:40 AM
#119
p1lot avatar

p1lot

New Zenner

Join Date:
May 2009
Posts:
69
Plugin Contributions:
0

Re: Image Manager addon

I consider switching from IH to IM, do I need to reupload all files?

6 Nov 2010, 10:44 AM
#120
boudewijn avatar

boudewijn

Zen Follower

Join Date:
Jun 2009
Posts:
207
Plugin Contributions:
0

Re: Image Manager addon

I don't use IH myself, so I can't check it on my installation.
But if the images, with their original names that are mentioned in the product details, are still present in the images/ folder or subordinate folders, and of sufficient size to use as large images, you don't have to re-upload them.

Boudewijn

Boudewijn Sjouke
http://www.chinesedingen.nl