- Posts: 83
- Thank you received: 0
Click to enlarge
I would like to add "click to enlarge pic" under the product images.Is this the right code to add at the end of the css template?
.hikashop_product_image{url(../images/clicktoenlarge.png)
Thank you
Please Log in or Create an account to join the conversation.
Try like that:
.hikashop_product_image{background-image:url(../images/clicktoenlarge.png);}
Also, you will probably have to add some other things as it will be displayed as a background image and thus below the image.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
.hikashop_product_main_image_thumb{background-image:url(../images/enlargeicon.png);}
Nothing happened
Please Log in or Create an account to join the conversation.
However, the does not exist either:
http://*********/templates/joomlage0040-emotion/images/enlargeicon.png
If you want us to customize that for you, please request a quote via our contact form and we'll do it for a small fee as this is not a support question but a customization question.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I won't be available next week as I'm going to a conference and the rest of the team will be quite busy keeping up so you'll have to wait till the last week of april for us to work on that. That will give plenty of time to your administrator
Send us a message via our contact form with a link to that page if you want to proceed with that and we'll give you a quote.
Please Log in or Create an account to join the conversation.
I saw one of your answer in the forum giving this code below to somebody,I applied it and it works except that I want when the mouse is not over the image it gets back to the normal size I used mouseout(shrink) but it look like I miss something
<?php echo $this->image->display(@$image->file_path,true,@$image->file_name,'id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link" onMouseover="SqueezeBox.fromElement(this,{parse: \'rel\'});return false;" ', $width, $height); ?>
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
i want also add "click to enlarge image" under the picture. i opened the file which i should add the text. but i dont know where and what exactly text i must add?
Please Log in or Create an account to join the conversation.
Which file did you opened ? You generally just have to add the text after the image part.
You can do many tests in order to get the desired result
Please Log in or Create an account to join the conversation.
could explain step by step what must i do
Thank you
Please Log in or Create an account to join the conversation.
You can add such HTML at the end of the file "show_img_block" via the menu Display>views:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The given code should work, and the button must be displayed just under the image.
Are you sure that you are editing the correct view ?
Could you give us the full code ? please place the code between [code ] ... [/code ] (without spaces).
Please Log in or Create an account to join the conversation.
the click on large show under the image but when i click it transfer to main page
i add this on the file you mention
<a onclick="return window.localPage.openImage(\'hikashop_main_image<?php echo $variant_name; ?>\');" href="">إضغط لتكبير الصورة</a>
Please Log in or Create an account to join the conversation.
It means you have javascript errors in your page.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.