- Posts: 126
- Thank you received: 0
Shadowbox Media Viewer a duplicate images!
-- HikaShop version -- : Last
-- Joomla version -- : 2.5
The plugin Shadowbox Media Viewer a duplicate images.
For example on page I have 2 images of some product, but when I click on thumbnail in the bottom of Shadowbox window displays 1 of 3 :blink: , but on page uploaded only 2 images. The Shadowbox Media Viewer a duplicated first image and display second image normal.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you give me more information about the problem that you are having through some screenshots for example ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
In HikaShop 2.2.2, we improved the way that these thumbnails are displayed.
If you remove your custom views, it will use the default popup system and you can, at this moment, set an option to use the "shadowbox" lib instead of "mootools" one.
The improvements that we made for HikaShop 2.2.2 will display the gallery right, without duplicating the images.
You have to create a new entry in the table hikashop_config with the namekey "image_popup_mode" and value "shadowbox".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
2) I need to create a new entry in DB in hikashop_config table?
Please give me a more informations about how to fix this problem...
Please Log in or Create an account to join the conversation.
P.S This plugin also has a second problem, I don't know how to close links from search engines, because Shadowbox Media Viewer use attribute rel="shadowbox" and I can not write rel="nofollow"
Please Log in or Create an account to join the conversation.
HikaShop 2.2.2 integrates a shadowbox popup generator, so you do not need anymore the plugin to make the modification.
The problem is that we integrate it but we didn't put any option (in this release) to activate it because we prefer to make a lot of tests before and be sure while releasing it. But you still can activate it manually.
Yes basically "Shadowbox media viewer" need the rel="shadowbox" to work. But I know that in the possible in the JS lib to change how shadowbox will find his "popups".
So if you want to do it, it will require some PHP/development skills in order to modify some files.
But the problem of the rel comes from "shadowbox media viewer" itself, if you want to use another popup system (with a gallery), it is possible.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Ок... How to switch on integrated shadowbox in HikaShop or how to fix the problem with duplicates images in Shadowbox media viewer plugin??? How to remove duplicate pictures on HikaShop product page???HikaShop 2.2.2 integrates a shadowbox popup generator, so you do not need anymore the plugin to make the modification.
Please Log in or Create an account to join the conversation.
In the file "administrator/components/com_hikashop/helper/popup.php" you will find these lines:
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Do you have a view override for the "product | show_block_img" ?
Did you removed/unpublished the HikaShop-Shadowbox plugin as asked before ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Yes, I haveJerome wrote: Do you have a view override for the "product | show_block_img" ?
Yes, I replace $popupMode = 'mootools'; on $popupMode = 'shadowbox'; in "administrator/components/com_hikashop/helper/popup.php"Jerome wrote: Did you removed/unpublished the HikaShop-Shadowbox plugin as asked before ?
Please Log in or Create an account to join the conversation.
If you have an override, it is highly possible that you don't use the popup helper to creating the image popups.
So, you can modify the helper popup, if it is not used.. It is not used.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
By removing your override. Because with the override it can't work and it won't work.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please provide a link to one of your product page with several images (so we will be able to test it directly).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Site is localhost now., I can send you HTML code of the product page?Jerome wrote: Please provide a link to one of your product page with several images (so we will be able to test it directly).
Please Log in or Create an account to join the conversation.
The main image does not use any rel="shadowbox[HikaShop]" in my official product page.
The page like that can't work and won't work. The main image HTML is not right.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I installed only HikaShop 2.2.2, Shadowbox Media Viewer 4.0 and Gavickpro template for Joomla 2.5, nothing more :dry:
Please Log in or Create an account to join the conversation.