Preloading assets

Are you able to preload image assets thru strings. I am not sure since I can’t get this to work:


local module = require(game:GetService("ReplicatedStorage"):FindFirstChild("images"))
local preloadAsyncCallback = function(contentId, assetFetchStatus)
	print("PreloadAsync() content ID:", contentId)
	print("PreloadAsync() AssetFetchStatus:", assetFetchStatus)
end

if type(module) == "table" then
	for _, v in pairs(module) do
		if v.Image then
			local success, error = pcall(function()
				game:GetService("ContentProvider"):PreloadAsync(v.Image)
			end)
			if not success then
				print("Error occurred while preloading asset:", error)
			end
		end
	end
else
	print("Module is not a table.")
end

v.Image is the form “rbxassetid://123456789”