In the file_url_thumb addresses to the thumbnails are not created.

Started by piekielko, October 25, 2014, 12:53:26 PM

Previous topic - Next topic

piekielko

Is the in virtuemart 3 will be solved the problem of creating an address to thumbnail images in Mysql?
in the table "_virtuemart_medias" in the column "file_url_thumb" addresses to the thumbnails are not created.

Joomla 3.3.6
VM 2.9.9.2
PHP 5.4.3
MySQL 5.1

AH

This is the default behaviour now in VM3

If you are using auto create thumbnails

If you override a thumbnail, then the override values IS stored
Regards
A

Joomla 3.10.11
php 8.0

piekielko

In this case, what is the php code for the thumbnails?
I need to put this in my module.

At the moment I have to modify the link from original image to thumbnails:


$mini = substr($imageurl,34,-4);
$itemhtml = str_replace('{product_thumb_image_url}', 'images/stories/virtuemart/product/resized/'.$mini.'_250x250.jpg', $itemhtml);

;D

AH

look in  admin - images.php
for the function that builds thumb urls
Regards
A

Joomla 3.10.11
php 8.0