News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to change MEDIA URL

Started by awowy, April 10, 2018, 19:17:36 PM

Previous topic - Next topic

awowy

Hi

I searched the forum but only found posts about old Virtuemart versions, so

I need to change the Media Files URL but changing the "Media Files Settings" in the Configuration Templates tab area did not worked, this is what I changed:

Category Media URL: images/store/category/
Product Media URL: images/store/product/
Manufacturer Media URL: images/store/manufacturer/
Vendor Media URL: images/store/vendor/

And this is the error I get, even with new test product images:

vmError: Couldnt create thumb, file not found /homepages/41/d210098830/htdocs/2018redesign/images/store/product/images/virtuemart/product/cart_logo.jpg

As you can see the error shows that it is searching for this: /images/virtuemart/product/ inside the already changed Media URL   :o


Joomla version, 3.8.6.
VirtueMart 3.2.14

Studio 42

If you have already virtuemart medias in the DB, you have to update the old link with a mySql query or manually change all media URLs.

awowy

#2
Thanks so much, that did the trick.  8)

Fortunately I only have a couple a products and categories by now so I changed each table manually from phpMyAdmin

if it helps anyone, just edit each "file_url" from the Tables in "yourprefix_virtuemart_medias"   :)