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

Using displayMediaThumb in custom module

Started by derek webster, March 20, 2019, 17:06:12 PM

Previous topic - Next topic

derek webster

Hi There I hope this is in the correct area of the Forum,

I need to apply the displayMediaThumb function when returnin a set of products from my custom coded AJAX search. I currently only fetches images from hardcoded URLS but I need to run the imgpath thru the displayMediaThumb() function in in order to generate the coffect thumbs.

I have a custom script in the Root of my project that was build independently of VM - Can anyone tell me what includes I need at the start of this file in order to be able to access the functionality of displayMediaThumb()?

Many thanks.

Derek