Author Topic: upload images to NAS  (Read 246 times)

emedina

  • Beginner
  • *
  • Posts: 38
upload images to NAS
« on: August 12, 2019, 17:49:12 pm »
Hi everybody

Anybody knows if exists any comercial plugin to upload images to a NAS?
Maybe a pluggin trigger lik VmOnImageUpload?

I need to host images in an external host: upload them and then $product->images[0]->file_url must be like = 'http://myNas.com/xxxx'

Thanks

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3978
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: upload images to NAS
« Reply #1 on: August 13, 2019, 15:22:12 pm »
Noo so easy, you cannot upload directly, so perhaps you should add a PHP code to get a copy of the file.
Another way can be to use FTP. See https://www.w3schools.com/php/func_ftp_put.asp

emedina

  • Beginner
  • *
  • Posts: 38
Re: upload images to NAS
« Reply #2 on: August 13, 2019, 17:28:38 pm »
now i'm uploading in php using ftp, but i have overrided image model

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9918
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: upload images to NAS
« Reply #3 on: August 27, 2019, 18:06:51 pm »
Consider a membership
https://extensions.virtuemart.net/support-updates/virtuemart-membership

and it will be written for you and permanently in the core.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/