Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
create tumbnail for eshop products page
« previous
next »
Print
Pages: [
1
]
Author
Topic: create tumbnail for eshop products page (Read 4553 times)
1050
Newbie
Posts: 33
create tumbnail for eshop products page
«
on:
March 21, 2012, 13:52:11 »
Hi,
I want to create a thumb nail with desired width and height for my product image to organize them better, how can I do that?
thank you
«
Last Edit: March 21, 2012, 13:59:19 by 1050
»
Logged
speck
Elxis Community
Sr. Member
Posts: 348
Re: create tumbnail for eshop products page
«
Reply #1 on:
March 22, 2012, 13:27:49 »
use this module
http://www.elxis-downloads.com/it/downloads/e-commerce/361.html
and set the thumb parameters in IOS eshop configuration.
Logged
1050
Newbie
Posts: 33
Re: create tumbnail for eshop products page
«
Reply #2 on:
March 25, 2012, 14:42:03 »
I tried to use that but it make thumb nails with specific width not height.
Logged
speck
Elxis Community
Sr. Member
Posts: 348
Re: create tumbnail for eshop products page
«
Reply #3 on:
March 26, 2012, 10:10:15 »
the module works on width dimension of thumb setted in configuration of IOS e shop.
is the best solution, to have a right dimension if u set more colunm
if u want different dimension of thumbnail in the module, u can modify manually these code of PHP:
example if u want a reduction of 20 px.
$this->eshop->cfg->get('THUMB_WIDTH') ;
in
$this->eshop->cfg->get('THUMB_WIDTH')
- 20
;
intval((
$this->eshop->cfg->get('THUMB_WIDTH)
'
* $sz[1]) / $sz[0]);
in
intval((
($this->eshop->cfg->get('THUMB_WIDTH') - 20)
* $sz[1]) / $sz[0]);
intval((
$this->eshop->cfg->get('THUMB_WIDTH')
* $sz[0]) / $sz[1]);
in
intval((
($this->eshop->cfg->get('THUMB_WIDTH') - 20)
* $sz[0]) / $sz[1]);
if u want good thumbnails based on height, make pictures with same dimension. Only in this case u have right dimension and u can set the width at second of height u want.
«
Last Edit: March 26, 2012, 10:30:12 by speck
»
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
create tumbnail for eshop products page