Hi,
Virtuemart 1.1.2 at joomla 1.5.7
The images should appear directly in original size (the product image and the additional images)
To show the product image I wrote a small function, works fine.
But the additional images are making me mad:
In the product-template the additional images are called by that line:
echo $this->vmlistAdditionalImages( $product_id, $images )
In the vmlistAdditionalImages() at the file theme.php,
we find that line:
$thumbtag = ps_product::image_tag( $image->file_name, 'class="browseProductImage"', 1, 'product', $image->file_image_thumb_width, $image->file_image_thumb_height );
I change the 1 to 0, because I do not wan't the images to be resized.
But at file ps_product.php the image_tag() - function calls the
getimagesize() function and drops a Warning, that the stream could not be opened.
Well, the URL contains a http://<servername>//component instead of only one slash,
ok. no problem, a second str_replace can suppress this, but getimagesize does still not work properly.
chmod to 0777 does not help.
The image is shown! The shown url at the warning is all right.
Perhaps this function should be changed to work with absolute path instead of URL?
Thanks for reading (hope, anyone did understand what I wan't so say...)
Peter