- Posts: 14
- Thank you received: 0
How can i set size for container of image ?
12 years 3 weeks ago #170953
by cms4biz
How can i set size for container of image ? was created by cms4biz
-- HikaShop version -- : 2.3.2.
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : FF 31
-- Error-message(debug-mod must be tuned on) -- : How can I set height and with of the box of the image of a product listing(listing-table.php)?
I want to set the height and width of the containers in which the image for a product listing is contained in!
I know you can set this in menupad [confguration, main, image]
However that didn't change the size in the html
I have looked in the view of this product listing(tbale) and i look how this is controlled. I notice there are two settings you can controle this.
First $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') . These settings can be found in the aboved described menupath.
Secendly i saw these two variables:
this->params->get('image_height');
this->params->get('image_width);
In case these are set the variables $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') are overules.
Where can i set the values for :
this->params->get('image_height');
this->params->get('image_width);
How can I set height and with of the box of the image of a product listing(listing-table.php)?
I want to set the height and width of the containers in which the image for a product listing is contained in!
I know you can set this in menupad [confguration, main, image]
However that didn't change the size in the html
<div class="hikashop_product_image_subdiv" style="position:relative;text-align:center;clear:both;width:190px;margin: auto;"> <a title="Set van 7 3B BONElike ™ halswervels" href="/anatomie/index.php/3b-bonelike/product/1752-set-van-7-3b-bonelike-halswervels">
<img src="/anatomie/media/com_hikashop/upload/thumbnails/190x190f/1000021_base_anatomie.jpg" alt="" title=""lass="hikashop_product_listing_image"> </a></div>
I have looked in the view of this product listing(tbale) and i look how this is controlled. I notice there are two settings you can controle this.
First $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') . These settings can be found in the aboved described menupath.
Secendly i saw these two variables:
this->params->get('image_height');
this->params->get('image_width);
In case these are set the variables $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') are overules.
Where can i set the values for :
this->params->get('image_height');
this->params->get('image_width);
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3.29
-- Browser(s) name and version -- : FF 31
-- Error-message(debug-mod must be tuned on) -- : How can I set height and with of the box of the image of a product listing(listing-table.php)?
I want to set the height and width of the containers in which the image for a product listing is contained in!
I know you can set this in menupad [confguration, main, image]
However that didn't change the size in the html
I have looked in the view of this product listing(tbale) and i look how this is controlled. I notice there are two settings you can controle this.
First $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') . These settings can be found in the aboved described menupath.
Secendly i saw these two variables:
this->params->get('image_height');
this->params->get('image_width);
In case these are set the variables $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') are overules.
Where can i set the values for :
this->params->get('image_height');
this->params->get('image_width);
How can I set height and with of the box of the image of a product listing(listing-table.php)?
I want to set the height and width of the containers in which the image for a product listing is contained in!
I know you can set this in menupad [confguration, main, image]
However that didn't change the size in the html
<div class="hikashop_product_image_subdiv" style="position:relative;text-align:center;clear:both;width:190px;margin: auto;"> <a title="Set van 7 3B BONElike ™ halswervels" href="/anatomie/index.php/3b-bonelike/product/1752-set-van-7-3b-bonelike-halswervels">
<img src="/anatomie/media/com_hikashop/upload/thumbnails/190x190f/1000021_base_anatomie.jpg" alt="" title=""lass="hikashop_product_listing_image"> </a></div>
I have looked in the view of this product listing(tbale) and i look how this is controlled. I notice there are two settings you can controle this.
First $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') . These settings can be found in the aboved described menupath.
Secendly i saw these two variables:
this->params->get('image_height');
this->params->get('image_width);
In case these are set the variables $this->config->get('thumbnail_y') and $this->config->get('thumbnail_x') are overules.
Where can i set the values for :
this->params->get('image_height');
this->params->get('image_width);
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 3 weeks ago #170959
by Mohamed Thelji
Replied by Mohamed Thelji on topic How can i set size for container of image ?
Hello,
Did you tried to use the options of the "Image" tab of the "Hikashop->System->Configuration->Main" page or of the "Parameters for DIV" tab of the configuration page of your product listing content menu/module ?
Did you tried to use the options of the "Image" tab of the "Hikashop->System->Configuration->Main" page or of the "Parameters for DIV" tab of the configuration page of your product listing content menu/module ?
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #171137
by cms4biz
Replied by cms4biz on topic How can i set size for container of image ?
Thank you very much with your quick reply.
I can't find this "Parameters for DIV" tab of the configuration page.
Could you explain how to get to this setting.
Many thanks in advance.
I can't find this "Parameters for DIV" tab of the configuration page.
Could you explain how to get to this setting.
Many thanks in advance.
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #171138
by Xavier
Replied by Xavier on topic How can i set size for container of image ?
Hi,
Via the HikaShop menu Display > Content modules or Display > Content menus, you can edit the settings of your menu/modules.
When editing a menu/module, you can see the part "Parameters for DIV" and in this part, you can change the image size values.
Via the HikaShop menu Display > Content modules or Display > Content menus, you can edit the settings of your menu/modules.
When editing a menu/module, you can see the part "Parameters for DIV" and in this part, you can change the image size values.
Please Log in or Create an account to join the conversation.
12 years 2 weeks ago #171232
by cms4biz
Replied by cms4biz on topic How can i set size for container of image ?
Yes, I found it!
Thank you very much.
Thank you very much.
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds