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

    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!

  2. #2
    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.

  3. #3
    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

  4. #4
    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.

  5. #5
    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

  6. #6
    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.

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

    Default Re: Image Manager addon

    Hi
    Just downloaded version 1.8. First time installation on Zencart 1.38a.
    I've downloaded the zip file twice from the Zencart site, but neither contain an "install.sql" or "uninstall.sql". Maybe I'm just misreading the instructions......

 

 

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