Author Topic: In the file_url_thumb addresses to the thumbnails are not created.  (Read 1642 times)

piekielko

  • Beginner
  • *
  • Posts: 6
    • taniec
  • VirtueMart Version: 3
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3296
  • VirtueMart Version: 3.8.4
Re: In the file_url_thumb addresses to the thumbnails are not created.
« Reply #1 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
regards
A

Joomla 3.9.22
php 7.3

piekielko

  • Beginner
  • *
  • Posts: 6
    • taniec
  • VirtueMart Version: 3
Re: In the file_url_thumb addresses to the thumbnails are not created.
« Reply #2 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:

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

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3296
  • VirtueMart Version: 3.8.4
Re: In the file_url_thumb addresses to the thumbnails are not created.
« Reply #3 on: October 25, 2014, 20:27:23 pm »
look in  admin - images.php
for the function that builds thumb urls
regards
A

Joomla 3.9.22
php 7.3