mortal Posted April 12, 2009 Share Posted April 12, 2009 To Fabien i just tested out "Output GIFs as JPEGs" and it fails bigtime. make sure thats not the case with you also Quote Link to comment Share on other sites More sharing options...
Lgn.Magic Posted April 12, 2009 Share Posted April 12, 2009 ok right, watermark not working it seems, but it's not such a big deal because i don't think i'll use it anyways. iwas wondering if it would block this function when i posted about it above. ill probably have a watermark need on very few amount of pictures... so ill just watermark them with photoshop or some other prog that add automaticaly watermarks. Only last "problem" i have is i/m server cache need to be turned off if i want images to be shown. no problem with i/m cache on in browser's user...works if on or off. server cache on would be better since it would not creat thumbnails each time page is beeing visited. got any clue about this? or i'll have to let it turned off Quote Link to comment Share on other sites More sharing options...
mortal Posted April 12, 2009 Share Posted April 12, 2009 ok right, watermark not working it seems, but it's not such a big deal because i don't think i'll use it anyways. iwas wondering if it would block this function when i posted about it above. ill probably have a watermark need on very few amount of pictures... so ill just watermark them with photoshop or some other prog that add automaticaly watermarks. Only last "problem" i have is i/m server cache need to be turned off if i want images to be shown. no problem with i/m cache on in browser's user...works if on or off. server cache on would be better since it would not creat thumbnails each time page is beeing visited. got any clue about this? or i'll have to let it turned off only thing i can emagine is path or rights Quote Link to comment Share on other sites More sharing options...
Lgn.Magic Posted April 12, 2009 Share Posted April 12, 2009 (edited) im not sure i understand quit well what you mean. with path u mean my settings pointing to wrong direction? and with rights you mean wrong folder attribute 777 and so on? I seems to have an issue with cache anyways. Not talking about i/m cache options If i turn on oS cache in configuration/cache....then my categories names on my site are gone...very weird.. I've set it right i think..folder cache directory is /tmp/ and i've created that folder with 777 autorization. then if if i go to tools/cache control...with folder created or not, i got a warm message in red at top telling my cache folder doesn't exit and i need to specify it in configuration/cache.....(wich is already done :s) My question is, do i have a problem on my configure.php in admin/includes i don't see anything in that file mentioning cache text....except define('STORE_SESSIONS', 'mysql'); but this is not the same i believe i/m chache is using same patch as Os cache (/tmp/ in my case)? or the thumbnails folder is considered as cache folder for this 2 options? Got any clue or i need to make more search on forums and so on. Keep in mind im working on local install and not on a online server Thanx in advance Edited April 12, 2009 by Lgn.Magic Quote Link to comment Share on other sites More sharing options...
mortal Posted April 12, 2009 Share Posted April 12, 2009 im not sure i understand quit well what you mean.with path u mean my settings pointing to wrong direction? and with rights you mean wrong folder attribute 777 and so on? I seems to have an issue with cache anyways. Not talking about i/m cache options If i turn on oS cache in configuration/cache....then my categories names on my site are gone...very weird.. I've set it right i think..folder cache directory is /tmp/ and i've created that folder with 777 autorization. then if if i go to tools/cache control...with folder created or not, i got a warm message in red at top telling my cache folder doesn't exit and i need to specify it in configuration/cache.....(wich is already done :s) My question is, do i have a problem on my configure.php in admin/includes i don't see anything in that file mentioning cache text....except define('STORE_SESSIONS', 'mysql'); but this is not the same i believe i/m chache is using same patch as Os cache (/tmp/ in my case)? or the thumbnails folder is considered as cache folder for this 2 options? Got any clue or i need to make more search on forums and so on. Keep in mind im working on local install and not on a online server Thanx in advance try to remove forwardslash in front of cache. so it becomes "/cache" im not sure if it solves your problem. i use "/cache/thumbnails" for im Quote Link to comment Share on other sites More sharing options...
Lgn.Magic Posted April 12, 2009 Share Posted April 12, 2009 (edited) Ok seems it's not fixing without slash. I'll have a look on forums and do few search about it. Pretty sure this Os cache prob is what is messing up i/m when i turn cache on...it definitly should be working. i must have a mistake somewhere. Or maybe it's just because i run a local install...but i don't see any reason for it to be different than on a live server...easy php is supposed to remplace a live server and works "the same way".... Don't bother about it, ill find it myself i guess. Anyways Thanx a lot for your time and support !!! Best Regards, Fabien Edited April 12, 2009 by Lgn.Magic Quote Link to comment Share on other sites More sharing options...
mondofood Posted April 13, 2009 Share Posted April 13, 2009 Parse error: syntax error, unexpected '}' .... includes/functions/html_output.php on line ... I've searched all 60 some odd pages of this forum topic and have seen lots of references to this issue but no resolve yet. Can someone please post the fix for this issue. Thank you. If you want to see the code it is below: (ps: I tried posting the contents of html_output.php but oscommerce.com kept on timing out) Quote Link to comment Share on other sites More sharing options...
mondofood Posted April 13, 2009 Share Posted April 13, 2009 Parse error: syntax error, unexpected '}' .... includes/functions/html_output.php on line ... I've searched all 60 some odd pages of this forum topic and have seen lots of references to this issue but no resolve yet. Can someone please post the fix for this issue. Thank you. If you want to see the code it is below: (ps: I tried posting the contents of html_output.php but oscommerce.com kept on timing out) For those of you that have this issue, ensure you delete the entire tep_image function. from: function { all the way to the ending: } I missed most of the function, my eyes are crooked and didn't see that it ended farther down than I thought. Quote Link to comment Share on other sites More sharing options...
mightyx Posted April 15, 2009 Share Posted April 15, 2009 Has someone get this contribution to work with the lightbox product images and can post the code here? I figured out, that this contrib detects if the picture is displayed in the "popup_image.php" file and therefore uses image magic to process it. The code for that is in html_outpu.php (search for popup). Since lightboxed images are not displayed in popup_image.php, image magic doesn't process them... Has anybody a solution that can be posted or pm? Quote Link to comment Share on other sites More sharing options...
Brollox Posted April 20, 2009 Share Posted April 20, 2009 Hi Guys I have a problem with image size. I need a rather big image for good detail for enlarging the product image, because of the type of product we want to sell. Is there a way that I could use a separate image for the normal thumbnails, and a different larger image just for the enlarge function. by the way I checked and find no imagemagic files anywhere on my shop. Would image magic give you this "different image just for the enlarge popup? Jaco Quote Link to comment Share on other sites More sharing options...
mortal Posted April 20, 2009 Share Posted April 20, 2009 Hi Guys I have a problem with image size. I need a rather big image for good detail for enlarging the product image, because of the type of product we want to sell. Is there a way that I could use a separate image for the normal thumbnails, and a different larger image just for the enlarge function. by the way I checked and find no imagemagic files anywhere on my shop. Would image magic give you this "different image just for the enlarge popup? Jaco well. popup be default uses the full size of the image. do you use the default popupfunction ? Quote Link to comment Share on other sites More sharing options...
Brollox Posted April 20, 2009 Share Posted April 20, 2009 well. popup be default uses the full size of the image. do you use the default popupfunction ? I think so Jan. I'm not sure though. How do I check? Quote Link to comment Share on other sites More sharing options...
Brollox Posted April 20, 2009 Share Posted April 20, 2009 (edited) well. popup be default uses the full size of the image. do you use the default popupfunction ? Sorry I mean Mortal (busy talking to Jan about sppc at the same time :blush: ) $Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $ Found this does it help? Edited April 20, 2009 by Brollox Quote Link to comment Share on other sites More sharing options...
mortal Posted April 20, 2009 Share Posted April 20, 2009 (edited) Sorry I mean Mortal (busy talking to Jan about sppc at the same time :blush: ) $Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $ Found this does it help? Hi. if you did not alter anything on the popup.php file. or the link in product_info.php. and the URL when showin popups is popup_image.php then you use default function. and then its showing you the full size image. i do not recommend forcing the images to be bigger than original. it does not look good. but if you just want to control the size om the images in popup. you can do this manually by editing <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?> TO <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'],' desired width',' desierd height'); ?> and please consider only setting one of the parameteres. to make the picture look better The line is found in popup_image.php in root catalog folder <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'],'600',''); ?> Edited April 20, 2009 by mortal Quote Link to comment Share on other sites More sharing options...
Brollox Posted April 20, 2009 Share Posted April 20, 2009 Hi. if you did not alter anything on the popup.php file. or the link in product_info.php. and the URL when showin popups is popup_image.php then you use default function. and then its showing you the full size image. i do not recommend forcing the images to be bigger than original. it does not look good. but if you just want to control the size om the images in popup. you can do this manually by editing <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?> TO <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'],' desired width',' desierd height'); ?> and please consider only setting one of the parameteres. to make the picture look better The line is found in popup_image.php in root catalog folder <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name'],'600',''); ?> Thank You Mortal It is using the default popup.php There are no links to a different image file for the pupup that I could find. What I'd like to do is use a small thumbnail image on the index page and when you want to enlarge using the popup link on the product_info page the popup should use a different larger image. Like I said I have to use a rather large image to get the required detail on the popup, however the same large image gets resized/recalculated for all the thumbnails on the index page at the moment which makes the site dediously slow. is there an addon or something I could install to solve this or can we just specify a link somehwere in popup.php that will fetch a different jpeg file? I dunno. Quote Link to comment Share on other sites More sharing options...
mortal Posted April 20, 2009 Share Posted April 20, 2009 Hi Jaco. allright. i think i understand.... you would like to be able to specify diffrent image sizes depending on wether the customer clicks on a image to enlarge on either index or product_info ? here you simply copy popup_image.php and rename it. and from index.php you alter the target popup to that name. but im not sure if you mean that you would like to be able to specify a difrent size on the thumbs in index versus the images on product info. the imagemagic lets you specify a specific size for the product image on product_info.php if thats what you are looking for. Quote Link to comment Share on other sites More sharing options...
Brollox Posted April 21, 2009 Share Posted April 21, 2009 (edited) Hi Mortal No I think we're missing each other. I would like the popup to use a different image altogether than the image index.php and product_info.php uses for their respective thumbnails. This would enable me to use an image of maybe 600Kb for the popup and a different 60Kb image for the thumbnails. When the customer view index or product_info download should be quick and snappy. But when he wants to enlarge the image to see the detail, now popup.php uses another larger image and the customer wont mind if download is a tad slow. is this part of Image Magic? (which i dont have installed by the way) Thanks again. Edited April 21, 2009 by Brollox Quote Link to comment Share on other sites More sharing options...
mortal Posted April 21, 2009 Share Posted April 21, 2009 Hi Mortal No I think we're missing each other. I would like the popup to use a different image altogether than the image index.php and product_info.php uses for their respective thumbnails. This would enable me to use an image of maybe 600Kb for the popup and a different 60Kb image for the thumbnails. When the customer view index or product_info download should be quick and snappy. But when he wants to enlarge the image to see the detail, now popup.php uses another larger image and the customer wont mind if download is a tad slow. is this part of Image Magic? (which i dont have installed by the way) Thanks again. thats caching the images. and that is a part of imagemagic. Quote Link to comment Share on other sites More sharing options...
Brollox Posted April 21, 2009 Share Posted April 21, 2009 thats caching the images. and that is a part of imagemagic. Ok great I'll install imagemagic. THanks Quote Link to comment Share on other sites More sharing options...
Brollox Posted April 21, 2009 Share Posted April 21, 2009 Hi Mortal One more stupid question before I attempt this. I'm running 2.2 RCI the installation instructions says osCommerce 2.2-MS2 as a requirement am I fine or do I have a problem. Jaco Quote Link to comment Share on other sites More sharing options...
mortal Posted April 21, 2009 Share Posted April 21, 2009 Hi Mortal One more stupid question before I attempt this. I'm running 2.2 RCI the installation instructions says osCommerce 2.2-MS2 as a requirement am I fine or do I have a problem. Jaco hi. im actually not sure. but i think you are fine Quote Link to comment Share on other sites More sharing options...
eslund Posted April 30, 2009 Share Posted April 30, 2009 Got a question.. I searched if there was an answer, but I couldn't find one.. When imagemagic generates the thumbnails, the "fill-up" colour, is black.. Is there any way to change this? Quote Link to comment Share on other sites More sharing options...
chief404 Posted May 6, 2009 Share Posted May 6, 2009 Hello, unfortunately I´m coming late into this thread. The link in readme-file to the instruction is dead. Anybody saved the instruction? Thx for help in advance Chief Quote Link to comment Share on other sites More sharing options...
Fcaceres Posted May 6, 2009 Share Posted May 6, 2009 Hello guys, I installed the contribution on RC2 and: A graphic I had under my subcategories on the left side has dissapeared. and I'm getting EI script errors all over the place such as: An error has occurred in the script on this page. line: 27 Char: 1 Error: Object Expected Code: 0 URL: http://mysite.com/catalog/index.php then when I navigate the site.. line: 27 Char: 1 Error: Object Expected Code: 0 URL: http://mysite.com/catalog/index.php?cPath=1 line: 32 Char: 1 Error: Object Expected Code: 0 URL: http://mysite.com/catalog/product_info.php?products_id=39 and so on... Is there anybody that knows about this issue? :huh: Please help Quote Link to comment Share on other sites More sharing options...
Fcaceres Posted May 6, 2009 Share Posted May 6, 2009 I found the instructions in : http://web.archive.org/web/20070813113946/...nstructions.php Please help :( 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.