Author Topic: [solved] 'Used thumb url' empty after update to 3.0.12  (Read 6225 times)

gba

  • Jr. Member
  • **
  • Posts: 164
[solved] 'Used thumb url' empty after update to 3.0.12
« on: November 16, 2015, 22:43:01 pm »
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

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7238
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.0.16
Re: 'Used thumb url' empty after update to 3.0.12
« Reply #1 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();
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gba

  • Jr. Member
  • **
  • Posts: 164
Re: 'Used thumb url' empty after update to 3.0.12
« Reply #2 on: November 16, 2015, 22:56:12 pm »
Hi!

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

Best regards,
Gerald

GJC Web Design

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7238
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.0.16
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #3 on: November 16, 2015, 22:59:39 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gba

  • Jr. Member
  • **
  • Posts: 164
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #4 on: November 16, 2015, 23:05:14 pm »
 ::)
Was just shocked, why
Code: [Select]
$product->images[0]->file_url_thumb suddenly did not work anymore  ;)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7238
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.0.16
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #5 on: November 16, 2015, 23:08:50 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kareensa

  • Beginner
  • *
  • Posts: 2
  • A beginner
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #6 on: November 24, 2015, 22:50:26 pm »
Hello.
I have lost all thumbs. Haw can i return it. All thumbs field a clearn:
http://www.papa-zoo.ru/katalog/koshki

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 8630
  • VM3 ready to take off
    • VM2 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #7 on: November 25, 2015, 10:47:22 am »
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();
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kareensa

  • Beginner
  • *
  • Posts: 2
  • A beginner
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #8 on: November 25, 2015, 12:47:10 pm »
thx, but im not programmer.  Explain please more detail :-[

gogo123

  • Jr. Member
  • **
  • Posts: 102
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #9 on: November 25, 2015, 16:59:08 pm »
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

olejenya

  • Jr. Member
  • **
  • Posts: 51
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #10 on: December 10, 2015, 07:48:54 am »
$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

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7238
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.0.16
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #11 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

olejenya

  • Jr. Member
  • **
  • Posts: 51
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #12 on: December 10, 2015, 10:58:12 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

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7238
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.0.16
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #13 on: December 10, 2015, 11:02:23 am »
depends where you use it..

could be e.g. $this->product on the details page
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

olejenya

  • Jr. Member
  • **
  • Posts: 51
Re: [solved] 'Used thumb url' empty after update to 3.0.12
« Reply #14 on: December 10, 2015, 16:00:25 pm »
depends where you use it..

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


does not work
where to see a working example?