onetrading Posted March 13, 2009 Share Posted March 13, 2009 Yes I did...Jim Did you run the database.sql? Regards Jim Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 14, 2009 Share Posted March 14, 2009 Check your database. All of the added lines should be in the configuration_group and configuration tables, probably near the end. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Giovanna Posted March 14, 2009 Share Posted March 14, 2009 Cheers for that piece of code Jim, I think it worked, but waiting on an answer from my host as my images display with an red cross and i think its because file permissions are 644 on the images, but 777 on the folder. Quote Link to comment Share on other sites More sharing options...
Giovanna Posted March 16, 2009 Share Posted March 16, 2009 *grumble* still got the red cross. Would the permissions be the culprit? so close to getting this done.. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 16, 2009 Share Posted March 16, 2009 It could be. Try changing the permissions on one of your images to 644 and see if it shows up. If that's not it, do View Source in your browser and look at the image tag. Is it calling the image from the correct location? Is the image name incorrect or missing? Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
d3vilr3d Posted March 17, 2009 Share Posted March 17, 2009 Hi Guys, I installed this contribution and my admin->Products Images shows: 1146 - Table 'allscoot_enly.TABLE_PRODUCTS_IMAGES' doesn't exist select count(*) as total from TABLE_PRODUCTS_IMAGES pi, products_description pd where pd.products_id = pi.products_id and pd.language_id = '1' I did insert the database.sql into my database. I checked and products_images is there. Anything I'm missing? Thanks much for your input. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 17, 2009 Share Posted March 17, 2009 <snipped>Anything I'm missing? The changes to catalog/admin/includes/database_tables.php, apparently. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
d3vilr3d Posted March 17, 2009 Share Posted March 17, 2009 Thanks Jim! I thought I updated that file. Silly me. Quote Link to comment Share on other sites More sharing options...
Giovanna Posted March 17, 2009 Share Posted March 17, 2009 It could be. Try changing the permissions on one of your images to 644 and see if it shows up. If that's not it, do View Source in your browser and look at the image tag. Is it calling the image from the correct location? Is the image name incorrect or missing? Regards Jim Hi Jim, According to my host image permissions are fine, but where i put the code you gave me it is returning this <img src="images/" border="0" alt=""> So it looks like it is not calling the images properly. Any ideas.. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 17, 2009 Share Posted March 17, 2009 That tells me that $product_info['products_image'], $product_info['products_name'] are not being set. Perhaps your template has changed the database query for the information. Check your original version for the image tag. Is the query result $product_info? If that has changed, substitute the variable that your site uses. If that is not the problem, then have you accidentally deleted the database query, or have you pasted the code I gave you above the query? The query needs to come first. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Giovanna Posted March 17, 2009 Share Posted March 17, 2009 That tells me that $product_info['products_image'], $product_info['products_name'] are not being set. Perhaps your template has changed the database query for the information. Check your original version for the image tag. Is the query result $product_info? If that has changed, substitute the variable that your site uses. If that is not the problem, then have you accidentally deleted the database query, or have you pasted the code I gave you above the query? The query needs to come first. Regards Jim You are right, Just comparing it together i can see which query you mean. Now to try and solve it without messing up the template. Feel like starting again and just use sts or something to create my own. :') Quote Link to comment Share on other sites More sharing options...
premium Posted March 17, 2009 Share Posted March 17, 2009 Whats wrong here: http://www.webshop.combatkit.no/index.php?...amp;language=no i`ve got this problem with subcategories..the small image is not there... There is no problems if i remove the subcategoies.. Anyone?? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 18, 2009 Share Posted March 18, 2009 You probably missed an edit to catalog/index.php or catalog/includes/modules/product_listing.php. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
premium Posted March 18, 2009 Share Posted March 18, 2009 You probably missed an edit to catalog/index.php or catalog/includes/modules/product_listing.php. Regards Jim Nope.. are you sure it is in catalog/index.php or catalog/includes/modules/product_listing.php?? could not find anything here.. The problem occurs only when you click on a subcategorie product. Anyone? Regards! Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 18, 2009 Share Posted March 18, 2009 This contribution only affects product images. Subcategory images are not altered by More Pics. Did you assign images to your subcategories? Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
premium Posted March 18, 2009 Share Posted March 18, 2009 (edited) "Did you assign images to your subcategories?" How do i do this? My problem is the ...includes/modules/new_products.php file, i tried to upload this file from morepics contribution and it works with that file. but my design is then missing... Can you please have a look at this file: http://rapidshare.com/files/210809403/new_products.php.html Edited March 18, 2009 by premium Quote Link to comment Share on other sites More sharing options...
Rachael w. Posted March 18, 2009 Share Posted March 18, 2009 I have an older version of this code, I am hoping someone can help me. I am having the same issue as a previous post Here When I click a product in the shopping cart, I go back to the product info page and the image is the full size (not the restricted parent image) and the url is a little different. Exactly as in the post linked to above. I scrolled through the posts in response to that one and I couldn't quite follow if there had been a resolution to this or not. I do not want to upgrade to the most recent more pics since I have mine working on a very heavily modified site and don't want to "break" it. Can anyone help me find the answer to that previous post to solve my problem? Thank you in advance for your help! Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 18, 2009 Share Posted March 18, 2009 Go to your Admin -> Catalog -> Categories/Products, select your category and click Edit. Add an image and click Save. In your New Products file, you missed the changes to the database query on Line 27. Your file comparison program should highlight that error. If you're not using one, I strongly recommend that you do so. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
♥kymation Posted March 18, 2009 Share Posted March 18, 2009 I have an older version of this code, I am hoping someone can help me. I am having the same issue as a previous post Here<snipped> Do you have either Use SMALL_IMAGE_ Restrictions or Restrict parent image size set to true? Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Rachael w. Posted March 19, 2009 Share Posted March 19, 2009 Restrict parent image is true. I need it to be smaller because our images are huge (there is a reason for them to be huge). I did just discover this. It does NOT happen on products which have no options (attributes). It is only happening on products with options. Maybe that would help determine the problem since I cant figure it out. Thank you for your help! Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 19, 2009 Share Posted March 19, 2009 That is an odd problem. The attributes are certainly the key factor. osCommerce adds attribute codes onto the end of the products_id. We have to strip that off to use it for database querys, etc. I just haven't found where it would cause this problem. Yet. As a preemptive strike, let's make certain that the attributes are bing stripped. In catalog/products_info.php, find all of the occurances of $HTTP_GET_VARS['products_id'] in a database query. Make certain that all of them have (int) in front of that code. If it's not there, add it. There are quite a few places on that page, so be careful that you have them all. If that doesn't work, look at the page source for a page that works and one that fails, and see what's in the <img > tags. Maybe the difference will give me a clue. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Barbie97 Posted March 19, 2009 Share Posted March 19, 2009 Hi Everybody! I'm sooo excited to find this feature!! Here is my problem... I'm not sure anymore what to download. There are so many contributions listed. I downloaded the More Pics 2.0.5 - Bugfix, but it only had the code and no read me text. So I'm thinking I need to download something else first. Is there more than one file I'm supposed to download? Please be gentle with me... I'm new! :blush: Quote Link to comment Share on other sites More sharing options...
Rachael w. Posted March 19, 2009 Share Posted March 19, 2009 Jim, Thanks for the help! I checked for the (int) and it was missing in a couple places. But, alas, it didnt matter. I dont know why I didnt think to compare the files! So, I did just that. Here's what I've found, it looks like an imagemagic issue! The page with the image in the size uploaded, "incorrect": <img src="images/20090318130106-Untitled-7090318.jpg" The page with the image in the adjusted "correct" size: <img src="imagemagic.php?page=prod_info&img=images/20090318130106-Untitled-7090318.jpg&w=250&h=386" width="250" height="386" I dont think imagemagic is supported anywhere, so I might be screwed here. I'll have to take more time to look at it to see if I can find the cause. Quote Link to comment Share on other sites More sharing options...
premium Posted March 19, 2009 Share Posted March 19, 2009 Go to your Admin -> Catalog -> Categories/Products, select your category and click Edit. Add an image and click Save. In your New Products file, you missed the changes to the database query on Line 27. Your file comparison program should highlight that error. If you're not using one, I strongly recommend that you do so. Regards Jim Thanks!!! line 27 is now edited and it`s working. :) Hi Everybody! I'm sooo excited to find this feature!! Here is my problem... I'm not sure anymore what to download. There are so many contributions listed. I downloaded the More Pics 2.0.5 - Bugfix, but it only had the code and no read me text. So I'm thinking I need to download something else first. Is there more than one file I'm supposed to download? Please be gentle with me... I'm new! :blush: download More Pics 2.0.5. Quote Link to comment Share on other sites More sharing options...
fronsky Posted March 19, 2009 Share Posted March 19, 2009 Hello, It appears to be a need for at least 3 images for the extra image function shows the images. When 'show original image on product info page' is set to false, there will no images be shown. Can this be changed easily? Is there a special reason for this? 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.