Results 1 to 10 of 284

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    682
    Plugin Contributions
    0

    Default Re: Image Manager addon

    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.

    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: "
    Code:
    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.
    It came with a value of 800. I changed it to 600. So I assumed this meant 600 px would be the maximum image width displayed to visitors. Is this not the case?

  2. #2
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    682
    Plugin Contributions
    0

    Default Re: Image Manager addon

    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!

  3. #3
    Join Date
    Nov 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Image Manager addon

    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.

  4. #4
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    Quote Originally Posted by billy565 View Post
    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:

    1. edit <admin>/includes/functions/extra_functions/function_image_manager.php
    2. Go to line 968, which reads:
    Code:
    imagedestroy ($temp);
    3. BEFORE that line, insert the following statement:
    Code:
    chmod($dst, 0644);
    4. Save the file and upload it to your server

    Please let me know if this fixes the problem.

    Boudewijn

  5. #5
    Join Date
    Nov 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Image Manager addon

    Quote Originally Posted by boudewijn View Post
    Please let me know if this fixes the problem.
    Thanks for the speedy reply! Yes, it fixed part of the problem. Now the new med/lrg images have the right permissions.

    Any idea how to fix the re-uploading permissions? I looked at <admin>/image_manager_upload.php but it uses a different process.

    Thanks again.

  6. #6
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    Quote Originally Posted by billy565 View Post
    Thanks for the speedy reply! Yes, it fixed part of the problem. Now the new med/lrg images have the right permissions.

    Any idea how to fix the re-uploading permissions? I looked at <admin>/image_manager_upload.php but it uses a different process.

    Thanks again.
    In that file, insert after line 70, which reads:
    Code:
    $messageStack->add_session(IM_REPLACED . ' ' . DIR_FS_CATALOG_IMAGES . $p['dirname'] . '/' . $p['basename'], 'success');
    the following line:
    Code:
    chmod(DIR_FS_CATALOG_IMAGES . $p['dirname'] . '/' . $p['basename'], 0644);
    and add after line 91, which reads:
    Code:
    $messageStack->add_session(IM_ADD_SUCCESS . ' ' . DIR_FS_CATALOG_IMAGES . $p['dirname'] . '/' . $p['filename'] . '_' . $_POST['IMsuffix'] . '.' . $p['extension'], 'success');
    the following line:
    Code:
    chmod(DIR_FS_CATALOG_IMAGES . $p['dirname'] . '/' . $p['filename'] . '_' . $_POST['IMsuffix'] . '.' . $p['extension'], 0644);
    They are fixes for both re-upload and add additional images.

    Please let me know the results, as I cannot test it here.

    Boudewijn

  7. #7
    Join Date
    Nov 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Image Manager addon

    Perfect. Thanks!

    I tested the re-upload function as well as the add additional image, plus the combined copy/shrink function. No issues.

    Thanks again.

  8. #8
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    Quote Originally Posted by sports guy View Post
    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!

  9. #9
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Image Manager addon

    Image Manager 1.8 is available from the Add On section!

    New in this version:

    - Option to check/uncheck all files on page for deletion
    - Support for Zen-Cart 1.5.0

    Please read the instructions carefully before installation/upgrade!

    Boudewijn

 

 

Similar Threads

  1. Is Module Manager (for Simple SEO addon) and v1.5.0 compatible?
    By sports guy in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 6 May 2012, 02:56 AM
  2. Problem integrating additional image titles addon and commercial addon
    By strugglingnovice in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 15 Aug 2010, 03:07 PM
  3. Order Manager addon option not available
    By gruccio in forum Addon Shipping Modules
    Replies: 1
    Last Post: 19 Jan 2010, 02:23 PM
  4. Store Manager addon sees invalid Zen Cart db
    By JohnBoyCR in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2009, 05:52 PM
  5. Function of Module Manager addon
    By alimtlai in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 21 Jan 2009, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg