Page 345 of 373 FirstFirst ... 245295335343344345346347355 ... LastLast
Results 3,441 to 3,450 of 3726
  1. #3441
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Display Size Restriction

    Change the dimensions of your large images..
    Quote Originally Posted by sle39lvr View Post
    Restricting Image Display Size Width to Screen Size Width (or browser width)?

    Is this possible?

    The reason is, I am putting ultra high resolution images for my products since most devices are HiDpi/Retina now. So right now, images are opening according to their result ion and running off the screen. I am sure there is a way to modify the code to get browser width and display in to that size.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  2. #3442
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    I cannot do that, for the reasons I listed already. For example, 2000x2000 image, I want to display in a 1000x1000 window (or smaller if the browser window width is smaller). I guess I will find the code where it picks up image width and height and divide by 2.

  3. #3443
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Image Display Size Restriction

    Quote Originally Posted by sle39lvr View Post
    I cannot do that, for the reasons I listed already. For example, 2000x2000 image, I want to display in a 1000x1000 window (or smaller if the browser window width is smaller). I guess I will find the code where it picks up image width and height and divide by 2.
    Umm, kinda hate to say it, but if you use this plugin to accomplish what you are intending, you will have done what you have said you can not do.

    The help provided identified the image type that must be modified to suit your needs. Basically before the image is directed to be shown, you will want to modify the max dimensions of the large image to be no larger than the screen display, which should force the image to be recalculated/remade in the cache directory. Be prepared though to have your storage file space increase/fluctuate as a result. If however, you want a 2000x2000 image to always show at 1000x1000 all you need to do is adjust your admin settings for IH4 and it will do the rest of the work for you.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #3444
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    Quote Originally Posted by mc12345678 View Post
    If however, you want a 2000x2000 image to always show at 1000x1000 all you need to do is adjust your admin settings for IH4 and it will do the rest of the work for you.
    Could you elaborate on this please?

  5. #3445
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Display Size Restriction

    Quote Originally Posted by sle39lvr View Post
    I cannot do that, for the reasons I listed already. For example, 2000x2000 image, I want to display in a 1000x1000 window (or smaller if the browser window width is smaller). I guess I will find the code where it picks up image width and height and divide by 2.
    Quote Originally Posted by mc12345678 View Post
    Umm, kinda hate to say it, but if you use this plugin to accomplish what you are intending, you will have done what you have said you can not do.

    The help provided identified the image type that must be modified to suit your needs. Basically before the image is directed to be shown, you will want to modify the max dimensions of the large image to be no larger than the screen display, which should force the image to be recalculated/remade in the cache directory. Be prepared though to have your storage file space increase/fluctuate as a result. If however, you want a 2000x2000 image to always show at 1000x1000 all you need to do is adjust your admin settings for IH4 and it will do the rest of the work for you.
    Exactly.. why upload a 2000 x 2000 image if the desired display dimensions are 1000 x 1000.. Change the image settings for the large image to 1000h 1000w and then Zen Cart or IH4 (if installed) will take care of the rest..

    However on smaller displays (like say a tablet or smartphone) a 1000 x 1000 image will over flow the edge of the display.. THIS requires that Zen Lightbox be responsive, and this kind of functionality is just not supported with the current version of Zen Lightbox or any other lightbox module available.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #3446
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    Quote Originally Posted by DivaVocals View Post
    Exactly.. why upload a 2000 x 2000 image if the desired display dimensions are 1000 x 1000..
    HiDPI/Retina displays

  7. #3447
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Display Size Restriction

    Quote Originally Posted by sle39lvr View Post
    HiDPI/Retina displays
    uh huh.. and my answer is still the same.. If you want the image to DISPLAY at 1000 x 1000, and you are using IH4 inaddition to Zen Lightbox, then you need to change the image settings to make that happen.. If you are using IH4 (which will re-size, cache and optimize the displayed image) you need to also make sure that you change the compression setting so that it doesn't compress your images (default compression setting is 85)..

    If you are NOT using IH4 along with Zen Lightbox, then you will need to change the way Zen Carts default image management works.

    Your other option is to adjust your stylesheet to artificially change the image sizes.. The last two options are outside the scope of this support thread..
    Last edited by DivaVocals; 30 Oct 2013 at 06:46 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #3448
    Join Date
    Aug 2006
    Posts
    134
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    I have installed this and it works well with my site which uses a responsive template.
    However, when the site is viewed on a smartphone I find that the lightbox is scollable up and down, but the left/right scroll bars have no effect (so the 'close button cannot be seen or used).

    Can anyone point me in the direction of any info that may assist with the problem.

    Thanks.

  9. #3449
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Display Size Restriction

    Quote Originally Posted by pewe View Post
    I have installed this and it works well with my site which uses a responsive template.
    However, when the site is viewed on a smartphone I find that the lightbox is scollable up and down, but the left/right scroll bars have no effect (so the 'close button cannot be seen or used).

    Can anyone point me in the direction of any info that may assist with the problem.

    Thanks.
    Simply put this module is not "responsive" and needs to be made "responsive"..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #3450
    Join Date
    Aug 2006
    Posts
    134
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    Quote Originally Posted by DivaVocals View Post
    Simply put this module is not "responsive" and needs to be made "responsive"..
    I see.
    Not entirely sure I understand what that means, but - is that something that is likely to happen now that the developer appears to no longer be around???

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR