VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: piekielko on October 25, 2014, 12:53:26 PM

Title: In the file_url_thumb addresses to the thumbnails are not created.
Post by: piekielko on October 25, 2014, 12:53:26 PM
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
Title: Re: In the file_url_thumb addresses to the thumbnails are not created.
Post by: AH on October 25, 2014, 13:31:04 PM
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
Title: Re: In the file_url_thumb addresses to the thumbnails are not created.
Post by: piekielko on October 25, 2014, 19:14:03 PM
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
Title: Re: In the file_url_thumb addresses to the thumbnails are not created.
Post by: AH on October 25, 2014, 20:27:23 PM
look in  admin - images.php
for the function that builds thumb urls