| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Thumbnail size in xc5 | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Thumbnail size in xc5
Is there a way to disable the resizing of the icons so we can control our layout without software intervention?
__________________
This is too complicated, X-Cart DB Version: 4.4.5 GOLD |
|||||||
#12
|
|||||||||
|
|||||||||
Re: Thumbnail size in xc5
Quote:
That would be a starting point, but I see so much code that depends upon this that I think it would be a massive undertaking to disable it completely. Much easier to simply embrace it and twist it to your own advantage.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#13
|
|||||||||
|
|||||||||
Re: Thumbnail size in xc5
Guys, I just wrote an article about disabling resizing routine here:
http://kb.x-cart.com/display/XDD/Working+with+image+resizing+routine Check it out!
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#14
|
|||||||||
|
|||||||||
Re: Thumbnail size in xc5
Very cool Tony! Your mod is an elegant way to handle this.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#15
|
|||||||
|
|||||||
Re: Thumbnail size in xc5
Hi Tony,
I'm also having trouble with resizing thumbnail images. I tried the solution you suggested but it also isn't working for me. Any Ideas?
__________________
xcart 5.1.1 |
|||||||
#16
|
|||||||||
|
|||||||||
Re: Thumbnail size in xc5
Hello @flipp2k and welcome to X-Cart community.
Could you please give me more details about what you were trying to achieve, what you did and what actually happened instead of what you expected to see?
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#17
|
|||||||
|
|||||||
Re: Thumbnail size in xc5
Everything here seems really useful and exactly fitting for what I need. I am wanting to change the category thumbnail size to 300x300. I'm also wanting to change the product thumbnail size to 300x300. As of now, the categories are showing 160x160. Also the products in the grid view are showing 160x160.
However, I tried integrating this into my theme and it doesn't seem to be working at all? What am I missing? Attached are the files that I've added to my module. Any insight is appreciated! /XLite/Module/DevID/ModuleID/View/ProductBox.php PHP Code:
/XLite/Module/DevID/ModuleID/View/Subcategories.php PHP Code:
__________________
Ant XC v5.3.1.8 Horizontal Flyout Categories Menu Module CloudSearch / CloudFilters XC v4.7.6 CloudSearch |
|||||||
#18
|
|||||||||
|
|||||||||
Re: Thumbnail size in xc5
@ant99 it should have worked out. Could you please send me your module, so I could check out what is wrong exactly?
Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#19
|
|||||||||
|
|||||||||
Re: Thumbnail size in xc5
Thanks for sending me the module.
The correct implementation of the \XLite\Module\Dev-ID\Module-ID\View\Subcategories class should be as follows: PHP Code:
In other words, you should decorate the setWidgetParams() method instead of defineWidgetParams() one.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#20
|
|||||||
|
|||||||
Re: Thumbnail size in xc5
Quote:
Thank you, that works perfectly for the Category images. However, I tried to apply the fix for Product thumbnail images also and had no success. Here is what I have. PHP Code:
Any suggestions? Thanks for your help.
__________________
Ant XC v5.3.1.8 Horizontal Flyout Categories Menu Module CloudSearch / CloudFilters XC v4.7.6 CloudSearch |
|||||||
|
|||
X-Cart forums © 2001-2020
|