Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

wrong url path for thumb
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: wrong url path for thumb

wrong url path for thumb 6 years, 10 months ago #25549

Hi,
after instalation SJ Saphi template I don't see any pictures in product detail in shop (/templates/sj_saphi/html/com_virtuemart/productdetails/default_images.php).

sample:
digestore-shop.rubstudio.com/digestore/sygma-vl3-nerez-halogen-900-detail

url for image is ok:
<?php echo loadImg($this->product->images[0]->file_url);?>

Image url: images/stories/virtuemart/product/1__product_images_127_02175308_det.jpg

But thumb is wrong:
$imagesrcmain = YTTemplateUtils::resize($this->product->images[0]->file_url, '500', '500', 'fill');
<img class="img-large" src="<?php echo $imagesrcmain;?>" title="" alt="" />

Thumb url: /data/www/digestore-shop.rubstudio.com/public_html/cache/sj_saphi/b0fe5925c0358c0591e102e26ec006c3.jpeg

I need cut path for thumb (/data/www/digestore-shop.rubstudio.com/public_html/cache/sj_saphi/b0fe5925c0358c0591e102e26ec006c3.jpeg) and replace with right path (/cache/sj_saphi/b0fe5925c0358c0591e102e26ec006c3.jpeg)

How can I fixit?

Thanks

Rudolf
Attachments:
  • Page:
  • 1
Time to create page: 0.78 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes