dreamscape Posted September 24, 2003 Author Share Posted September 24, 2003 Bingo! That was the problem Dreamscape. Thanks for your help :) No problem Mike... you're about the 4th or 5th one to have this problem... gues sin future releases I will have to swtich back to $HTTP_GET_VARS instead of $_GET Quote The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
alexschmidt Posted October 26, 2003 Share Posted October 26, 2003 Dreamscape, please do not beat me, but I#ve got a problem which I can't solve... :blink: I've installed dynamic mopics 2.2 successfully in the past (earlier in this thread) at http://www.fetishteam.com/catalog/product_.../products_id/29 Now on a new server I've done the same thing but the pop ups won't show... I don't know what to to else.... http://web1.cserver11.erfurt14.de/catalog/.../products_id/29 All seem to be the same thing, but those big images won't show... The link shows to catalog/images/ instead of catalog/images/big-images... These are the entries in the admin area: Name Big Images Directory big_images/ Thumbnail Images Directory thumbs/ Main Thumbnail In Thumb Directory false Number of Pics per Row 4 Mo Pics Extension Main Big Pic Extension Mo Pics Thumbnail Image Type jpg Mo Pics Big Image Type jpg And this is my popup_image <?php $thumb_len = ((MAIN_THUMB_IN_SUBDIR == 'true') ? strlen(IN_IMAGE_THUMBS) : 0); $thumbs = ((MAIN_THUMB_IN_SUBDIR == 'true') ? IN_IMAGE_THUMBS : ''); $image_base = substr($products_values['products_image'], $thumb_len, -4); $image_ext = '.' . BIG_IMAGE_TYPE; $image_path = DIR_WS_IMAGES . IN_IMAGE_BIGIMAGES; $image_addon = (($_GET['pic']) ? MORE_PICS_EXT . $_GET['pic'] : BIG_PIC_EXT); /* if the big image isn't shown unkomment the next line, and check the path: maybe you have to remove '/'. or adjust the path, depends on your configuration */ // echo DIR_FS_CATALOG . $image_path . $image_base . $image_addon . $image_ext . '<br>'; if (is_file(DIR_FS_CATALOG . $image_path . $image_base . $image_addon . $image_ext)) { $image = $image_path . $image_base . $image_addon . $image_ext; } else { $image = (($_GET['pic']) ? DIR_WS_IMAGES . IN_IMAGE_THUMBS . $image_base . $image_addon . $image_ext : DIR_WS_IMAGES . $thumbs . $image_base . $image_ext); } echo tep_image($image, $products_values['products_name'], '', '', 'lowsrc="images/pixel_trans.gif"'); ?> </a> </div> </body> </html> <?php require('includes/application_bottom.php'); ?> Please helP!!! Quote Link to comment Share on other sites More sharing options...
alexschmidt Posted October 26, 2003 Share Posted October 26, 2003 In the meantime I've replaced all instances of $_GET['pic'] with $HTTP_GET_VARS['pic'] Now the popups are searched in the catalog/images/thumbs dir itself as "2.jpg" instead of "picname2.jpg" What the hell can be screwed up? Quote Link to comment Share on other sites More sharing options...
alexschmidt Posted October 26, 2003 Share Posted October 26, 2003 Problem solved... I've no idea what was wrong with the popup_image but I simply replaced it with the one from the old server.... Anyway... Quote Link to comment Share on other sites More sharing options...
Lofi Posted November 5, 2003 Share Posted November 5, 2003 please anyone, if im not mistaken this is probably what im looking for. With this contribution, is it possible to add a product with one picture that is the thumbnail and one picture which is the big one that pop ups after clickin on it? so i can have two different pictures? or am i dead wrong, please tell me, thanx :) Quote Link to comment Share on other sites More sharing options...
Guest Posted November 6, 2003 Share Posted November 6, 2003 You can have as many images as you want, and a thumb and a "bigimage" of each with Dynamic Mo Pics... Hey, does anyone have a good admin script that uses ImageMagick or NetPBM or something to automatically upload and populate DMPics from browsable images on my computer... ??? --gabe Quote Link to comment Share on other sites More sharing options...
Guest Posted November 6, 2003 Share Posted November 6, 2003 (edited) Well here it is, thanks all. (It uses GD, FYI) Link to Image_Resize_1.0 --gabe Edited November 6, 2003 by ganast 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.