- Posts: 31
- Thank you received: 1
1.5.8 to 1.6.0 Product Pictures stopped working
Just so you know, the images ARE still there. If you open directly, just the images, they download. There is some issue with Joomla and/or cache (though mine is off).
thanks for taking the hit on this Nicolas.
E.
Please Log in or Create an account to join the conversation.
I fixed my .htaccess and viola! The images appeared.
Give that a whirl...
Please Log in or Create an account to join the conversation.
- Bill Finkelstein
-
Topic Author
- Offline
Thanks,
Bill
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Bill Finkelstein
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
On Joomla 1.5 and I have 777/644 for my permissions and it still doesn't work.
Shane
Please Log in or Create an account to join the conversation.
I checked your website.
In the folder images/store, you have the file .htacess with the rule:
deny from all
Delete the .htaccess there and it will work.
Please Log in or Create an account to join the conversation.
- Bill Finkelstein
-
Topic Author
- Offline
Regards,
Bill
Please Log in or Create an account to join the conversation.
That htaccess disallow anyone from accessing directly the folder where you put your paid downloads.
If you put the upload folder there too, your images won't be available anyone.
So both folders should have a different location, as it is by default.
Please Log in or Create an account to join the conversation.
- Bill Finkelstein
-
Topic Author
- Offline
Thanks again,
Regards,
Bill
Please Log in or Create an account to join the conversation.
- Posts: 53
- Thank you received: 2
I referred to the steps above and none of the suggestions fixed the problem.
Please advise.
Please Log in or Create an account to join the conversation.
Images of products added with version 1.5.8 do show up correctly in the cart.
I have set permissions to the hikashop media folders also to 777 but that doesn't solve it.
Might this be a general user/file/folder permission issue? I've been reading about the apache ownership of files and folders.
It seems that a lot of Joomla users have problems with that. I am not a server geek but my hoster can implement SuPHP so that problems with ownership should be solved. Will Hikashop work with that? All folders then will have the maximum CHMOD value 755 (files max 644). At this moment I can't set the FTP layer on even with setting the configuration.php to 777
Please Log in or Create an account to join the conversation.
- Posts: 53
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Thank you. You are probably right. I just copied the contents of the 1.5.8 checkout cart.php into the view of 1.6.0 and the problem remains.
If I copy the link to the image in the browser the image is displayed correctly. We'll have to wait for a solution.
In the meantime I have ruled out the display of images in the cart (see example). That works for me.
Now yet to make a popup window for the hideous link to the product. When a customer clicks on the link of the product in the cart all navigation is completely lost: product opens alone in the browser window without proper ways to navigate back to the cart.
Example here to add products to the cart: www.1968dewinkel.nl/cadeaubonnen
Amended cart.php (see attachment).
Please Log in or Create an account to join the conversation.
- Posts: 53
- Thank you received: 2
Please Log in or Create an account to join the conversation.
I really don't know. The image link in the cart was correct (checked with Mozilla Firebug).
Maybe the fault is somewhere here?
<tr class="row1">
<td class="hikashop_cart_product_image_value">
<div class="hikashop_cart_product_image_thumb">
<a onclick="SqueezeBox.fromElement(this,{parse: 'rel'});return false;" href="/media/com_hikashop/upload/cadeaubon_1570569477.png" target="_blank" rel="{handler: 'image'}" title="cadeaubon-60-eur">
<img width="100" height="66" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" alt="cadeaubon-60-eur" src="/media/com_hikashop/upload/thumbnail_66x100/cadeaubon_1570569477.png">
</a>
</div>
</td>
I am already behind schedule and leave it for what it is now.
Please Log in or Create an account to join the conversation.
Fixed. At least for me it worked. Saw in the showcase an example of a cart that was working correctly.
So I downloaded Hikashop Starter 1.60 Edition and copied a part of the PHP code from the cart.php into the checkout cart view.
After a few trial and errors voila...
Code to be copied and remove the red line:
<td class="hikashop_cart_product_image_value">
<?php if(!empty($row->images)){
$image = reset($row->images);
$width = $this->config->get('thumbnail_x');
$height = $this->config->get('thumbnail_y');
$this->image->checkSize($width,$height,$image);
if(!$this->config->get('thumbnail')){
echo '<img src="'.$this->image->uploadFolder_url.$image->file_path.'" alt="'.$image->file_name.'" id="hikashop_main_image" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle" />';
}else{ ?>
<div class="hikashop_cart_product_image_thumb" >
<?php echo $this->image->display($image->file_path,true,$image->file_name,'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', $width, $height); ?>
</div>
<?php }
} ?>
</td>
Please Log in or Create an account to join the conversation.
- Posts: 53
- Thank you received: 2
Please Log in or Create an account to join the conversation.
-When I upload images, the first image seems to be the default image for the product. When I add the item to the cart however, the default seems to be the last image. I want it to be the first image as in the catalog. Is this a bug or feature or something I failed to set up?
Thanks
Shane
Please Log in or Create an account to join the conversation.