Guest eLlIoTg Posted May 14, 2006 Share Posted May 14, 2006 is there a way of increasing the window size of the More Images Popup window thanks alot Elliot [Here is a link CLick on More images and you can see the picture cannot fit in the box and it would take me ages to edit all the image sizes this way is quicker. THANKS] Quote Link to comment Share on other sites More sharing options...
Robsta Posted May 14, 2006 Share Posted May 14, 2006 is there a way of increasing the window size of the More Images Popup window thanks alot ElliotThat CSS info can be found in the popup.css in your styleSheet folder of the skin. Quote Link to comment Share on other sites More sharing options...
Guest eLlIoTg Posted May 14, 2006 Share Posted May 14, 2006 is there a way of increasing the window size of the More Images Popup window thanks alot ElliotThat CSS info can be found in the popup.css in your styleSheet folder of the skin. BUT WHAT DO YOU EDIT IN THE CSS Quote Link to comment Share on other sites More sharing options...
Robsta Posted May 14, 2006 Share Posted May 14, 2006 If you had looked in the CSS file as pointed out, there are only two IDs (ID's begin with '#' and classes begin with '.') in there with any width or height styles set. This will size up the contents of the page. If you want the entire window to be a different size, look in content/viewProd.tpl for this code... <!-- BEGIN: more_images --> <div style="text-align: center;"><a href="java script:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 548, 455, 0);" class="txtDefault">{LANG_MORE_IMAGES}</a></div> <!-- END: more_images --> The "548" and "455" is the actual popup window size. ... and as Ansuk pointed out, people do not repond well to being shouted at :( Quote Link to comment Share on other sites More sharing options...
convict Posted May 14, 2006 Share Posted May 14, 2006 This can be done dynamically. I have played to assign popup width to maximal product image dimension. Quote Link to comment Share on other sites More sharing options...
Guest eLlIoTg Posted May 15, 2006 Share Posted May 15, 2006 how do you change the size of the inner white bit in the window look on More Images Quote Link to comment Share on other sites More sharing options...
Robsta Posted May 15, 2006 Share Posted May 15, 2006 how do you change the size of the inner white bit in the window look on More Images #divMainImg and #divThumbsImg Quote Link to comment Share on other sites More sharing options...
Guest bee125 Posted March 1, 2007 Share Posted March 1, 2007 Hi all, With a lot of head scratching, strong coffees and reading far, far too much on this forum, the simple answer is as follows... #divMainImg { float: left; width: auto; height: auto; text-align: center; overflow: hidden; margin-bottom: 5px; } Now, it worked for me... fingers crossed it works for you too. B :blink: Quote Link to comment Share on other sites More sharing options...
Guest lauriex Posted March 15, 2007 Share Posted March 15, 2007 Hi all, With a lot of head scratching, strong coffees and reading far, far too much on this forum, the simple answer is as follows... #divMainImg { float: left; width: auto; height: auto; text-align: center; overflow: hidden; margin-bottom: 5px; } Now, it worked for me... fingers crossed it works for you too. B PLEASE HELP - Does anyone know how to limit the thumbs that CC automatically inserts into the Popup window? CC is auto-placing a thumb of the ViewProduct page pic added in Admin Add/Edit Product that I don't want (thumb #3), in addition to the 2 larger/alternate view pics that I assigned thru Admin Manage Images and I do want seen on in the Popup. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2007 Share Posted March 16, 2007 Laurie; Did you try to add more images to a new product, and see if this happens again? Check my popup (http://shop.thetreasurebasket.com/store/in...mp;productId=33) against yours. I did not modify mine so far. ( ) Maybe install a fresh copy of the prodImages.tpl file. Quote Link to comment Share on other sites More sharing options...
Guest lauriex Posted March 16, 2007 Share Posted March 16, 2007 Laurie; Did you try to add more images to a new product, and see if this happens again? Check my popup (http://shop.thetreasurebasket.com/store/in...mp;productId=33) against yours. I did not modify mine so far. ( ) Maybe install a fresh copy of the prodImages.tpl file. Thanks Stever and yes I tried adding new images to a new product but not replacing prodImages.tpl. Yours looks great however I think its what I don't want: It appears that your popup contains the same product shot "american-chopper.jpg" that appears on your ViewProd page along with its thumb "thumb_american-chopper.jpg", in addition to "american-chopper-2.jpg". In my case, because I have created enlarged views of shirt front (pic #1: "Kriki_0205_max.jpg" and "thumb_Kriki_0205_max.jpg") and shirt back (pic #2: "Kriki_0207_max.jpg" and "thumb_Kriki_0207_max.jpg" ) sizes (see Popup) pic #1) "thumb_Kriki_0205_max.jpg", "Kriki_0205_max.jpg"; " I do not want the smaller pic from the Prod page that is being included as pic #3: "Kriki_0205_detail.jpg" and "thumb_Kriki_0205_detail.jpg". This is being included automatically by CubeCart and I need someone to come up with a modification to the code somewhere. I can't just use the enlarged view on the product page as it is too large. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2007 Share Posted March 16, 2007 Did you look at this pinned post the last line? Hope this helps. Quote Link to comment Share on other sites More sharing options...
Guest lauriex Posted March 19, 2007 Share Posted March 19, 2007 Did you look at this pinned post the last line? Hope this helps. I did, and your posted "Larger Popup.txt. I am not looking to enlarge the Popup Window. As a newbie, I may have missed something. Currently my prod pic (original size as uploaded at 150x188) is correct for the ViewProd page but I do not want this to appear in the Popup window which I am using to for enlarged pics at 100% of their original uploaded size (473 x 600 or similar). I want to: 1) prevent all smaller 150 x 188 prod pic from being included in the popup window OR 2)Use the enlarged pics instead of the smaller product pics on the viewprod pages if I can control (reduce) the view size to @ 150 x 188 How do I do whichever one is easier from a recoding point of view? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Guest foreknowapparel Posted April 1, 2007 Share Posted April 1, 2007 Go to viewProd.tpl in your skins/TemplateName/styleTemplates/content/ dir. Edit: <!-- BEGIN: more_images --> <div style="text-align: center;"><a href="java script:openPopUp('extra/prodImages.php?productId={PRODUCT_ID}', 'images', 650, 550, 0);" class="txtDefault">{LANG_MORE_IMAGES}</a></div> <!-- END: more_images --> To your desired Size. To edit the inside sizes for the div's go to styleSheets dir and edit popup.css > For the main image: Edit: #divMainImg { float: left; width: 500px; height: 450px; text-align: center; overflow: hidden; margin-bottom: 5px; } For the thumbs on the left: #divThumbsImg { overflow:auto; height: 400px; width: 120px; text-align: center; float: left; margin-right: 5px; border-right: 1px solid #999999; } Quote Link to comment Share on other sites More sharing options...
Guest lauriex Posted April 3, 2007 Share Posted April 3, 2007 Thanks, however this does not affect the size the product pic gets enlarged to in the popup window. It stays the same as it appears on the product page. Quote Link to comment Share on other sites More sharing options...
Guest diazangulo Posted April 6, 2007 Share Posted April 6, 2007 Hi, i want to show the more images popup without popup in the product page, i mean, left the popup and add the more images space like table in the main product page. I need your help, thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.