joekilo Posted June 20, 2003 Posted June 20, 2003 can anyone give me any advice on this..i will be selling t shirts and sweatshirts on site...but just want the design image showing on site until someone clicks to enlarge then i would like it t appear on top of a blank t image so customer can see what it would look like on the T? ive seen it on lots of sites just dont know how jk
joekilo Posted June 20, 2003 Author Posted June 20, 2003 hello thanks for response i am using 2.2 cvs jk
Guest Posted June 20, 2003 Posted June 20, 2003 It sounds like you could use this quick mod that I just recently did. It allows you to specify a separate image for your pop-up. Here's the original post: Re: Enlarge Image problems Author: Richard Lyman Date: 04-13-02 18:24 i haven't done the 'big image' mod myself. what i did do as an 'interium' fix for myself. (simply because i'm trying to keep up with snapshots, and the cvs doesn't have big image yet, (i'm not using cvs <G>, i do database change checks by hand, and overlay the snapshots, i've put a configure.php in catalog/includes/local for most of the stuff i need, and do minimal patchwork to the remainder (which this would be). create directory catalog/big_images make sure permissions are correct i suggest copying your existing catalog/images dir contents to catalog/big_images directory add define('DIR_WS_BIG_IMAGES', 'big_images/'); to catalog/includes/local/configure.php mod catalog/popup_image.php change <?php echo tep_image(DIR_WS_IMAGES . $products_ to <?php echo tep_image(DIR_WS_BIG_IMAGES . $products_ P.S. Be sure to set the folder permissions of your big_images to execute for all otherwise your pop-up will be blank...I learned the hard way :?
joekilo Posted June 21, 2003 Author Posted June 21, 2003 cheers... the image size isnt the problem they pop up on enlarge ok...i just want he picture to appear on a t shirt template which i can do in a graphics program but i would like this second image to be the one that appears when some clicks the enlarge photo....? jk
Guest Posted June 21, 2003 Posted June 21, 2003 that's exactly what that mod will do. You just make that second image with the tshirt your big image. Just make sure it is the exact same file name and extension as the regular image.
joekilo Posted June 21, 2003 Author Posted June 21, 2003 sounds perfect...cheers for your help...i think ill have too have a bash at it jk
Guest Posted June 21, 2003 Posted June 21, 2003 eventhough the original posting listed catalog/includes/local/configure.php it'll probably be catalog/includes/configure.php Good luck!
joekilo Posted June 21, 2003 Author Posted June 21, 2003 hi i have one more queire regarding the above, once i make the changes will i have to have a second image in place for every item...? if say im selling something else thats not a T shirt can that still show as it is now? cheers for help jk
Guest Posted June 21, 2003 Posted June 21, 2003 You'll need a second image for every item since the enlarge view will be calling for an image in the big_images folder. You can just copy the image from your /images folder into your /big_images folder if you want the same image to show in the pop-up. I recommend creating your images in the exact size that you set in the admin variables so that they are not resized by the browser...it makes them blurry. Even if you use the same image in the pop-up as your product display, I would still create a new image that is bigger in size.
joekilo Posted June 30, 2003 Author Posted June 30, 2003 hi again.....i have followed the instructions we talked about and set up my big images directory....now they are coming out same size as before...you mention resizing and keeping same file name...how would i do this as when i try give same name it asks me if i want to overwrite file with same do i just create in different folder ? jk
Guest Posted June 30, 2003 Posted June 30, 2003 You will have 2 folders in your catalog directory... /images and /big_images. In your /images folder you will have a file like picture1.jpg with dimensions 100x50 (or whatever you have set in admin) and in /big_images you will have a file named picture1.jpg but it will be a different image(graphic on the shirt) with dimensions 400x100(or whatever you want). If it's asking you if you want to overwrite existing file, then it seems you are not saving it to the proper folder. Keep me posted.
joekilo Posted July 1, 2003 Author Posted July 1, 2003 hello, still trying to get this one on...i have followed instruction and created a seperate folder to resize images to upload to big_images i did one with on a t shirt...but back in the shop the initial image still comes up so iguess it isnt calling the big_image? i have done what was said (i added the define big_ image mod to configure.php under the line with define images... why not working any idea? jk
Guest Posted July 1, 2003 Posted July 1, 2003 Did you change the line in the catalog/popup_image.php file?
joekilo Posted July 1, 2003 Author Posted July 1, 2003 yeah did that too? it seems like its just not calling the big file yet...have i missed something...ive put the big_images folder as catalog/big_images jk
Guest Posted July 1, 2003 Posted July 1, 2003 So when you click to enlarge the image on your site, it pops up the same image that is displayed on the product page? What's your website address?
joekilo Posted July 1, 2003 Author Posted July 1, 2003 ignore that last one.... i dont know why but cat/ pop up either wasnt uploaded properly or i uploaded to different location ill have to check....but it worked this time so thanks for all the advice and im sure ill have more questions on subject jk
joekilo Posted July 1, 2003 Author Posted July 1, 2003 ps.. am i to set all permissions on all images to 777 as im trying but they change back to 644? the image directory is set at 777 jk
Guest Posted July 1, 2003 Posted July 1, 2003 As long as the pop-up images are showing up, then the permissions are ok. I just set the folder permissions not the individual images.
joekilo Posted July 1, 2003 Author Posted July 1, 2003 another ps...the images are now poping up they look a bit blurred...i have set the size the same as the variables in sub catagory images in admin as same size is this right...any reason why blurered im using jpegs at minute but same was with gifs i think jk
Guest Posted July 1, 2003 Posted July 1, 2003 Since the pop-ups do not have a size variable in admin, they will appear in the exact size that you saved them in. Take a look at the image outside of the pop-up and see how it looks (ex. www.yoursite.com/catalog/big_images/picture1.jpg) If you give me your url I can take a look at it.
joekilo Posted July 1, 2003 Author Posted July 1, 2003 ok i must be changing the wrong thing then what is the subcatorgory images? my url is www.joekilo.com ive only done three ..."screaming hands" is the one coming up blurry maybe its the way the picture has been taken. its not that bad im just making sure ive got the right setting everywhere....cheers for help jk
Guest Posted July 1, 2003 Posted July 1, 2003 Yeah the blurryness of the picture is the way it was taken/saved. Looks to me like you've got the mod working fine now. You may want to try and get a better picture of it but I wouldn't worry about it too much. Good luck!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.