- Posts: 3
- Thank you received: 0
Product Thumbnail Image Not Expanding Consistantly
*********************************************
<? Php
hikashop_image_link_render function (& $ obj, $ path, $ addPopUp, optionslink $, $ html) {
return '<a rel="rokbox (Album)" title ="'.$ alt. "Target =" _blank "href ="'.$ obj-> uploadFolder_url. $ Path." Onclick = "SqueezeBox. fromElement (this, {parse: \ "rel \ '}) return false;"'. optionslink .'>'.$ $ html. '</ a>';
}
hikashop_small_image_link_render function (& $ obj, $ path, $ addPopUp, optionslink $, $ html) {
return '<a class="hikashop_image_small_link" rel="rokbox (Album)" title ="'.$ alt. "Href ="'.$ obj-> uploadFolder_url. $ Path." Onclick = "SqueezeBox.fromElement (this, { parse: \ "rel \ '}) return false;
"Target =" _blank "onmouseover =" return hikashopChangeImage (\''. $ AddPopUp. '\', \''. $ Obj-> uploadFolder_url_thumb. '\', \''. $ Obj-> thumbnail_x. '\' , \''. $ obj-> thumbnail_y. '\', this); "'. optionslink .'>'.$ $ html.' </ a> ';
}
*********************************************
Tom
Please Log in or Create an account to join the conversation.
Thank you for your clear explanation. It might be a good idea to add that somewhere in the documentation directly. We'll look at doing that.
Please Log in or Create an account to join the conversation.
The fix is still working, but I did notice that FireBug is giving the following error on every load/display of a large picture:
missing ] in index expression
[Break On This Error] (rokbox[720 480](album))
mootools-core.js (line 1)
It doesn't seem to matter, I guess the Firefox Browser is correcting the syntax?
But its a bit messy ignoring it?
No doubt there will be proper fixes quite soon, with Joomla! 1.7, etc, in August.
Tom
Please Log in or Create an account to join the conversation.

If it works like that, then you can ignore it...
Please Log in or Create an account to join the conversation.
following message.
Parse error: syntax error, unexpected T_STRING in /home7/innovbn8/public_html/templates/beez5/html/hikashop_image.php on line 2
Going back to prior config.
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.
- Posts: 164
- Thank you received: 0
The line above says "Open the hikashop_image-20110620.zip archive and extract the hikashop_image.php file." But I'm not sure where to get this file in order to solve this problem.
Is this downloaded via FTP from my Hika Shop Installation?
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.
<?php
function hikashop_image_link_render(& $obj, $path, $addPopUp, $optionslink, $html, $alt) {
return '<a rel="rokbox (Album)" title="'.$alt. '" target="_blank" href="'.$obj->uploadFolder_url. $path.'" onclick="SqueezeBox.fromElement(this, {parse: \'rel\'}) return false;"'. $optionslink .'>'.$html. '</a>';
}
function hikashop_small_image_link_render(& $obj, $path, $addPopUp, $optionslink, $html, $alt) {
return '<a class="hikashop_image_small_link" rel="rokbox (Album)" title="'.$alt. '" href="'.$obj->uploadFolder_url. $path.'" onclick="SqueezeBox.fromElement(this, {parse: \'rel\'}) return false;" target="_blank" onmouseover="return hikashopChangeImage(\''. $addPopUp. '\', \''. $obj->uploadFolder_url_thumb. '\', \''. $obj->thumbnail_x. '\' , \''. $obj->thumbnail_y. '\', this); "'. $optionslink .'>'. $html.' </a> ';
}
Please Log in or Create an account to join the conversation.
<?php
function hikashop_image_link_render(& $obj, $path, $addPopUp, $optionslink, $html, $alt) {
return '<a rel="rokbox[auto auto] (Album)" title="'.$alt. '" target="_blank" href="'.$obj->uploadFolder_url. $path.'" onclick="SqueezeBox.fromElement(this, {parse: \'rel\'}) return false;"'. $optionslink .'>'.$html. '</a>';
}
function hikashop_small_image_link_render(& $obj, $path, $addPopUp, $optionslink, $html, $alt) {
return '<a class="hikashop_image_small_link" rel="rokbox[auto auto] (Album)" title="'.$alt. '" href="'.$obj->uploadFolder_url. $path.'" onclick="SqueezeBox.fromElement(this, {parse: \'rel\'}) return false;" target="_blank" onmouseover="return hikashopChangeImage(\''. $addPopUp. '\', \''. $obj->uploadFolder_url_thumb. '\', \''. $obj->thumbnail_x. '\' , \''. $obj->thumbnail_y. '\', this); "'. $optionslink .'>'. $html.' </a> ';
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.