Product image is thumbnail.

05.11.2013 22:31
#1
whosliam
Joomshopping forum user no avatar
Name: liamn
18.07.2013
Posts: 4
Quote
Product image is thumbnail.

Im having an issue with my product listing. It seems that the page pulls the thumbnail image and not the main image. The interior page for the product looks fine and has the small thumbnails. Any way I can make images for the product listing bigger?
Product image is thumbnail.
product.png


Joomla: Joomla! 2.5.11
JoomShopping: 3.12.0 20.08.2012
 
06.11.2013 07:46
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: Product image is thumbnail.

Problem in css/template

 
06.11.2013 15:05
#3
whosliam
Joomshopping forum user no avatar
Name: liamn
18.07.2013
Posts: 4
Quote
Aw: Product image is thumbnail.

When I change the css it just stretches it out.. I want to know If i can use the main(Big) image on the products page. Any way to remove the Thumb_ from the products page?

 
06.11.2013 17:00
#4
whosliam
Joomshopping forum user no avatar
Name: liamn
18.07.2013
Posts: 4
Quote
Aw: Product image is thumbnail.

$product->Image is returning the thumbnail image url and we want it to return the Full sized image. Any thoughts?

 
06.11.2013 20:14
#5
whosliam
Joomshopping forum user no avatar
Name: liamn
18.07.2013
Posts: 4
Quote
Aw: Product image is thumbnail. Solved

Found the answer.. In product.php just use a str_replace to remove the word thumb from the image.

<a href="<?php print $product->product_link?>">

<?php
$FullImage = $product->image;
$FullThumb = str_replace("thumb_", "", $FullImage);
?>
<img class="jshop_img" src="<?php print $FullThumb?>" alt="<?php print htmlspecialchars($product->name);?>" />
<!--<img class="jshop_img" src="<?php print $product->image?>" alt="<?php print htmlspecialchars($product->name);?>" />-->
</a>

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.