| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Dynamic Images for X-Cart version 4.1.x | ||||
|
|
Thread Tools |
#101
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
Quote:
If X-Cart is recognizing the images then you will be OK. The built in function of how X-Cart uploads and stores the image, updates the data in the database and inserts the image location into the product array does not change with this mod. This mod comes into play when the image is displayed to the customer. It uses the information that X-Cart stores in the database for the image location (so as long as that is there and the image actually exists, it will display). This is not a replacement for magnifier. It will allow you to use one large image for the product and then generate all different sizes of images including the large popup image, but it does not "zoom". If you intend on using the magnifier, then you will need to upload a separate image for that. |
|||||||||
#102
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
Sounds good and what folder do I upload the main image to for the mod to work? Such as the D folder or does the mod have its own folder and it then takes and places all the images in the correct folder?
__________________
Cyber Matrix ------------------- X-Cart 4.1.9 |
|||||||||
#103
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
If you only have one image for a product this should be the Thumbnail image.Keep in mind, this is more than just uploading photos. You still have to associate the image with the product the normal way that you would do in X-Cart without this mod. Those functions have not changed.
|
|||||||||
#104
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
We must not be on the same page and please clarify. In the description it reads "This image Mod will allow you to upload one large image for the product and it will dynamically generate new images as necessary."
So are you stating to upload the main images to the T folder only? I have been creating images for each size such as one for thumbs, one for products and one for detail images. To me if I upload a 600px wide image it would make more sense to upload it to the detail image folder than to the thumbnail folder. Or do I need to still created all 3 sizes and upload them as I have been?
__________________
Cyber Matrix ------------------- X-Cart 4.1.9 |
|||||||||
#105
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
If there is only one image for a product it should be the thumbnail image. This is X-Cart default operation. When using this Image Mod, you can use a large image as the thumbnail image and it will dynamically generate the different size images that you need throughout the cart.
|
|||||||||
#106
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
Quote:
I am having the same issue w/ thumbnails for the upselling side. The no_image thumb keeps showing. The issue seems related to the following code in: skin1/modules/Upselling_Products/related_products.tpl Code:
$product_links becomes $recommends for the included page, but the problem is that $product_links does not seem to pass along the .tmbn_url value to $recommends[num].tmbn_url. The value is nil as far as I can tell, and that seems to be why the no_image shows up. However, I am unsure how to pass tmbn_url into here. Any thoughts? Here's an example page: http://209.62.127.236/product.php?productid=16346&cat=0&page=1 |
|||||||||
#107
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
X-Cart does not load the product URL into the Upsell Links by default. You can add some code to the PHP file to load them into the array yourself.
Edit /modules/Upselling_Products/related_products.php Right before the last line $smarty->assign("product_links",$product_links); add the following: Code:
|
|||||||||
#108
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
Worked like a charm. Once again, thanks TelaFirma. The support you offer for your modules is second to none.
|
|||||||||
#109
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
I have it working but I need to know how to reset the images size in the T folder so they do not look distorted when you click to enlarge the image. How do you let the cart know that the images in the T folder are now 500px wide and not 125px wide without having to import all the products again.
__________________
Cyber Matrix ------------------- X-Cart 4.1.9 |
|||||||||
#110
|
|||||||||
|
|||||||||
Re: Dynamic Images for X-Cart version 4.1.x
Is there a way to have the pages load faster? On the site I'm using this mod for which is a clothing site some of the products have 10 plus colors and it is taking those pages 30 seconds plus to load on high speed connection.
__________________
Cyber Matrix ------------------- X-Cart 4.1.9 |
|||||||||
|
Thread Tools | |
|
|
|
|||
X-Cart forums © 2001-2020
|