VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: lostmail on April 18, 2014, 15:42:34 PM

Title: Virtuemart Table _virtuemart_medias: file_url_thumb
Post by: lostmail on April 18, 2014, 15:42:34 PM
I recognised that when i create a new product and upload an image the table "file_url_thumb" in "j25_virtuemart_medias" is not filled automatically anymore.

Now my News-Scroller stops to show the resized thumb images as the table is empty - old products with path in it aare still working - only new under 2.6 created   products have no path in file_url_thumb !!!

Why does VM not fill this table anymore ???

Please re do it !
Title: Re: Virtuemart Table _virtuemart_medias: file_url_thumb
Post by: jenkinhill on April 18, 2014, 15:46:46 PM
That field has not been autofilled since 2.0.22. See http://forum.virtuemart.net/index.php?topic=120440.msg410860#msg410860
Title: Re: Virtuemart Table _virtuemart_medias: file_url_thumb
Post by: lostmail on April 18, 2014, 17:25:05 PM
 :( bad thing....now all my scrollers donĀ“t work...upgraded from 2.018 to 2.6...

How can i modify my scroller module to show the thumbnails if $image->file_url_thumb is not possible anymore (as the database table is not filled with information) ?
Quote
helper.php(396): $html .= '<span class="VMTitle'.$this->slideid.'" style="color: '.$this->titlecolor.'; text-align: '.$this->titlealign.';">'.'<a href="'. $product_link .'" title="'.$pr->product_name.'"><img src="'.JURI::base(true).'/'.$image->file_url_thumb.'" class="VMImg'.$this->slideid.'" style="width: '.$this->imageSize.';" alt="'.$pr->product_name.'" /><br/>'.$pr->product_name.'</a></span>';
helper.php(398): $html .= '<span class="VMTitle'.$this->slideid.'">'.'<a href="'. $product_link .'" title=""><img src="'.JURI::base(true).'/'.$image->file_url_thumb.'" class="VMImg'.$this->slideid.'" style="width: '.$this->imageSize.';" alt="'.$pr->product_name.'" /></a></span>';