Results 1 to 6 of 6
  1. #1

    'Larger Image' Window Size & Background

    Currently on my site when on clicks on an image or the 'Larger Image' link, it opens to a new window. However, I am having two issues that I have not found a way to resolve:

    1) The window size is just under that of the larger image, so that someone has to pull on a corner of the frame to reveal the whole image.

    2) Whereas my whole site has a black background, the larger image opens with a white background behind the image AND then the black background. It seems like a black background is set in the css, but there is an additional, immediate background set at white.


    Does anyone know how to set the new pop-up window to open to specifically the larger image size (or larger to accomadate some black background around the image?

    And how to set the other immediate background around the images to black from white?


    For examples, go to www.sacredelements.com, click on 'Elementals Gallery' on the sidenav, click on any image thumbnail, then larger image.


    any help is much appreciated!!!

    zlagdash

  2. #2
    Join Date
    May 2006
    Posts
    316
    Plugin Contributions
    0

    Default Re: 'Larger Image' Window Size & Background

    You can edit the javascript for the product popimage and additional pop-up image in


    includes/modules/pages/popup_image and popup_image_additional (respectively)
    in the jscript_main.php


    i could be mistaken, but i think the pages are not yet overrideable.


    Code:
    //  window.resizeTo(imgWidth, imgHeight);
      window.resizeTo(frameWidth,frameHeight+i);
    	}
      else if (document.body) {
        window.resizeTo(document.body.clientWidth, document.body.clientHeight-i);
      }

    hope that helps.

  3. #3

    Default Re: 'Larger Image' Window Size & Background

    Thanks for the reply and tip!!!

    Will give it a try and repost with results...

    zlagdash

  4. #4
    Join Date
    Aug 2005
    Posts
    26,065
    Plugin Contributions
    9

    Default Re: 'Larger Image' Window Size & Background

    I suspect that you have not found an answer to this problem...

    Your implementation of this cart through "frames" is not using the css file directly. Your pages are mostly html and the cart is in a frame.

    If this is how you prefer it then so be it. But I would have adjusted the cart styling to look like what you wanted and skipped the frames.
    Zen-Venom Get Bitten
    Get Your Business Found

  5. #5

    Re: 'Larger Image' Window Size & Background

    Thanks for the responses.

    Well, I am wondering how to proceed.

    I had my site specially designed by a web designer in html and then searched for a shopping cart to integrate into the design, really needing just simple functions. I chose Zen Cart and then found someone who customized a special template to integrate it graphically into the site. It appears the means to do this was by utilizing f)rames, which the original designer used.

    The man who customized the site I no longer have access to - he has moved off island (hawaii based) - and yet I have need to make revisions.

    I am unsure:

    1) how to make the revisions mentioned in this thread, as well as those in a similar the same day (search by my name "zlagdash");

    2) how further I could introduce the search function, that was not used in the first integration;

    3) if a possible upgrade to zencart 1.3 would mess the whole cart up, as it was based on a special template - ie, if i could make these above revisions and implement them plus the search function, applying all with the same template in version 1.3.


    I am very busy with the operation of my studio - fine art photographer - and yet curious at this point if it would be easier to redesign a template for 1.3 that would allow a successful integration of these functions into the site design.

    Are there ones out there that professionally customize Zen Cart to specific site's needs??

    Any advice, feedback, or specific services anyone can recommend would be much appreciated.

    I do very much favor the html design that was created for my site, and have not seen anything in Zen Cart that might match its elegance, and so require a smooth integration of Zen cart into its framework.

    Thanks for the assistance.

    Zlagdash

    www.sacredelements.com

  6. #6
    Join Date
    Aug 2005
    Posts
    26,065
    Plugin Contributions
    9

    Default Re: 'Larger Image' Window Size & Background

    Looking through your site in more depth;

    1. You have(or someone) has included some links to the cart side from your html pages

    2. The combination of of some of the html elements along with the cart elements is apparent and in some cases redundant. IMO opinion does not flow well. Specifically, the index.html elementals gallery frame has some links to the cart and some links to other html pages that have links to the cart, making navigating confusing.

    3. I see very little in function (sans frames) that could be represented in a cart only presentation. You informational pages can be rendered via a ZenCart function called ezpages, where your have a theoritical unlimited number of them available.

    4. Your fine art prints offerings could be incorporated into ZenCart as a product(s)
    as can the card options if you have not already.

    It is your choice, you have an investment in your site materials that were designed without a cart script in mind. You have now found IMO the baset cart script available and can actually use it to represent all of the content you currently have in a manner close to what you have now without having to use any of your current frame based structure. The html is fully useable in another container such as the ezpages refered to above.

    Decisions??
    Zen-Venom Get Bitten
    Get Your Business Found

 

 

Similar Threads

  1. HOW-TO: Image Preparation
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 296
    Last Post: 3 Jul 2012, 10:10 AM

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
  •