Hey guys,I’m trying to write a custom block that utilizes an API that pulls data off Battlelog for Battlefield. Specifically, server’s information. All seems to be good, but I want to display images for each map. The image based off what the map is called (ie, MP_Prison will display the Operation Locker image, mp_prison.jpg)Is there any way to … hard-code in the locations of the images, based on where the script is running from, without having to us a field_upload for 12 images? I have a folder that has the 12 map locations, that I would prefer to just access statically, instead of uploading it to the Media section.
Please use the search before making a post. Your question maybe be already answered!
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!