News:

Looking for documentation? Take a look on our wiki

Main Menu

[solved] 'Used thumb url' empty after update to 3.0.12

Started by gba, November 16, 2015, 22:43:01 PM

Previous topic - Next topic

gba

Hello VM community!

I noticed, that after updating from v3.0.12, Revision 9028, the 'Used thumb url' field in product images is empty.
Can anyone confirm this behavior?

'Reset Thumbs' does not work, either, just giving a notice with content:
1

Tried it on several webservers - always the same.

I'm looking forward to your response!

Kind regards,
Gerald

GJC Web Design

correct .. as there is the possibility of multiple thumbs the 'Used thumb url' field is no longer filled
and is emptied if you Reset Thumbs

http://docs.virtuemart.net/tutorials/templating-layouts/222-different-thumbnail-sizes.html

thumb can normally be returned with  I think $product->images[0]->FileUrlThumb();
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gba

Hi!

Thank you very much for that information.
Wow - great feature!
Good job VM team!  8)

Best regards,
Gerald

GJC Web Design

the laugh is that Max reckons it has always "been there"..  just that it was never really doc'd or might have needed polishing...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gba

 ::)
Was just shocked, why $product->images[0]->file_url_thumb suddenly did not work anymore  ;)

GJC Web Design

yes.. there's been quite a bit of template and extension rewriting in some cases..  was very popular in cart mods etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kareensa

Hello.
I have lost all thumbs. Haw can i return it. All thumbs field a clearn:
http://www.papa-zoo.ru/katalog/koshki

Milbo

Quote from: GJC Web Design on November 16, 2015, 22:52:45 PM
correct .. as there is the possibility of multiple thumbs the 'Used thumb url' field is no longer filled
and is emptied if you Reset Thumbs

http://docs.virtuemart.net/tutorials/templating-layouts/222-different-thumbnail-sizes.html

thumb can normally be returned with  I think $product->images[0]->FileUrlThumb();
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kareensa

thx, but im not programmer.  Explain please more detail :-[

CE WebDesign München

hi,

I'm not using "Enable Dynamic Thumbnail Resizing"

after upgrade vm2 to vm3.0.12 when saving an existing product the 'Used thumb url' of the first image is changed to "image_90x90.jpg"
how can I prevent this?
or do all thumbs have to be renamed in form of "image_90x90.jpg"?

Best regards, chris
CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

olejenya

$product->images[0]->file_url_thumb;

does not work <images src="<?php echo $base(road).$product->images[0]->FileUrlThumb();" />

Is it possible to then work with this  $image->displayMediaThumb('u="thumb"',false,'') ?? to make such a structure in the code:

<images data-src="<?php echo $base(road).$product->images[0]->file_url_thumb;" src="<?php echo $base(road).'/images/loading.gif'" /> for scripts

GJC Web Design

what's the $base(road) bit for?

$product->images[0]->FileUrlThumb();  is a function call to the $product object and returns a url
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

olejenya

Quote from: GJC Web Design on December 10, 2015, 10:47:34 AM
what's the $base(road) bit for?

$product->images[0]->FileUrlThumb();  is a function call to the $product object and returns a url
$base  = 'www.testr.com/' - This example
$product->images[0]->FileUrlThumb();  - I understand, but why it does not work and an error that does not have access to it, how to connect properly? May need to add some code something that would function work?

GJC Web Design

depends where you use it..

could be e.g. $this->product on the details page
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

olejenya

Quote from: GJC Web Design on December 10, 2015, 11:02:23 AM
depends where you use it..

could be e.g. $this->product on the details page


does not work
where to see a working example?